Prometheus Public API

Sysdig has a Prometheus-compatible API, giving users programmatic access to their metrics outside the UI.

Prometheus API Endpoint Support in Sysdig Monitor

Sysdig Monitor exposes a subset of the Prometheus HTTP API, allowing users to query and ingest metrics using familiar Prometheus-compatible endpoints. The table below outlines which endpoints are currently supported, along with their required permissions.

EndpointPathSupportedRequired Permission
Instant Query/prometheus/api/v1/querymetrics-data.read
Range Query/prometheus/api/v1/query_rangemetrics-data.read
Series Query/prometheus/api/v1/seriesmetrics-data.read
Labels Query/prometheus/api/v1/labelsmetrics-data.read
Label Values Query/prometheus/api/v1/label/{labelName}/valuesmetrics-data.read
Metric Metadata/prometheus/api/v1/metadatametrics-data.read
Rules/prometheus/api/v1/rulesalerts.read
Alerts/prometheus/api/v1/alertsalerts.read
Remote Write Ingestion/prometheus/api/v1/writeingest.prws
Format Query/prometheus/api/v1/format_query
Parse Query/prometheus/api/v1/parse_query
Query Exemplars/prometheus/api/v1/query_exemplars
Targets/prometheus/api/v1/targets
Target Metadata/prometheus/api/v1/targets/metadata
Alertmanagers/prometheus/api/v1/alertmanagers
Config/prometheus/api/v1/status/config
Flags/prometheus/api/v1/status/flags
Runtime Information/prometheus/api/v1/status/runtimeinfo
Build Information/prometheus/api/v1/status/buildinfo
TSDB Stats/prometheus/api/v1/status/tsdb
WAL Replay/prometheus/api/v1/status/walreplay
Snapshot/prometheus/api/v1/admin/tsdb/snapshot
Delete Series/prometheus/api/v1/admin/tsdb/delete_series
Clean Tombstones/prometheus/api/v1/admin/tsdb/clean_tombstones
Active Notifications/prometheus/api/v1/notifications
Live Notifications/prometheus/api/v1/notifications/live

Access Next Gen API Docs

For further detail regarding API usage, Access Next Gen API docs.