Skip to content

[opampsupervisor] Support resource detectors for service telemetry #45116

@iblancasa

Description

@iblancasa

Component(s)

cmd/opampsupervisor

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

The opamp supervisor self-observability telemetry doesn't use resource detectors, which means:

  1. Environment variables don't work: OTEL_RESOURCE_ATTRIBUTES and OTEL_SERVICE_NAME are ignored.
  2. Cloud metadata requires manual config: when running on AWS/GCP/Azure, you have to manually configure all the cloud attributes (region, account, instance type, etc.) instead of auto-detecting them.
  3. Host information missing: basic stuff like host.id that could be auto-detected requires manual setup.

Similar to open-telemetry/opentelemetry-collector#14311

Describe the solution you'd like

Since this is something that is available as part of the go-sdk, I would like to see a detectors new field under .service.telemetry that allow enabling the detectores available in the go sdk.

Describe alternatives you've considered

No response

Additional context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions