Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync spring-boot-autoconfigure property names with SDK property names #2770

Merged

Conversation

trask
Copy link
Member

@trask trask commented Apr 10, 2021

Resolves #864

Renames exporter properties to match SDK properties:

  • opentelemetry.trace.exporters.otlp.endpoint -> otel.exporter.otlp.endpoint
  • opentelemetry.trace.exporters.otlp.spantimeout -> otel.exporter.otlp.timeout
  • opentelemetry.trace.exporters.jaeger.endpoint -> otel.exporter.jaeger.endpoint
  • opentelemetry.trace.exporters.jaeger.spantimeout -> otel.exporter.jaeger.timeout
  • opentelemetry.trace.exporters.zipkin.endpoint -> otel.exporter.zipkin.endpoint

Renames exporter enablement properties:

  • opentelemetry.trace.exporters.otlp.enabled -> otel.exporter.otlp.enabled
  • opentelemetry.trace.exporters.jaeger.enabled -> otel.exporter.jaeger.enabled
  • opentelemetry.trace.exporters.zipkin.enabled -> otel.exporter.zipkin.enabled
  • opentelemetry.trace.exporters.logging.enabled -> otel.exporter.logging.enabled

Renames sampling probability property:

  • opentelemetry.trace.tracer.samplerProbability -> otel.traces.sampler.probability

^^ this still does not match SDK property, which is otel.traces.sampler.arg

Renames instrumentation enablement properties:

  • opentelemetry.trace.web.enabled -> otel.springboot.web.enabled
  • opentelemetry.trace.httpclients.enabled -> otel.springboot.httpclients.enabled
  • opentelemetry.trace.aspects.enabled -> otel.springboot.aspects.enabled

^^ initially I thought about otel.instrumentation.web.enabled, etc, but was concerned that's confusing with javaagent's otel.instrumentation.[id].enabled

@trask trask marked this pull request as draft April 10, 2021 18:18
@trask trask force-pushed the spring-boot-autoconfigure-property-names branch from 94ba873 to 350ac3c Compare April 10, 2021 21:51
@trask trask force-pushed the spring-boot-autoconfigure-property-names branch from 350ac3c to b6433fd Compare April 10, 2021 21:53
@trask trask marked this pull request as ready for review April 10, 2021 22:22
instrumentation/spring/README.md Outdated Show resolved Hide resolved
@iNikem iNikem merged commit 5719bc3 into open-telemetry:main Apr 12, 2021
@trask trask deleted the spring-boot-autoconfigure-property-names branch April 12, 2021 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keep the ExporterProperties of spring boot starter consistent with the Export builder on sdk
4 participants