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.
Endpoint and authentication
Section titled “Endpoint and authentication”The cloud-hosted endpoint is:
GET https://api.superglue.cloud/v1/metricsSend 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.
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.
Connect your collector
Section titled “Connect your collector”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-keySee the Prometheus configuration reference for the complete scrape configuration.
The OpenTelemetry Prometheus receiver accepts the same scrape configuration. Add it to your existing metrics pipeline and use the exporter configured for your observability backend.
receivers: prometheus: config: scrape_configs: - job_name: superglue scheme: https metrics_path: /v1/metrics static_configs: - targets: ["api.superglue.cloud"] authorization: type: Bearer credentials_file: /etc/otelcol/secrets/superglue-api-key
service: pipelines: metrics: receivers: [prometheus] exporters: [otlp]The otlp exporter must already be configured for your backend. See the OpenTelemetry Prometheus receiver for supported configuration and deployment considerations.
Available metrics
Section titled “Available metrics”| 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.
Run count
Section titled “Run count”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 |
Run duration
Section titled “Run duration”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.
Useful queries
Section titled “Useful queries”Throughput by source
Section titled “Throughput by source”sum by (source) (increase(superglue_runs_total[5m]))Failure ratio
Section titled “Failure ratio”sum(increase(superglue_runs_total{status=~"failed|aborted"}[5m]))/clamp_min(sum(increase(superglue_runs_total[5m])), 1)Scheduled run failure
Section titled “Scheduled run failure”increase(superglue_runs_total{source="scheduler",status="failed"}[15m]) > 0Slow API runs
Section titled “Slow API runs”superglue_run_duration_seconds_p95{source="api"} > 10When an alert fires, open Runs to inspect the affected execution, its step results, and the recorded failure.