liveBook · Manning

Resource attribute

As explained in Cloud Observability in Action

A resource attribute is metadata describing the entity or infrastructure resource that produced telemetry.

A resource attribute is metadata describing the entity or infrastructure resource that produced telemetry. It can identify a hierarchy, such as a container, pod, Kubernetes cluster, and cloud region, so different signals can be correlated in observability backends. section 11.1.1

OpenTelemetry separates resource attributes from signal attributes. Resource attributes describe where telemetry came from; signal attributes describe details specific to traces, metrics, or logs. Semantic conventions provide shared names and, sometimes, shared values for both kinds of metadata. section 4.6 section 11.1.1

Service running in an EKS cluster

For svc-wow in the boom namespace, running in EKS cluster prod-42 in eu-west-1, the pod can serve as the signal source. Resource attributes identify the surrounding cluster and region, allowing HTTP metrics to be related to telemetry from the same service environment. section 11.1.1

Table 11.1 Overview of signal correlations (view table figure)

From/To

Traces

Metrics

Logs

Traces

Related spans

Trace to representative metrics

Trace to log lines from services

Metrics

Metrics to representative spans

Related metrics

Metrics to logs from services

Logs

Logs to spans from services

Logs to relevant metrics

Related logs

Use the signal-correlation table to navigate relationships among traces, metrics, and logs after resource metadata establishes their common origin. section 11.1.1

How Cloud Observability in Action covers it

How deep it goes
Defines hierarchical origin metadata and contrasts it with signal-specific attributes, without detailing attribute configuration or collection internals.
Examples
Uses an EKS service example spanning a pod, namespace, cluster, cloud region, and HTTP metrics.
What you can do after
Diagnose/debug with it by correlating telemetry across services and infrastructure contexts in observability backends.
How it connects
Connects OpenTelemetry, semantic conventions, signal attributes, traces, metrics, logs, and telemetry correlation.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Cloud Observability in Action. The section links point to the parts of the book it draws on.