Skip to content

Declarative config: extract Resource correctly #14325

@zeitlinger

Description

@zeitlinger

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

When using declarative config, getResource() (it's protected) returns an empty instance.

In the agent, we access this instance.

Describe the solution you'd like

Possible solutions

  • populate the resource in the SDK
  • extract the resource from the tracer provider using reflection
  • use some plugin from the SDK (not sure which)

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Discussion

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions