GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Declarative config 0.4 by jack-berg · Pull Request #7064 · open-telemetry/opentelemetry-java Conversation
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## main #7064 +/- ## ============================================ + Coverage 89.61% 90.02% +0.40% - Complexity 6858 6904 +46 ============================================ Files 780 787 +7 Lines 20718 20846 +128 Branches 2020 2023 +3 ============================================ + Hits 18566 18766 +200 + Misses 1512 1441 -71 + Partials 640 639 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
…-java into declarative-config-0.4
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
| if (model.getBaggage() != null) { | ||
| return getPropagator(spiHelper, "baggage"); | ||
| } | ||
| if (model.getB3() != null) { | ||
| return getPropagator(spiHelper, "b3"); | ||
| } | ||
| if (model.getB3multi() != null) { | ||
| return getPropagator(spiHelper, "b3multi"); | ||
| } | ||
| if (model.getJaeger() != null) { | ||
| return getPropagator(spiHelper, "jaeger"); | ||
| } | ||
| if (model.getOttrace() != null) { | ||
| return getPropagator(spiHelper, "ottrace"); | ||
| } |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
wait these can't be combined/composed? 😢
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| void create_Defaults() { | ||
| @ParameterizedTest | ||
| @MethodSource("createArguments") | ||
| void create(MeterProviderModel model, SdkMeterProvider expectedProvider) { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
using the toString() for testing seems error prone and fragile, but it's what we have right now....and anything else would understandably be quite difficult.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Really surprised at the sheer volume of code required to support configuration! I wonder if we'll have this exercise with every version, or if it's mostly that this one was particularly beefy....
Anyway, thanks for taking this on!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Yeah I'm a bit surprised the volume too. I think the volume / complexity of config mostly reflects the essential complexity of what otel specified requirements for SDKs up to this point. I.e. it can probably be expressed a little more concisely / simply, but not too much without being opinionated and chopping off concepts. If we're as close to stabilizing declarative config as I think we are, this PR should be significantly larger than future PRs. The things that make for big PRs are: 1. large refactoring of the declarative config schema 2. large introduction of new declarative config schema. Both of those should be greatly reduced going forward. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.