Appendix A — Where Telemetry Belongs
Use this checklist when you add a field to telemetry or review an instrumentation change.
- Service identity
- Put
service.nameand the deployment environment on the resource. - Operation context
- Record the model name and other operation-specific fields on the span. Use a span event for an occurrence within the operation.
- Aggregate measurements
- Use histograms for latency and token counts. Keep identifiers such as trace IDs out of metric dimensions.
Adapted from The Telemetry Data Model.