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

Use assembly information version for User-Agent #4143

Merged
merged 2 commits into from
Feb 8, 2023
Merged

Use assembly information version for User-Agent #4143

merged 2 commits into from
Feb 8, 2023

Conversation

martincostello
Copy link
Contributor

Changes

Use AssemblyInformationalVersionAttribute for the User-Agent value.

See https://github.com/open-telemetry/opentelemetry-dotnet/pull/4120/files/6f04561448ae211287f885d8b699fc68d853de29#r1094245847.

Testing locally, this currently produces a value of 1.4.0-rc.2.21+da938d797ea88c32c7cf463dda570fb594275e28.

@codecov
Copy link

codecov bot commented Feb 4, 2023

Codecov Report

Merging #4143 (5d47539) into main (1273e83) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4143      +/-   ##
==========================================
+ Coverage   85.58%   85.60%   +0.01%     
==========================================
  Files         293      293              
  Lines       11371    11371              
==========================================
+ Hits         9732     9734       +2     
+ Misses       1639     1637       -2     
Impacted Files Coverage Δ
...orter.OpenTelemetryProtocol/OtlpExporterOptions.cs 96.36% <100.00%> (ø)
...Telemetry/Internal/SelfDiagnosticsEventListener.cs 96.87% <0.00%> (-0.79%) ⬇️
src/OpenTelemetry/BatchExportProcessor.cs 84.11% <0.00%> (+1.86%) ⬆️
...Propagators/OpenTelemetryPropagatorsEventSource.cs 100.00% <0.00%> (+12.50%) ⬆️

@cijothomas cijothomas merged commit 1a9a492 into open-telemetry:main Feb 8, 2023
@martincostello martincostello deleted the change-user-agent-version branch February 8, 2023 07:19
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.

5 participants