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

howto configure exporter programmatically in spring starter #4282

Merged
merged 5 commits into from
Apr 19, 2024

Conversation

zeitlinger
Copy link
Member

@zeitlinger zeitlinger commented Apr 11, 2024

@zeitlinger zeitlinger self-assigned this Apr 11, 2024
@zeitlinger zeitlinger requested review from a team as code owners April 11, 2024 11:36
import io.opentelemetry.api.metrics.MeterProvider;
import io.opentelemetry.exporter.otlp.http.trace.OtlpHttpSpanExporter;
import io.opentelemetry.exporter.otlp.http.trace.OtlpHttpSpanExporterBuilder;
import io.opentelemetry.exporter.otlp.internal.OtlpConfigUtil;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a way to avoid using internal classes?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW, the same class is added in open-telemetry/opentelemetry-java-examples#378

I'm planning to use an "include" mechanism: #4276

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a way to avoid using internal classes?

done 😄

Copy link
Member

@theletterf theletterf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with little nit. Thanks!

content/en/docs/languages/java/automatic/spring-boot.md Outdated Show resolved Hide resolved
@zeitlinger zeitlinger marked this pull request as draft April 18, 2024 10:58
@zeitlinger zeitlinger marked this pull request as ready for review April 19, 2024 08:33
@cartermp cartermp merged commit a36d7eb into open-telemetry:main Apr 19, 2024
15 checks passed
@zeitlinger zeitlinger deleted the spring-exporter branch April 22, 2024 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants