Developers

Telemetry sources

Connect your Prometheus-compatible metric endpoints, let Wardy query your metrics, and enrich postmortem evidence and incident-risk reasons with live data.

In the app: More › Developers › Telemetry Sources

UptimeWarden's own check history measures what is visible from the outside: response time, status codes, uptime. What your system looks like from the inside is something you already collect in a Prometheus-compatible metric store. Telemetry Sources connects the two: you add your Prometheus-compatible endpoint to your account, and Wardy, the hint on grouped alerts, postmortem drafts and risk reasons can use your own live metrics alongside the external checks.

A connected source is used in four places:

SurfaceWhat you gain
Ask WardyWardy can run read-only PromQL queries against your metrics to answer your question ("How is my API server's memory usage?").
The likely-cause hint on a grouped alertThe hint written when several monitors fail together reads the metric summaries of the last 10 minutes, compared with the 30 before them.
Postmortem evidence trailMetric summaries from the incident and from the period just before it join the postmortem draft's evidence pool, so the model can compare the value during the incident with what came before.
Incident-risk reasonsA metric that crossed its threshold is added as a concrete item to the reasons on the incident-risk card. This signal only feeds the reason list; it never changes the risk level.

Plan availability

Telemetry sources are available on the Professional and Enterprise plans. On lower plans the page shows an upgrade card.

Adding a source

Go to More › Developers › Telemetry Sources in the left menu and open the wizard with Add source:

FieldDescription
NameA free-form name you'll recognise the source by (up to 100 characters).
Base URLThe root address of the Prometheus-compatible endpoint. Besides Prometheus itself, it works with stores that speak the query_range API, such as Grafana Mimir, Thanos, and VictoriaMetrics.
AuthenticationNone, Bearer token, or Basic (username + password).
ScopeAll monitors (account-wide) or a single monitor.
Timeout1-120 seconds (default 10).
TLS verificationOn by default; disable it only as a deliberate exception.
ActiveYou can switch a source off without deleting it.

After saving, the Test connection button on the source's row verifies the connection: the system runs the up metric, present on every Prometheus installation, through the real query path and reports the latency. If the test passes, your named queries will run through the same path.

Named queries

You can define up to 5 named queries per source. Each query carries:

  • Label: describes the query in human terms ("API memory usage"). When a metric summary enters postmortem evidence or risk reasons, it appears under this label.
  • PromQL: the query to run (up to 2,000 characters).
  • Alert threshold + operator (optional): defines a bound with "greater than (>)" or "less than (<)". The threshold and the operator must be set together or left empty together.

Thresholds do not produce notifications, your alerts keep coming from your monitors. The threshold's job is to tell those features "this metric is currently outside its bound": a query whose threshold is crossed shows up as a concrete signal in incident-risk reasons and postmortem evidence.

One analysis runs at most 5 queries across all your sources; the queries of the source scoped to the incident's monitor come first.

If a query does not run (wrong PromQL, an expired credential, a timeout), the analysis is written without it and the reason appears on the source's row, on the Error: line. The line clears itself once the source answers again.

What the language model sees

Your raw time series are never sent to the language model. When a query runs, the result is first compacted into a summary, the minimum, maximum, average, and last value plus the sample count, and only that summary is passed on. Queries execute server-side at a fixed resolution (60-second step) over a bounded time window (at most 7 days).

  • Several series: when a query returns several series, the summary also gives up to 5 of them separately, with their labels, the ones that changed most first. A single average would blend, for example, the user and idle states of CPU.
  • Compared with before: in postmortems and the grouped-alert hint the same summary is also given for the period just before the incident.
  • No result: a query that returned no samples for the window is not shown to the model. It is not presented as zero.

OpenTelemetry sources

You can also add an OpenTelemetry (OTLP) source on the same page. In this model UptimeWarden doesn't query your store; your OpenTelemetry Collector sends metrics and traces to UptimeWarden. The incoming data is used on all four surfaces above; traces additionally show which request failed with which error.

Two things differ:

  • What you name is a metric, not a query. On an OpenTelemetry source this section is called Metrics to include, and an entry is the exact name of a metric, not PromQL (for example http.server.request.duration). If you name nothing, the standard request, CPU and memory metrics are used on their own.
  • Part of the data is stored. UptimeWarden keeps not everything that is sent but the part analysis reads, for three days: the metrics you named and the standard ones, failing spans, and a per-minute count of all spans.

Setup, what is stored and the limits: OpenTelemetry Telemetry Integration.

Security

  • Credentials are stored encrypted and are write-only: tokens and passwords are never returned in API responses; on the edit screen you can only enter a new value.
  • SSRF protection: source requests go through a hardened HTTP client that blocks access to internal network addresses and unencrypted HTTP endpoints. Your endpoint must be reachable from the public internet over HTTPS.
  • Read-only access: UptimeWarden only runs queries; it never writes anything to your metric store. We recommend giving the source a read-only credential.

Troubleshooting

SymptomLikely cause / fix
Test reports "connection failed"Check the base URL and credentials; make sure the endpoint is reachable from the public internet over HTTPS.
Test passes but a query returns nothingTry the PromQL in your metric store's own UI; verify the metric and label spelling. A query that returns nothing takes no part in the analysis.
There is an Error: line under the sourceIn the last analysis a query of this source did not run. The line says which query and why: renew the credential or correct the query.
A metric name is refused on an OpenTelemetry sourceAn entry there is the exact name of a metric, not a PromQL expression.
Wardy answers a metric question with "no source configured"Make sure the source is Active and the query is enabled; the integration may not be switched on for your account yet.
The page shows an upgrade cardTelemetry sources are included on Professional and above.

FAQ

Q: Is this a monitor type? A: No. Telemetry sources don't detect outages and don't send notifications; their job is to add context from your internal metrics to Wardy, postmortems and risk reasons. Keep using your monitors to watch external reachability.

Q: Which stores are compatible? A: Any store that exposes Prometheus's query_range API: Prometheus, Grafana Mimir, Thanos, VictoriaMetrics, and similar.

Q: Is my metric data stored? A: Not for a Prometheus source: query results are summarised for immediate use and UptimeWarden keeps no copy of your time series. For an OpenTelemetry source the part analysis reads is stored for three days; details are on the OpenTelemetry Telemetry Integration page.

Bu sayfayı Türkçe okuyun