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

Set telemetry.sdk.name resource attribute to "opentelemetry" #1332

Merged
merged 4 commits into from
Nov 16, 2020

Conversation

justinfoote
Copy link
Member

This PR changes the value used in the default SDK for the "telemetry.sdk.name" attribute on a resource. The spec indicates that this value MUST be "opentelemetry".

Fixes #1331

@MrAlias MrAlias added area:resources Part of OpenTelemetry resources bug Something isn't working pkg:SDK Related to an SDK package priority:p1 labels Nov 13, 2020
@MrAlias MrAlias added this to the RC1 milestone Nov 13, 2020
@MrAlias MrAlias added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Nov 13, 2020
@MrAlias
Copy link
Contributor

MrAlias commented Nov 13, 2020

The tests need updates, but otherwise the fix looks good to me.

@codecov
Copy link

codecov bot commented Nov 16, 2020

Codecov Report

Merging #1332 (d544d7a) into master (380d945) will not change coverage.
The diff coverage is 100.0%.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #1332   +/-   ##
======================================
  Coverage    77.3%   77.3%           
======================================
  Files         123     123           
  Lines        6067    6067           
======================================
  Hits         4693    4693           
  Misses       1121    1121           
  Partials      253     253           
Impacted Files Coverage Δ
sdk/resource/builtin.go 100.0% <100.0%> (ø)

@MrAlias MrAlias merged commit 3207770 into open-telemetry:master Nov 16, 2020
@justinfoote justinfoote deleted the patch-1 branch November 16, 2020 18:41
AzfaarQureshi pushed a commit to open-o11y/opentelemetry-go that referenced this pull request Dec 3, 2020
…lemetry#1332)

* Set telemetry.sdk.name resource attribute to "opentelemetry"

* Update config_test.go to correct `telemetry.sdk.name`

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:resources Part of OpenTelemetry resources bug Something isn't working pkg:SDK Related to an SDK package Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

opentelemetry-go should set the resource attribute telemetry.sdk.name to opentelemetry
3 participants