For security reasons, passwords are never included in the API response.
Explore documentation
Lists databases monitored by a collector
Returns a list of databases currently being monitored by the specified collector.
URL parameters
The unique identifier of the collector.
Headers
Bearer $TOKEN
Returns the databases the collector monitors.
Response body
Invalid or missing authentication token.
A collector with the specified ID was not found.
Response attributes
The ID of the database, the same ID the collector targets endpoints use.
Always collector_database.
The database type: postgres, pgcat, pgbouncer, mysql, redis, mongodb, memcached or elasticsearch.
The hostname or IP address of the database.
The port of the database.
The username used to connect, or null when none is set.
The connection status: pending, up, unreachable, down, invalid_credentials, configuration_required, disabled or removed.
The SSL mode for PostgreSQL and its connection poolers, disable, require or verify-ca, or null when not set.
The TLS mode for MySQL, false, true, skip-verify or preferred, or null when not set.
The service the database is grouped under, discovered by the collector or taken from the first label of the hostname, or null when there is none.
The container the database runs in, or null when it wasn't discovered in a container.
Whether the collector discovered the database automatically rather than a user adding it.
Example Request