opentelemetry-demo icon indicating copy to clipboard operation
opentelemetry-demo copied to clipboard

Define what baggage attributes should be set, and how they should be consumed by other services.

Open austinlparker opened this issue 2 years ago • 1 comments

The demo should utilize baggage for telemetry attributes, demonstrating the following:

  • Creating baggage
  • Propagating baggage
  • Extracting baggage and appending it to telemetry signals (metrics, logs, traces)

The two baggage signals that should be set are the following:

  • synthetic_request: true or false set by load generator service
  • session_id: string set by frontend service

These baggage attributes should be extracted from context and set on telemetry signals in each service --

  • Exception/Error logs should receive the session ID
  • Frontend (optionally, other downstream services) should receive the session ID and synthetic request flag.

austinlparker avatar Jun 03 '22 17:06 austinlparker

synthetic_request should be extracted in paymentservice and added to span attributes.

austinlparker avatar Aug 22 '22 15:08 austinlparker

Defined and implemented. Closing this

cartersocha avatar Oct 06 '22 20:10 cartersocha