open-telemetry / semantic-conventions

Defines standards for generating consistent, accessible telemetry across a variety of domains
Apache License 2.0
244 stars 158 forks source link

[Feature request] Standard conventions for icon and color of resources and/or spans #1266

Open michaelsafyan opened 1 month ago

michaelsafyan commented 1 month ago

Area(s)

area:new

Is your change request related to a problem? Please describe.

In tracing systems, it is useful to use icons and colors to differentiate components.

If someone uses multiple tracing systems, they may have to configure the display multiple times for each system.

In addition, tracing systems must currently implement a separate control plane to manage/configure the display and color when there is already a path for data to enter the system via span attributes.

Describe the solution you'd like

It should be possible to hint at the desired icon and color in the resource or span attributes.

While tracing systems may still wish to provide a way to override these hints, the presence of these hints would serve as a useful baseline for configuring the default display behavior of the tracing system.

As a strawman proposal:

Examples:

Describe alternatives you've considered

Alternatives include:

Additional context

No response

nirga commented 1 month ago

Interesting! I assume you expect these to be part of semantic conventions for each span definition which can then be read by the observability platform?