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

Add User-Agent header to OTLP exporter requests #3261

Merged

Conversation

rogerogers
Copy link
Contributor

Signed-off-by: rogerogers <rogers@rogerogers.com>
Copy link
Member

@dmathieu dmathieu left a comment

Choose a reason for hiding this comment

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

Overall, the change looks good.

exporters/otlp/otlpmetric/otlpmetricgrpc/client.go Outdated Show resolved Hide resolved
Signed-off-by: rogerogers <rogers@rogerogers.com>
@dmathieu dmathieu self-requested a review October 7, 2022 07:37
@dmathieu
Copy link
Member

dmathieu commented Oct 7, 2022

Sorry, I meant to remove my red blocker and GitHub thought that meant I approved the PR 🤦

@codecov
Copy link

codecov bot commented Oct 7, 2022

Codecov Report

Merging #3261 (7a437d8) into main (697d245) will increase coverage by 0.0%.
The diff coverage is 82.3%.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #3261   +/-   ##
=====================================
  Coverage   77.3%   77.4%           
=====================================
  Files        159     160    +1     
  Lines      11182   11200   +18     
=====================================
+ Hits        8647    8671   +24     
+ Misses      2337    2330    -7     
- Partials     198     199    +1     
Impacted Files Coverage Δ
sdk/metric/config.go 100.0% <ø> (ø)
sdk/metric/pipeline.go 94.8% <76.9%> (-1.2%) ⬇️
exporters/otlp/internal/header.go 100.0% <100.0%> (ø)
...xporters/otlp/otlpmetric/internal/oconf/options.go 81.5% <100.0%> (+0.1%) ⬆️
exporters/otlp/otlpmetric/otlpmetrichttp/client.go 79.0% <100.0%> (+0.2%) ⬆️
...ters/otlp/otlptrace/internal/otlpconfig/options.go 81.5% <100.0%> (+0.1%) ⬆️
exporters/otlp/otlptrace/otlptracehttp/client.go 76.4% <100.0%> (+0.2%) ⬆️
exporters/jaeger/jaeger.go 91.1% <0.0%> (+0.8%) ⬆️
sdk/trace/batch_span_processor.go 81.1% <0.0%> (+0.8%) ⬆️
... and 1 more

CHANGELOG.md Outdated Show resolved Hide resolved
rogerogers and others added 3 commits October 7, 2022 16:34
Signed-off-by: rogerogers <rogers@rogerogers.com>
Signed-off-by: rogerogers <rogers@rogerogers.com>
Signed-off-by: rogerogers <rogers@rogerogers.com>
@MadVikingGod MadVikingGod merged commit 4ec2ae6 into open-telemetry:main Oct 11, 2022
dashpole pushed a commit to dashpole/opentelemetry-go that referenced this pull request Oct 11, 2022
* Add User-Agent header to OTLP exporter requests
* allow override grpc user-agent

Signed-off-by: rogerogers <rogers@rogerogers.com>
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.

None yet

5 participants