What are semantic conventions and resource attributes?

IntermediateConceptTracing & OpenTelemetry
Answer

Semantic conventions standardise attribute names so dashboards and backends work across languages: http.request.method, http.response.status_code, url.path, db.system, messaging.system, rpc.service.

Resource attributes describe who produced the telemetry and apply to every span, metric and log from that process:

export OTEL_SERVICE_NAME=checkout
export OTEL_RESOURCE_ATTRIBUTES=service.version=1.4.2,deployment.environment.name=prod,service.namespace=shop

service.name is the single most important one: without it everything shows as unknown_service. The k8sattributes processor adds k8s.namespace.name, k8s.pod.name, k8s.deployment.name. Note that the HTTP conventions were renamed when they went stable (old http.status_code became http.response.status_code), so mixed SDK versions can split your queries.

All Monitoring & Observability questions Roadmap: Logging & tracing

More on Tracing & OpenTelemetry