Property

postgres_exporter

Prometheus PostgreSQL exporter (postgres_exporter). The crawler reads its /metrics page, which doesn't require authentication, for the versions and the names of the databases and tables. The template databases are left out, and the "postgres" database is only kept when it has tables. A database or table name that matches a ransom note adds the "compromised" tag.

Property Name Type Description Required
databases array of PostgresExporterDatabase Databases and their tables, sorted by name. At most 100 databases, 200 tables per database and 1000 tables in total.
postgres_up boolean Whether the exporter could connect to the PostgreSQL server.
postgres_version string Version of the PostgreSQL server, ex: 18.6.0
truncated boolean Set when there were more databases or tables than the limits.
version string Version of the exporter, ex: 0.20.1

PostgresExporterDatabase

Property Name Type Description Required
name string Name of the database. Yes
tables array of PostgresExporterTable Tables of the database, sorted by name. The exporter only lists the tables of the databases it connects to. Yes

PostgresExporterTable

Property Name Type Description Required
name string Name of the table, prefixed with the schema unless it is "public". Yes
rows integer Estimated number of live rows.



↑ TopSearch Queries
SearchPostgres exporters
product:"Prometheus Postgres Exporter"
SearchPostgres exporters with a compromised database
product:"Prometheus Postgres Exporter" tag:compromised

↑ TopExample
{
    "version": "0.20.1",
    "postgres_up": true,
    "postgres_version": "18.6.0",
    "databases": [
        {
            "name": "shop",
            "tables": [
                {
                    "name": "customers",
                    "rows": 1520
                },
                {
                    "name": "orders",
                    "rows": 8312
                }
            ]
        }
    ]
}