Skip to content

Metrics & Telemetry

superglue exposes organization-scoped run metrics in the Prometheus text exposition format. Scrape the endpoint with Prometheus directly, or use the Prometheus receiver to send the same metrics through an OpenTelemetry Collector.

The cloud-hosted endpoint is:

GET https://api.superglue.cloud/v1/metrics

Send a superglue API key as a bearer token. The key’s organization determines which runs are included, and its identity must have the admin or member base role.

Terminal window
curl "https://api.superglue.cloud/v1/metrics" \
-H "Authorization: Bearer $SUPERGLUE_API_KEY"

The response uses text/plain; version=0.0.4; charset=utf-8. Enterprise and self-hosted API hosts may vary; replace api.superglue.cloud with the host configured for your deployment.

Store the API key in your secret manager and mount it as a file where possible. The file should contain only the API key.

scrape_configs:
- job_name: superglue
scheme: https
metrics_path: /v1/metrics
static_configs:
- targets: ["api.superglue.cloud"]
authorization:
type: Bearer
credentials_file: /etc/prometheus/secrets/superglue-api-key

See the Prometheus configuration reference for the complete scrape configuration.

Metric Type Measures
superglue_runs_total Counter Completed runs in retained run history, grouped by status and source
superglue_run_duration_seconds_p95 Gauge p95 end-to-end duration for completed runs in the trailing five minutes

Both metrics are scoped to the API key’s organization. Responses are cached for up to 10 seconds.

superglue_runs_total includes runs with success, failed, or aborted status.

Label Values
status success, failed, aborted
source api, frontend, agent, scheduler, mcp, cli, tool-chain, webhook

superglue_run_duration_seconds_p95 is calculated from completed runs in the previous 300 seconds. It exposes the same source values and a fixed window="300s" label. A source with no completed run in that window has no time series.

sum by (source) (increase(superglue_runs_total[5m]))
sum(increase(superglue_runs_total{status=~"failed|aborted"}[5m]))
/
clamp_min(sum(increase(superglue_runs_total[5m])), 1)
increase(superglue_runs_total{source="scheduler",status="failed"}[15m]) > 0
superglue_run_duration_seconds_p95{source="api"} > 10

When an alert fires, open Runs to inspect the affected execution, its step results, and the recorded failure.