OpenTelemetry metrics should focus on what is being measured rather than who is measuring it. Service names, units, and deployment context belong in attributes, not metric names. This approach enables cross-service aggregation, reduces namespace clutter, and creates reusable dashboards. Clean metric names like
Table of contents
Learning from traditional systemsThe core anti-pattern: Service names in metric namesOpenTelemetry’s rich context modelUnits: Keep them out of names tooPractical naming guidelinesReal-world migration examplesBenefits of clean namingCommon pitfalls to avoidCultivating better metricsSort: