Skip to content

Properties of sampler can not be transformed to YAML #2181

Description

@chenjazz

image
The System property names is nested,can not be transformed to YAML . If we want to read from yaml file in the future versions,it will be a bug.

I think it should be added a name to the Properties,like this:

otel.traces.sampler.name
otel.traces.sampler.arg

Then it will be transformed:

otel:
   traces:
     exporter: otlp  
     sampler:
       name: parentbased_always_on
       arg:

Link: opentelemetry-java Issues

Metadata

Metadata

Assignees

Labels

area:configurationRelated to configuring the SDKarea:sdkRelated to the SDKspec:traceRelated to the specification/trace directory

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions