-
Notifications
You must be signed in to change notification settings - Fork 843
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
Add User-Agent header to OTLP exporter requests #4784
Conversation
Codecov ReportBase: 90.78% // Head: 90.84% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #4784 +/- ##
============================================
+ Coverage 90.78% 90.84% +0.05%
- Complexity 4822 4856 +34
============================================
Files 554 556 +2
Lines 14383 14474 +91
Branches 1397 1410 +13
============================================
+ Hits 13058 13149 +91
+ Misses 909 908 -1
- Partials 416 417 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
.../io/opentelemetry/exporter/otlp/testing/internal/ManagedChannelTelemetryExporterBuilder.java
Outdated
Show resolved
Hide resolved
...ers/otlp/common/src/test/java/io/opentelemetry/exporter/internal/otlp/OtlpUserAgentTest.java
Outdated
Show resolved
Hide resolved
exporters/otlp/common/src/main/java/io/opentelemetry/exporter/internal/otlp/OtlpUserAgent.java
Outdated
Show resolved
Hide resolved
exporters/otlp/common/src/main/java/io/opentelemetry/exporter/internal/otlp/OtlpUserAgent.java
Outdated
Show resolved
Hide resolved
.../java/io/opentelemetry/exporter/otlp/testing/internal/AbstractGrpcTelemetryExporterTest.java
Outdated
Show resolved
Hide resolved
exporters/otlp/common/src/main/java/io/opentelemetry/exporter/internal/otlp/OtlpUserAgent.java
Outdated
Show resolved
Hide resolved
exporters/otlp/common/src/main/java/io/opentelemetry/exporter/internal/otlp/OtlpUserAgent.java
Outdated
Show resolved
Hide resolved
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
@jkwatson please take a look when you have a chance |
@@ -9,7 +9,7 @@ plugins { | |||
} | |||
|
|||
description = "OpenTelemetry Protocol Exporter" | |||
otelJava.moduleName.set("io.opentelemetry.exporter.otlp.internal") | |||
otelJava.moduleName.set("io.opentelemetry.exporter.internal.otlp") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what affect does this have?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The moduleName
is used to set the location of the version.properties
file. It should reflect the base package of the artifact, so in this case it was wrong. If its not correct, then fetching a relative resource like OtlpUserAgent.class.getResourceAsStream("version.properties")
will fail.
Implements spec PR #2684.