Open codeboten opened 1 year ago
I believe that should be fine.
In java we upgraded to the successor of a popular yaml parsing library and support for the merge symbol ("<<:") was removed! Based on comments on issues in the library, it sounds like supporting merge is optional in YAML 1.2.
Here's an comment where I talk about this a bit more.
<<:
syntax, and shouldn't make modeling decision based on the assumption that the syntax is supportedIf there is no YAML 1.2 replacement for the <<:
syntax, let's delete the anchors example.
Currently in the example config, the following section exists:
https://github.com/open-telemetry/opentelemetry-configuration/blob/362b23ec9bb61537e6479a9546d7e8f8a388ec81/kitchen-sink-example.yaml#L95-L103
This configuration is intended to pull in the
otlp-exporter
configuration as an anchor, then addtemporality_preference
anddefault_histogram_aggregation
to its configuration. However, I think those are currently applied to theexporter
configuration and not theotlp-exporter
.Is this ok? I was under the impression that we would want to apply those to the otlp exporter block, rather than the exporter block.