quarkus icon indicating copy to clipboard operation
quarkus copied to clipboard

WIP - Autoconfigure OTel env properties with MP Config

Open brunobat opened this issue 3 years ago • 1 comments

  • Fixes #26444

Work:

  • [x] Create data model to mimic Otel properties
  • [x] PoC on MP-OpenTelemetry: https://github.com/smallrye/smallrye-opentelemetry/pull/142
  • [x] Move model to quarkus and split between runtime and build time, based on the need to load classes
  • [x] Refactor processors and recorders because they are too big
  • [x] Using the right classloader on autoconfigure
  • [x] Tweak build and runtime property scopes
  • [x] translate old properties into the new system and load them if new not defined
  • [x] modify producer and processor
  • [x] Update setup of existing tests
  • [ ] update exporter extensions
  • [ ] Fix default values on ConfigMapping
  • [ ] Fix issue with 2 config beans with same root
  • [ ] Warn if a CDI bean is also being created as a ServiceLoader
  • [ ] Deprecation of CDI beans on TracerProvider Build. Create warning on logs.
  • [ ] create IT tests

brunobat avatar Jul 15 '22 16:07 brunobat

/cc @radcortez

quarkus-bot[bot] avatar Jul 15 '22 16:07 quarkus-bot[bot]

This PR will be broken into multiple smaller PRs. We found that we don't want the configurations to be randomly split between runtime and build-time. Moreover, the extension, like it is, doesn't work properly on dev mode and we need to move the creation of the OTel SDK to runtime.

brunobat avatar Sep 30 '22 08:09 brunobat

If we no longer want this PR, then please close it

geoand avatar Nov 01 '22 16:11 geoand