OpenTelemetry semantic conventions

OpenTelemetry semantic conventions give every codebase the same names for operations and data, so dashboards, alerts and cost controls work across teams. This page explains how to adopt, roll out and enforce them.

On this page

Why OpenTelemetry semantic conventions decide whether dashboards and alerts hold up

When several teams instrument their services, one may record the HTTP status as status, another as http.response.status_code, and a third as a custom field. Dashboards then show partial data, alerts miss failures, and queries need a different filter for each service. OpenTelemetry semantic conventions solve this by defining common names for operations, resources and data, so telemetry from different codebases, libraries and platforms can be correlated and analyzed the same way. A platform team needs them as soon as more than one team or language emits telemetry into shared backends, and before alert rules and dashboards are written against attribute names that will be hard to change later.

OpenTelemetry is vendor-neutral and is not an observability backend. It generates and collects telemetry, and storage and visualization are handled by separate tools. That means conventions shape the data before any storage tool sees it. The Collector is the natural place to check and adjust that shape, because every signal passes through it on the way out. Before a rollout, confirm which convention version each SDK, library and auto-instrumentation package emits, since names for the same operation can differ between releases. The OpenTelemetry semantic conventions documentation is the reference to check those names against.

Treat attribute naming as a platform decision with an owner, not as a per-team preference. Agree on the convention version in use, list the attributes your dashboards and alerts depend on, and check those attributes in a test environment before production traffic arrives. Ask your team or partner to show which attributes will be renamed or dropped, how mixed versions will be handled during migration, and how the Collector will report or correct non-conforming data. Hypothetical example: if a checkout alert filters on one HTTP attribute name, a service still emitting an older name will silently disappear from that alert until the mismatch is found.

How adoption differs for new services, existing instrumentation and mixed estates

Greenfield services are the cheapest place to adopt semantic conventions, because no dashboards, alerts or saved queries depend yet on names that someone invented. The main risk is not technical. It is that each team picks its own spelling for the same concept, such as a service name in one attribute here and a differently named attribute there, and the inconsistency only shows up when a platform team tries to build one dashboard across services. The first action is to agree a short attribute standard, based on the stable conventions for the signals and languages in use, before the first service ships.

  • Pick the convention set up front: Decide which stable convention groups apply to HTTP, database, messaging and resource attributes, and write down the choice.
  • Set resource attributes at deployment: Service name, namespace and environment are the attributes queries rely on most, so set them through the SDK or deployment configuration rather than leaving each team to remember them.
  • Use the SDK defaults where they match: Instrumentation libraries that already emit convention-compliant names save work. Check their emitted names against your standard instead of renaming them by hand.
  • Record the standard in a shared location: Store the attribute list next to the service template so new services inherit it without a review meeting.
  • Check one trace end to end before launch: Confirm the attribute names in a real trace and the matching metric before the service goes to production.

Before launch, confirm that a query written against one new service also returns results for the next one without edits.

Which enforcement options fit which team structure

This table compares four ways to enforce semantic conventions: written guidelines with review, shared SDK configuration, Collector processors using OTTL, and CI checks. Read each row for when the option fits, what it cannot catch, and who keeps it working, then combine options to match how your teams are organized.

OptionFits whenCannot catchMaintained by
Naming guidelines and code reviewFew teams and services, with reviewers who know the conventions wellAttributes that reviewers miss, or names that drift after mergePlatform or observability lead, plus each team's reviewers
Shared SDK configuration and instrumentation librariesMany teams use the same languages and frameworks and need one default set of attributesCustom attributes added inside application code, or teams that bypass the shared libraryPlatform team that owns the internal library and its release cycle
Attribute renaming or dropping in Collector processors using OTTLLegacy or third-party telemetry must be normalized before it reaches back endsBad names at the source, and attributes already stored before the rule was addedCollector owners, who keep the configuration in version control
Schema or validation checks in CITeams want a failing build when telemetry names or types break agreed rulesRuntime behavior in production, and conventions that are not encoded in the checkEach team's pipeline, with a shared check definition owned by the platform group

How telemetry flows from services through the Collector to backends

The flow starts in applications and libraries, which emit traces, metrics and logs with attribute names taken from the semantic conventions. An agent Collector next to each service forwards data to a gateway Collector, where the enforcement point sits: renaming, dropping and validating attributes before anything leaves your controlled network. The gateway then sends each signal to its own backend. Check that every hop from the service to the gateway is authenticated, and that the gateway is the only path to backends.

Telemetry path from services to backends, with the enforcement point at the gateway.

How to roll out semantic conventions in your organization

This sequence moves a mixed set of service-specific attribute names onto one agreed naming standard, enforced at the SDK and the Collector, and proves the change with queries that your dashboards and alerts depend on. Each step ends with a check you can rerun.

  1. Inventory attribute names by service

    Platform engineering and service owners export the attribute keys their services emit for traces, metrics and logs, including custom keys added by teams. Group them by service and by signal, and flag names that duplicate a standard meaning under a different key, such as a home-grown host name field next to the convention's host attribute. Keep the export in version control so later comparisons are repeatable. The step is done when every production service has an inventory and an owner has signed off on it.

  2. Choose the convention version and signals

    Decide which semantic conventions version the organization will pin, and which signals it covers first. Check the stability status of each convention group in the official documentation before pinning, because some areas are stable while others are still changing. Record the pinned version, the signals in scope and the reason for each choice in a short decision record. The step is done when the record names a version and the groups that depend on it are listed.

  3. Write an internal naming standard

    Write a short internal standard that adopts the official attributes as the default and defines only the extensions your organization needs, such as business domain or tenant identifiers. Use a prefix or namespace for custom keys so they cannot collide with future official names. Name a standard owner who approves additions. The step is done when the document lists every custom attribute, its type, allowed values and the service that sets it.

  4. Update shared SDK and library configuration

    Move shared instrumentation settings into one internal library, starter or configuration file so that teams inherit the same resource attributes and naming rules rather than setting them by hand. Pin the convention version in that shared layer. Test the change in a staging service and compare the emitted attribute keys with the inventory from step one. The step is done when a sample service emits only the agreed keys for the shared resource and span attributes.

  5. Add Collector mapping and validation

    Configure the Collector to rename legacy keys to the standard names during the transition and to reject or flag telemetry that uses unapproved keys. Attribute processing is written in the Collector's transformation language and tested against sample payloads before rollout. Keep the mapping in version control next to the pipeline configuration. Because the Collector sits between sources and backends, it can enforce the standard for services that have not yet been updated. The step is done when a test payload with a legacy key comes out with the standard key and an unapproved key is reported in the Collector's logs or metrics.

  6. Verify with dashboard and alert queries

    Pick a set of production dashboards and alert rules that depend on attribute names, and rewrite them to the standard keys during the transition. Run the original query against the old data and the new query against the new data for the same time window, then confirm that results match within expected variation. Document any query that changes meaning and fix it before cutover. The step is done when each critical dashboard panel and alert returns the same result before and after the change.

  7. Enforce the standard and review changes

    Add a review gate so that new attributes and version bumps pass through the standard owner, and track the count of legacy keys still arriving at the Collector until it reaches zero. Schedule a periodic re-inventory to catch drift from new libraries or vendor agents. Tell teams how to request an extension. The step is done when a repeat inventory shows no unapproved keys in the services that are in scope and the review process has been used at least once for a real change.

How stable convention versions roll out without breaking dashboards

Semantic convention changes reach dashboards and alerts through code, Collector configuration and release schedules at the same time. The cards below cover the parts that have to move together so a version change does not silently empty a panel or mute an alert.

Read stability per attribute and signal

Stability is labeled per attribute and per signal, so a stable HTTP attribute and an experimental database attribute can sit in the same span. Before you write queries, export the attribute list your SDKs emit and check each name against the convention documentation for its signal. Treat experimental names as ones that may be renamed and keep them out of alert conditions where you can. Ask each language team which convention version their SDK and auto-instrumentation default to.

Semantic conventions docs

Expect renamed attributes across versions

A new convention version can rename or restructure an attribute, so a dashboard filtering on the old key stops matching without any error. Renames are the most common cause of panels that go blank after an upgrade, and they fail quietly because the data still arrives. Keep a written map from each old attribute name to its replacement for every dashboard and alert you own, and review that map each time an SDK or instrumentation library changes.

Dual-emit during the transition window

Dual emission means producing both the old and the new attribute names for the same measurement until every consumer has moved. It keeps existing dashboards working while new queries are built and tested. The cost is higher telemetry volume and duplicated series, so set an explicit end date for the old names. Confirm which opt-in settings your SDK version uses to enable the new names, because defaults differ between languages.

Pin convention versions in SDKs and Collector

Pin the SDK, instrumentation library and Collector versions in source control instead of floating to the latest release. A Collector build that processes attributes with OTTL expressions can reference names that a newer convention has removed, so the Collector configuration must be tested against the same convention version as the code. Record the pinned versions in the repository so an incident responder can see what each service emits.

Update dashboards and alerts with the code

Dashboards, alert rules and recording rules should change in the same pull request as the instrumentation that emits the new names. Store them as code so reviewers can see the attribute change alongside the query change. Run each alert against a staging stream that carries both old and new names, and confirm it fires on a known test condition. Assign an owner to each dashboard so someone is responsible for the update when the convention moves.

Tie changes to a release calendar

Collector releases ship on their own cadence, for example v0.161.0 on September 16, 2026 and v0.163.0 on October 16, 2026, so a convention change may land in a build you have not tested. Schedule convention upgrades as explicit release tests with a named owner, a staging soak period and a rollback plan. Add each planned change, its affected dashboards and its end date for old names to the upgrade calendar your platform team already keeps.

Collector releases

What teams ask before rolling out semantic conventions

How much effort does a semantic conventions rollout take?

The effort depends on how many services, languages and custom instrumentation points you have, not on the conventions themselves. Effort rises with the number of services and teams that emit telemetry, with the number of languages whose instrumentation libraries you must check, and with any custom spans, metrics or log fields your developers wrote by hand. Each one needs its attribute names compared against the spec and corrected. The backend matters too, because every dashboard, alert and saved query that reads an old name must be found and updated. Ask any partner for a written inventory of these four counts before accepting a quote, and confirm the scope of each count with your own teams.

Can our internal team roll out semantic conventions without outside help?

Yes, a team with working knowledge of OpenTelemetry can do it, provided it has clear ownership and time to finish the inventory. The spec is published on the official site, and the work is mostly systematic: list the attributes in use, map them to the current conventions, change the instrumentation and update the queries. Teams usually struggle with coordination rather than knowledge, because application teams own the code and platform teams own the dashboards. An outside partner adds value when many teams are involved, when you need evidence for an audit, or when the internal team has no spare capacity. Before deciding, read the OpenTelemetry semantic conventions documentation with the team that would own the work.

What does the rollout need from our teams?

It needs three things: a named owner for the attribute naming standard, an inventory of dashboards and alerts that read telemetry, and agreed change windows for each affected service. The owner decides which convention version to adopt and resolves conflicts between teams. The dashboard inventory lists every panel, alert rule and saved query along with the attribute names it uses, so nothing breaks silently. Change windows are needed because instrumentation changes ship with application releases, and telemetry gaps can occur during the switch. Ask your partner or internal lead to produce this inventory first, since it shapes the rest of the plan.

How do we handle dashboards that break during a convention version change?

Plan for dual naming during the transition so that old and new attribute names are both queryable for a set period. The usual approach is to emit both names where the instrumentation allows it, update dashboards and alerts to read the new name, then remove the old name once every consumer has moved. Keep a list of which panels and alerts depend on which names, so each change can be verified against it. Test alerts after the change, because a rule that silently matches nothing is a common failure. Confirm with your backend vendor how it handles renamed attributes, and check the exact stability status of each convention in the spec before you rely on it.

Do semantic conventions alone control telemetry cost?

No. Consistent names make cost easier to control, because you can filter, group and drop data by a known attribute, but the conventions do not decide what is collected or how much. Volume is driven by sampling choices, log verbosity, high-cardinality attributes such as user or request identifiers, and how many metrics are exported. Consistent naming helps you find these problems, for example by showing which services emit an attribute with unbounded values. Cost control is then handled in the Collector through processing, filtering and sampling. Ask any partner to show how the naming standard connects to the cost controls they plan to apply.

How do we enforce naming standards across teams and the Collector?

Enforcement works best in layers: a written naming standard, code review checks in each service, and processing rules in the Collector that rename or flag nonconforming attributes. The Collector can transform attributes with processors, so a gateway can normalize older names while teams migrate. Use these rules as a safety net rather than the main fix, since the source of the name is the instrumentation. Track nonconforming attributes with a report so the owner can see progress. Confirm which processors and transformation language features your Collector version supports, because component stability varies and is documented in each component's README.

Which parts should we confirm with the spec or the vendor?

Confirm the stability status of each convention you plan to adopt, the exact names it defines in the version you deploy, and how your backend handles renamed attributes. Conventions move between stable, experimental and deprecated states, so the version in your SDKs and Collector matters. Check each language's instrumentation library, since coverage differs between libraries. For the Collector, check the README of each component you use. Record the versions you tested in the migration plan so that future upgrades start from a known baseline. Where a detail affects a compliance or audit claim, confirm it with your auditor rather than relying on a vendor summary.

Security and operational risks in attribute enforcement

Enforcing semantic conventions in the Collector touches data protection, configuration security and change control at the same time. The risks below connect because the same attributes that make telemetry consistent can also carry personal or secret values, and the rules that clean them up are themselves sensitive configuration.

Sensitive values in standard attributes

Conventions make certain attribute names standard, so instrumentation libraries often fill them with values that carry user data, such as URL paths, query strings, user identifiers or database statements. Standard names mean these values are copied everywhere the convention is applied. Review which attributes each service emits, and use the redaction processor in the Collector to remove or mask sensitive attributes before export. Confirm the processor's exact options in the component README for your Collector version.

Collector security practices

Processing rules as sensitive configuration

Attribute rename, drop and redaction rules live in Collector configuration, and that file reveals which data is sensitive and where it is sent. Store it in a secure location, encrypt it where your platform supports that, and limit who can edit it. Treat exporter credentials in the same file as secrets. Authenticator extensions can add or verify credentials on receivers and exporters, so decide which team owns those settings before rules are shared across teams.

Minimal Collector builds

A Collector built with every available processor enlarges the attack surface and the set of components you must patch and review. Build with only the processors your conventions need, using the Collector Builder. Attribute enforcement often needs only a few processors, so list them explicitly in the build manifest. Review the stability level of each processor you include, because core components have mixed stability levels.

Collector configuration docs

Localhost binding defaults

Since v0.110.0, Collector server components bind to localhost by default instead of 0.0.0.0. Older configurations copied from examples or previous deployments may still expose endpoints on all interfaces, and a Collector that moved to a newer version can change where its endpoints listen. Check the bind address of every receiver and extension in each environment, and confirm that network policy matches the intended exposure before enforcement rules are rolled out.

Change control for drop and rename rules

A rule that renames an attribute can break dashboards and alerts that query the old name, and a rule that drops a field can remove the only evidence needed for an investigation. Route every enforcement change through review, test it against sample telemetry, and record which version of the rules each Collector runs. Keep rule changes in version control and pair them with a rollback path so a bad rename can be reverted without losing data.

How DeployOpen scopes a semantic conventions engagement

Every semantic conventions engagement is fixed-scope: the deliverables, the systems in scope and the timeline are agreed in writing before work starts, and the quote follows from that written scope. Because the work touches application code, Collector configuration and the dashboards and alerts that read from them, the scope should name each of those surfaces explicitly. A useful first question for your team is which services, languages and back ends are included, and which teams own the dashboards and alert rules that depend on current attribute names.

The work follows five stages. The first is an inventory of the attribute names your services emit today, mapped against the stable conventions for each signal, so that renames and gaps are known before anything changes. The second is the standard: a written attribute policy that states which conventions apply, which custom attributes are allowed, and how they are named. The third is instrumentation and Collector configuration, where SDK settings and Collector processors are changed to match the standard, often with the attribute and redaction processors used to rename or drop fields during a transition. The fourth is verification against the dashboards, alerts and queries your teams rely on, confirming that the same signals still produce the same results. The fifth is handover, covering the written standard, configuration in version control and a review checklist for new services.

Convention versions change over time, so the scope should also decide who keeps the standard current. Ongoing upgrades, new semantic convention releases and periodic checks against new services can run as a retainer after handover, and that decision is worth making up front because it changes who owns the next migration. Confirm with DeployOpen which Collector release and SDK versions the engagement will target, and confirm your own change-control window, since both affect the timeline in the written scope.

How DeployOpen delivers and supports this work

The sequence runs from a written scope of which conventions and signals are covered, through Collector and instrumentation changes, to tested dashboards, alerts and handover documentation, with retainer support available for later convention upgrades.

  1. Scope the convention and signal inventory

    DeployOpen reviews your current telemetry with your platform, observability and service owners. The review lists the services, libraries and Collector pipelines in use, the attribute names each team emits today, and the dashboards, alerts and cost reports that depend on those names. The output is a written scope that names which semantic convention groups apply, which attributes will be renamed or kept, which teams are affected, and what is out of scope. Your team signs off on the scope before any change is made.

  2. Define the attribute contract and mapping

    Working with your engineers, DeployOpen drafts the attribute naming contract for your organization. It states which convention version your teams target, which custom attributes are allowed, and how legacy names map to the new ones during the transition. The deliverable is a versioned attribute reference and a mapping table that both application teams and dashboard owners can read. The step is complete when the contract has been reviewed by each affected team and approved by the people who own the observability standard.

  3. Build Collector processing and enforcement

    DeployOpen configures the OpenTelemetry Collector to enforce the agreed names. This typically uses processors that rename, add or drop attributes, with the transformation logic written in OTTL where that fits. Collector builds include only the components you need, and configuration is stored in version control with encryption and access controls applied to secrets. Each change is tested against sample telemetry in a non-production pipeline so you can confirm the output matches the contract before it reaches production exporters.

  4. Update instrumentation in the services

    DeployOpen works with the teams that own each service to update instrumentation so new telemetry uses the agreed names. Where a language SDK or instrumentation library already emits the standard attributes, the work is version alignment and configuration. Where custom spans or metrics exist, the work is renaming and tagging to the contract. Each service is confirmed by comparing emitted telemetry in a test environment against the attribute reference, and any gaps are logged as tracked items for the owning team.

  5. Test dashboards and alerts against new names

    Before cutover, DeployOpen checks every dashboard query, alert rule and cost report that depends on telemetry attributes against the new names. Queries that still reference legacy attributes are updated, and alert thresholds are re-tested with data that reflects the new naming. Running old and new names side by side during a defined window lets your teams confirm that alerts fire as expected. The step closes when each dashboard and alert has a named owner and a recorded test result.

  6. Hand over documentation and runbooks

    DeployOpen delivers the attribute reference, the legacy-to-current mapping, Collector configuration documentation and runbooks for common failures, such as a service emitting an unapproved attribute or a Collector rule dropping data. Operators are walked through the enforcement checks and the process for requesting a new attribute. The handover is complete when your platform and observability teams can apply a naming change and roll it back without DeployOpen involved.

  7. Offer retainer support for convention upgrades

    Semantic conventions change between versions, and some attributes are renamed or deprecated over time. DeployOpen can support your team under a retainer that covers reviewing convention releases, planning the migration of the attribute contract, updating Collector rules and instrumentation, and retesting dashboards and alerts. The scope, response expectations and fees are agreed in writing, and the cost depends on how many services, pipelines and dashboards you run. Ask for the retainer terms to be stated in the same written document as the implementation scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.