Observability: metrics, logs and traces
04
Key concepts
11 min read · Chapter 4 of 10
01
Entity and identity
What is the unit of record, and how do we know it is the same one?
In telemetry the unit of identity is the resource: the service name, its version, the environment, the host, the container, the Kubernetes pod, the cloud account and region. OpenTelemetry standardizes these attribute names, and a trace adds a trace ID and span IDs that follow a request across services.
Vendors bill on entities too, and they don't agree on which entity counts:
| Billing entity | Who uses it | Rough list price (Oct 2026) |
|---|---|---|
| Host | Datadog, Splunk Observability | $15-75 per host a month, by product tier |
| Memory per host-hour | Dynatrace Full-Stack | About $58 a month for an 8 GiB host |
| User | New Relic, Grafana, incident tools | $8-349 per user a month, by role |
| Event | Honeycomb | From $150 a month for 50 million events |
| Active metric series | Grafana Cloud | About $6.50 per 1,000 series |
| Custom metric | Datadog | $5 per 100 a month |
| Gigabyte | Everyone, for logs | Cents to dollars, depending on indexing |
Containers, serverless functions and autoscaling make "how many hosts" a moving number, so vendors bill on percentiles of hourly counts or "host-equivalents". The identity most often missing is ownership. Which team owns checkout-api? That lives in a service catalog if anywhere, and an alert without an owner pages whoever happens to be on call.
"Agent" has a double meaning, often on one product page: the software on each host that collects telemetry, and an AI agent. I'd write "host agent" and "AI agent" every time. Telemetry also carries other people's identities, such as user IDs, IP addresses and emails in URLs, which is where the privacy rules come in.
02
State and lifecycle
What states exist, and what moves an entity between them?
A piece of telemetry moves through states: emitted, collected, processed, ingested, indexed or stored, tiered down, deleted. Each change of state is a pricing event, and regulators have started naming the states: PCI's card-data rules require logs to be "immediately available" for three months, and the US federal memo M-26-14 distinguishes "actively searchable" from "retrievable".
| Tier | What it means | Rough cost |
|---|---|---|
| Hot, indexed | Searchable in seconds, used by alerts and dashboards | Datadog: $1.06-2.50 per million log events, for 3-30 days |
| Warm or flex | Searchable, slower, priced separately | Datadog Flex: $0.05 per million events stored, plus compute |
| Archive | Object storage the customer often owns | About $0.02-0.03 per GB a month |
| Rehydrated | Archive pulled back into the index for an investigation or audit | A fee per GB, plus minutes to hours |
| Deleted | Retention expired, or an erasure request | Free, but hard in append-only stores |
Rehydration is fading. Since 2025, Datadog's Archive Search, Elastic's frozen tier and lakehouse engines let you query old data where it sits.
An alert goes from inactive to pending to firing, then acknowledged and resolved. An incident is detected, triaged, mitigated, resolved, reviewed and closed. Standards have states too: OpenTelemetry's traces, metrics and logs are stable, profiles reached alpha in March 2026, and the conventions for AI and LLM telemetry are still marked "Development".
The contract has states as well: free tier, annual commitment, monthly usage, overage, true-up, renewal. Seat reductions at Datadog take effect only at renewal, and overage history tends to become next year's commitment, so commitments ratchet up.
03
System of record and ledger
Who owns the truth, and how do systems reconcile?
There's no single system of record.
| Record | System of record |
|---|---|
| What happened in production (what was indexed) | The observability backend, for as long as it keeps it |
| The full log history | Often an object-storage bucket the customer owns |
| The incident timeline | The incident tool |
| Who owns each service | A service catalog, if one exists |
| What you'll be billed | The vendor's usage meter |
| Security and audit evidence | The SIEM or the log archive |
The billing ledger is the one I'd watch. The vendor's meter decides the bill, and customers rarely have an independent count. Datadog bills custom metrics on the monthly average of hourly counts, and hosts on the 99th percentile of hourly counts, so the top 1% of hours is forgiven and a week-long spike is billed. A pipeline gives the customer its own meter of what was sent, which helps in a billing dispute.
For security and compliance teams, logs are the record: PCI requires a year of audit logs, SOC 2 auditors want evidence, and a breach investigation depends on what was kept. For the reliability side the same logs are disposable signal. The two retention philosophies collide whenever one platform serves both teams.
04
Rules and policy
What logic decides outcomes, and who can change it?
Most rules in observability are ones the customer writes: what to sample, redact and index, for how long, when to alert and who gets paged. They live in collector and alerting configuration, and they decide both the bill and what an investigator will find.
SLOs matter most for signal. Google's SRE Workbook recommends paging on burn rate over two windows, so a short spike pages nobody and a real outage pages fast:
Page
- Long window
- 1 hour
- Short window
- 5 minutes
- Burn rate
- 14.4x
- Budget spent when it fires
- 2%
Page
- Long window
- 6 hours
- Short window
- 30 minutes
- Burn rate
- 6x
- Budget spent when it fires
- 5%
Ticket
- Long window
- 3 days
- Short window
- 6 hours
- Burn rate
- 1x
- Budget spent when it fires
- 10%
That's for a 99.9% target over 30 days. At a burn rate of 1,000, the whole month's budget is gone in about 43 minutes. The math breaks for low-traffic services: at ten requests an hour, one failure spends about 14% of the monthly budget, so teams add synthetic traffic, group small services or lower the target. An error-budget policy closes the loop: while the SLO is met, releases continue, and when the budget is spent, they pause.
Google's on-call guidance sets a bar few teams meet: every page actionable, at most two incidents in a 12-hour shift, and on-call capped at a quarter of an engineer's time. Vendors add their own rules (cardinality limits, rate limits, index quotas), which are product decisions about how hard to stop a customer's mistake.
05
Effective dating
Which version of the rule applied at that moment?
Everything in observability is measured over a window. Alerts evaluate over minutes, SLOs over a rolling 28 or 30 days, burn rates over 5 minutes to 3 days, and billing over hours, months and contract years. Retention clocks usually start when data arrives, so late mobile or batch data can land in the wrong window.
The meaning of a field has a date. OpenTelemetry's semantic conventions are versioned, and renames break things quietly: database spans renamed db.system to db.system.name in version 1.33.0 in 2025, and dashboards keyed on the old name stopped matching.
Dates I'd keep on a calendar as of October 2026:
| Change | Effective | Status (Oct 2026) |
|---|---|---|
| PCI DSS 4.0's future-dated requirements, including automated log review | March 31, 2025 | Live |
| Atlassian Opsgenie end of sale | June 4, 2025 | Done; support ends April 5, 2027 |
| California's cybersecurity audit rules, covering audit-log management | January 1, 2026 | Live; first certifications from April 1, 2028 for the largest businesses |
| OpenTelemetry graduates in the CNCF | May 21, 2026 | Done |
| OMB M-26-14 replaces M-21-31 for US federal logging | May 22, 2026 | Live |
| Datadog's AI SRE moves to AI credits | Around June 2026 | Live |
| FedRAMP 20x rules launched | June 25, 2026 | Mandatory January 1, 2027 |
| OpenTelemetry Governance Committee election results | October 30, 2026 | Upcoming |
| EU Data Act bans switching and egress fees | January 12, 2027 | Upcoming |
| HIPAA Security Rule update | Proposed January 2025 | Final rule targeted around July 2027; uncertain |
Take the dispatch company's commitment renewing in March. Overage from a cardinality spike in January sits in the usage history the vendor brings to the renewal, so a mistake fixed in a week can still raise next year's commitment.
06
Interfaces and standards
What format and protocol do counterparties speak?
The collection side is now mostly standard:
- OTLP, OpenTelemetry's protocol for sending traces, metrics and logs, is stable and accepted by every major vendor.
- W3C Trace Context is the
traceparentheader that carries a trace ID between services. - Semantic conventions name attributes the same way everywhere (HTTP stable since 2023, databases since 2025, AI still in development).
- Prometheus exposition format and PromQL are the de facto standard for metrics and the closest thing to a common query language; many backends accept PromQL.
The storage and query side has no standard. Logs and traces are queried in each vendor's language: LogQL and TraceQL at Grafana, SPL at Splunk, KQL at Microsoft, ES|QL at Elastic, DQL at Dynatrace, Datadog's own syntax, SQL on ClickHouse. Dashboards and alert rules are written in these languages, which is why they don't port.
Every major vendor now ships its own OpenTelemetry distribution, and the distributions recreate some lock-in. Splunk gives official support only for its own and "best-effort" support upstream. Datadog's wasn't FedRAMP or FIPS compliant when the research was done, which steers government buyers back to the proprietary agent. Tail sampling is "often tied to a specific vendor", in OpenTelemetry's own words. Datadog's FY2025 annual report doesn't mention OpenTelemetry at all; it sells "a single agent" with over 1,000 integrations. Its price list charges $0.50 per GB for spans ingested over OTLP against $0.10 for its own APM ingestion, and application metrics sent through OpenTelemetry generally count as custom metrics.
Vendors are also giving their collection technology away, which is what you do once collection stops being where you make money: Elastic donated its eBPF profiler and Grafana its Beyla. For AI, two newer interfaces matter. MCP lets AI agents query observability tools, and Datadog said MCP tool calls grew more than 22-fold from late 2025 to mid-2026 (company figure). GitHub issues and pull requests are the hand-off between observability AI and coding agents.
07
Networks and counterparties
Who sits between us and the outcome, and what do they want?
| Party | What they control | What stops if they fail |
|---|---|---|
| App teams | What gets instrumented, log levels, labels | Telemetry quality; the bill, through cardinality and verbosity |
| Platform or observability team | Collectors, pipelines, budgets, vendor choice | Collection, sometimes for everyone |
| Observability vendor | Storage, query, alerting, pricing units | Visibility during incidents |
| Pipeline vendor | Routing, sampling, redaction | Data to every destination at once |
| Cloud provider | Compute, network charges, default tools, marketplace billing | Everything running on it |
| Incident tool | Paging, escalation, incident records | Waking the right person |
| Security team and SIEM | Detection rules on the same logs | Security monitoring |
| AI agent vendors | Read access to telemetry, sometimes write access to code | Automated investigation |
Concentration runs both ways. Datadog's largest customer, widely reported to be OpenAI, renewed at nine figures in 2026 but is cutting usage from July, and Datadog built that into its guidance. Coinbase's roughly $65 million a year Datadog bill was restructured in 2023 after Coinbase built a parallel open-source stack. The biggest customers can credibly leave, and the threat works best at renewal.
The pipeline is the new switching point. Whoever owns it decides which backend gets which data, which is why security and observability vendors have both bought pipelines since 2025.
I'd write down early which single failure blinds us during an incident. For many teams it's the collector tier: in OpenTelemetry's 2026 survey of collector users, 23% didn't monitor their collectors at all.
08
Regulatory layering
Jurisdiction × activity × entity type: is it a license or a certification?
Observability has no licensing regime. Nobody needs permission to collect or store telemetry, and no regulator supervises observability vendors as such. Rules reach this industry through four other doors.
Data inside telemetry
- What it covers
- GDPR and CCPA for personal data, HIPAA for health data, PCI DSS for card data
- Binds
- The customer as controller; the vendor as processor by contract
- Enforced by
- Data protection authorities, the FTC and states, card networks through acquirers
The buyer
- What it covers
- FedRAMP for US federal agencies, OMB logging memos, SEC disclosure for listed companies
- Binds
- Vendors selling to those buyers; the buyers themselves
- Enforced by
- Agencies, auditors, the SEC
The market
- What it covers
- EU Data Act switching rules, competition review of deals
- Binds
- Vendors
- Enforced by
- The EU, competition authorities
Attestation
- What it covers
- SOC 2, ISO 27001
- Binds
- Vendors, as a sales requirement
- Enforced by
- Customers' procurement teams
GDPR and CCPA don't mention logs; they apply because logs carry IP addresses, user IDs, emails and tokens. SOC 2 is a contract artifact with no legal force, and in practice it's the report every vendor is asked for first.
The test I'd use on any requirement: is it about the data, the buyer or the vendor? Data rules follow the data into every tool, buyer rules only matter if you sell to that buyer, and vendor rules mostly live in contracts.
09
Exceptions and reversals
What goes wrong, and how is it undone?
| Exception | The way back | Clock |
|---|---|---|
| Data needed from the archive | Rehydrate into the index, or query in place | Minutes to hours, plus fees |
| Sampled or dropped data | None; it's gone | Never |
| Cardinality or log spike on the bill | Ask for a one-time credit; vendors sometimes grant one | A negotiation |
| Bad deploy | Roll back, the most common mitigation | Minutes |
| Alert flapping or false pages | Tune the rule or move to SLO burn rates | Weeks |
| Postmortem actions not done | Track them; Google says an unreviewed postmortem "might as well never have existed" | Next incident |
| Legal hold or security investigation | Freeze deletion | Until released |
| Forced tool migration | Move off Opsgenie (support ends April 5, 2027) or Grafana OnCall open source (archived March 24, 2026) | Months |
Rules reverse too. The US federal logging memo M-21-31 was rescinded on May 22, 2026, a federal court struck down part of HHS's guidance on tracking technologies in 2024, and the HIPAA Security Rule update has stalled. Product reversals follow public pressure: after the Storm-0558 intrusion in 2023, which agencies could only detect with logs from a premium tier, Microsoft gave standard customers more than 30 log types at no extra cost.
10
Liability allocation
When it fails, who pays?
The customer carries most of the risk in observability, and the contracts say so.
| Failure | Who pays first | How |
|---|---|---|
| Bill shock from a spike | The customer | Usage is billable by contract; credits are a goodwill gesture |
| Vendor outage | The customer, in lost visibility; the vendor, in credits and lost usage revenue | SLA service credits, the "sole and exclusive remedy" |
| Missed alert leads to an outage | The customer and its users | Nothing in the vendor's contract covers it |
| Personal data logged | The customer as controller | GDPR fines land on the controller, not the logging tool |
| Privileged host agent crashes machines | Customers and insurers, then the vendor if negligence is proven | Liability caps, tested in court |
| AI agent's wrong suggestion | The customer, through the human who approved it | Vendors' terms don't accept liability for remediations |
The SLAs are short. Grafana Cloud promises 99.5% of requests succeed each month and credits 10% to 100% of the affected service's monthly fee as availability drops; it also covers alert evaluation, so a missed alert is contractually defined there. New Relic targets 99.8%, with termination as the remedy if it misses badly two months running, and I found no public Datadog SLA to compare.
Datadog's own outage on March 8, 2023 shows the vendor side. A security update auto-applied across its nodes knocked out networking, and the company said it lost about $5 million of revenue, because under usage pricing it couldn't bill for data it couldn't ingest. Customers were blind for most of a day and got credits at best.
CrowdStrike's July 2024 outage is the extreme case for any privileged host agent, which observability agents are becoming as they take on security work. One estimate put direct losses to Fortune 500 companies at $5.4 billion, and CrowdStrike says its liability cap limits its exposure to "single-digit millions". A court let Delta's negligence claims proceed in May 2025.