Headers
Bearer $TOKEN
Returns a single collector target by ID.
Headers
Bearer $TOKEN
Returns the target.
Response body
The target was not found, or belongs to a different collector or team.
Response body
Response attributes
The ID of the target.
Always collector_target.
The target type: postgres, pgcat, pgbouncer, mysql, redis, mongodb, memcached, elasticsearch, nginx, apache, kafka, node_exporter, prometheus, traefik or kube_state_metrics.
The hostname or IP address of the target.
The port of the target, or null when not set, present for every kind except prometheus.
The service name of the target, present only for nginx, apache, kafka, prometheus and traefik.
The IP address the process listens on, or null when not set, present only for nginx, apache, kafka and traefik.
The full scrape URL, or null when not set, present only for prometheus.
The connection scheme, http or https, present only for elasticsearch.
The username used to connect, or null when not set, present only for postgres, pgbouncer, mysql, redis, mongodb, memcached and elasticsearch.
The SSL mode, disable, require or verify-ca, or null when not set, present only for postgres and pgbouncer.
The TLS mode, false, true, skip-verify or preferred, or null when not set, present only for mysql.
The connection status: pending, up, unreachable, down, invalid_credentials, configuration_required, disabled or removed.
Whether the target is enabled, false when its status is disabled.
The container the target runs in, or null when it wasn't discovered in a container.
When the target was created, as an ISO 8601 date-time in UTC.
When the target was last updated, as an ISO 8601 date-time in UTC.
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.