OpenTelemetry
Connect your OpenTelemetry Collector to UptimeWarden: send metrics and traces over OTLP and add evidence from your own telemetry to incident analysis and postmortems.
Your OpenTelemetry Collector sends metrics and traces to UptimeWarden. UptimeWarden uses them as evidence when an incident happens: which metric changed at that moment, which requests failed and with what error.
UptimeWarden is not an observability store. It does not keep everything you send; it keeps the part incident analysis reads, for three days. What that is, is in What is stored? below.
How it works
With a Prometheus source, UptimeWarden queries your store. With an OpenTelemetry source the direction is reversed: your Collector sends the data, and UptimeWarden never connects to your infrastructure.
sequenceDiagram
participant App as Your application
participant Col as OpenTelemetry Collector
participant UW as UptimeWarden
participant AI as Incident analysis
App->>Col: metrics + traces
Col->>UW: OTLP/HTTP (with an ingest key)
UW->>UW: keep what analysis will read (3 days)
Note over UW,AI: when an incident happens
AI->>UW: read the incident and the period before it
AI-->>App: evidence-backed hint and postmortem
Setup
1. Create the source
In the left menu go to More › Developers › Telemetry Sources, open the wizard with Add source and choose OpenTelemetry as the source type. This type needs no Base URL.
You can scope the source to one monitor or leave it account-wide. An account-wide source's data is used for incidents on all your monitors; a source scoped to a monitor is used for that monitor's incidents only.
2. Create an ingest key
Under the source, in Ingest keys, create a key with New key. The token is shown once only, in the Save this token dialog; store it somewhere safe. It starts with uwotel_.
3. Configure your Collector
The Collector setup box in the same section shows the address your Collector points at and a ready configuration you can copy (Collector configuration):
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
processors:
batch: {}
exporters:
otlp_http/uptimewarden:
endpoint: https://app.uptimewarden.online/api/telemetry-sources/otlp
headers:
Authorization: "Bearer ${env:UPTIMEWARDEN_OTEL_TOKEN}"
service:
pipelines:
metrics:
receivers: [otlp]
processors: [batch]
exporters: [otlp_http/uptimewarden]
traces:
receivers: [otlp]
processors: [batch]
exporters: [otlp_http/uptimewarden]
Set the UPTIMEWARDEN_OTEL_TOKEN environment variable to your ingest key. The exporter appends /v1/metrics and /v1/traces to the address itself. On older Collector releases the exporter is named otlphttp.
Requests may be gzip-compressed. Both application/x-protobuf and application/json are accepted. The metrics and traces pipelines are independent; you can send only one of them.
4. Name the metrics to read (optional)
When editing the source, Metrics to include lets you name up to 5 metrics. An entry is the exact name of a metric, not PromQL; for example http.server.request.duration.
If you name none, the source still works: the standard metrics are stored and used on their own. Once you name metrics of your own, analysis reads your choices instead of the standard ones.
What is stored?
| What you send | Stored | Not stored |
|---|---|---|
| Metrics | The metrics you named and the standard metrics | Every other metric. The request is accepted; these metrics are not written. |
| A data point | Its time and value; for histograms the count, sum, minimum and maximum | Histogram buckets |
| Failing spans | Name, service, status message and the attributes that explain the failure: HTTP status code, exception type and message, database system, peer address | The span's other attributes: user agent, client address, SQL text and the like |
| Healthy spans | Only their count: per service, minute by minute | The spans themselves |
The standard metrics are those whose name starts with one of the following. Names written with underscores instead of dots (such as http_server_request_duration_seconds) match too.
- Requests:
http.server.request.duration,http.server.duration,rpc.server.duration,http.server.active_requests,http.client.request.duration,http.client.duration,messaging.process.duration - Database:
db.client.operation.duration,db.client.connection.count,db.client.connections.usage - Resource usage:
system.cpu.utilization,process.cpu.utilization,container.cpu.utilization,k8s.pod.cpu.utilization,system.memory.utilization,process.memory.usage,jvm.memory.used,system.filesystem.utilization
Everything stored is deleted after three days. This is the same on every plan.
Where your data is used
| Surface | What it reads |
|---|---|
| The likely-cause hint on a grouped alert | As the alert goes out, the last 10 minutes compared with the 30 before them: metric summaries, the error rate and the failing requests. |
| The postmortem draft | The incident and the period just before it (as long as the incident; at least 15 and at most 60 minutes): metric summaries, the error rate and the failing requests, with how often they occurred and when they first started. |
| Incident-risk reasons | The last hour: metrics past their threshold and the trace error rate. Added to the list of reasons; it does not change the risk level. |
| Wardy | When you ask, a stored metric by its name. |
When a metric carries several series (for example the user and idle states of CPU), the summary gives the series separately. A metric with no data in the window is left out of the evidence; it is not shown as zero.
If telemetry cannot be read, the analysis is still written, only without telemetry evidence. Telemetry does not delay an alert or a postmortem.
Limits
| Limit | Professional | Enterprise |
|---|---|---|
| Rows stored per account per day (data points + failing spans) | 2,000,000 | 20,000,000 |
| Distinct metric series per source | 2,000 | 20,000 |
| Requests per minute per source | 120 | 600 |
| Data points per request | 5,000 | 50,000 |
| Spans per request | 2,000 | 20,000 |
| Active ingest keys per source | 5 | 25 |
At most 500 failing spans are stored from one request; the rest are counted but not written. A request body cannot exceed 8 MB.
When a limit is reached:
- Requests per minute: the request is refused with
429; the Collector retries. - Data points or spans per request: the request is refused with
413. Reduce the batch size in your Collector. - Daily quota or series limit: the request is accepted but the data is not stored. A partial-success message appears in your Collector's log, and the reason is written under the source on the Telemetry Sources page, on the Error: line. The daily quota resets at 00:00 UTC.
If the telemetry feature is temporarily switched off on the platform side, ingestion stops as well; when it is switched back on, your Collector carries on sending.
Security
- Ingest tokens are stored only as a hash; the plain text is not kept.
- A token is bound to one source. The data sent cannot choose which source it is written to.
- You can revoke a key at any time under Ingest keys; revocation takes effect immediately.
- No raw data goes to the language model; only the summaries above do, and sensitive values are masked before they are sent. Details: PII Redaction.
Frequently asked questions
Q: Can I send all my telemetry? A: You can; only the part in What is stored? is written, the rest is discarded. To avoid needless traffic you can use a filter in your Collector that forwards only the relevant metrics.
Q: Do I have to send traces? A: No. You can send only metrics or only traces.
Q: Can I see the data I sent? A: There is no screen that shows the raw data. The data appears in the analyses that are written. In a postmortem's Evidence section, clicking a citation opens the evidence line it rests on.
Q: What happens if I regenerate the postmortem of an incident older than three days? A: The evidence read when the draft was first generated is stored with the draft and stays. A draft regenerated after three days cannot read OpenTelemetry data, because that data has been deleted.
Q: Do counters break when my application restarts? A: No. Ever-increasing counters and cumulative histograms are read as the difference between exports; a restart is accounted for.
Related topics
- Telemetry Sources: connecting Prometheus-compatible stores, and the shared settings
- Postmortem Workflow: the evidence trail and citations
- Smart Alert Grouping: the likely-cause hint on a grouped alert
- Developer Quickstart