Attribute
o11y.tenant.id
type string sensitivity internal cardinality unbounded stability development
Tenant identity. Resource form is permitted only for single-tenant-per-deployment topologies; in shared services it is a span or log attribute propagated via baggage. Never a metric label.
Unbounded cardinality
An unbounded attribute must not be a metric label. The registry check libo11y_unbounded_metric_label rejects any metric group that references it.
01Examples
"tenant-8231"
02Used by
| Group | Requirement | Signals | Source | Role |
|---|---|---|---|---|
| Resource Tier 3 (opt-in) | opt-in | traces logs | option | descriptive |
03Generated keys
go · github.com/jamesainslie/libo11y/go/spec
spec.TenantIDKey
// attribute.Key = "o11y.tenant.id"ts · @libo11y/spec
import { ATTR_TENANT_ID } from "@libo11y/spec";