Skip to content

declarative config : configure EDOT #1054

@SylvainJuge

Description

@SylvainJuge

This issue aims to track progress on adding support for declarative configuration in EDOT Java, the implementation will be split into multipe PRs.

This list has been initially created by reviewing what is being done in ElasticAutoConfigurationCustomizerProvider for automatic configuration.

Open questions/ideas

  • we can now easily print resulting config in json/yaml, should we use that instead for debug logging ?
    • might be easier to use than what we currently have (which also include all the defaults, whereas here we should have what has been explicitly set + what is modified/added by EDOT).
    • if we add this upstream it would allow an easy diff of the effective differences in behavior between the two implementations: for example if we replace a sampler, all the extensions that we explicitly configure, ...
  • for cloud resource providers enabled by default, we might want to switch to suggest that in the "default" declarative configuration to have them by default, which then allows users to opt-out when needed. We can't distinguish from "nothing is explicitly set" and "user disabled all providers" as we get an empty array in both cases.
    • Update: there are numerous resource detectors that we must include by default, we do that by adding it to the "onboarding configuration" and then let users disable it as-needed.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions