Skip to content

[processor/resourcedetection] Proposal to add a Dynatrace resource detector #37577

Closed
@evan-bradley

Description

@evan-bradley

Component(s)

processor/resourcedetection

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

The Dynatrace OneAgent makes resource attributes about hosts on which it is installed available for external processes to read and use to enrich their telemetry. Similar to the other detectors in the Resource Detection Processor, users may want to use these attributes for enrichment.

Describe the solution you'd like

Include a dynatrace detector in the Resource Detection Processor that can be used alongside the other detectors. The format of the files is simple, so the detector will be relatively straightforward to implement. It will also not need any additional configuration on top of being enabled. An example config would look like:

processors:
  resourcedetection:
    detectors: [aws, system, dynatrace]

Describe alternatives you've considered

A new, separate processor could be used instead to do this enrichment, but would require configuring additional processors since users with OneAgents installed on their hosts will likely also want to use at least one of the detectors in the Resource Detection Processor.

Additional context

Dynatrace resource detectors have already been implemented for Istio and Envoy. For Envoy, here is the implementation to give an idea of the complexity of the implementation.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions