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

sdk/resource: honor OTEL_SERVICE_NAME in fromEnv resource detector #1969

Merged
merged 3 commits into from
Jun 4, 2021

Conversation

Aneurysm9
Copy link
Member

Fixes #1968

@Aneurysm9 Aneurysm9 added area:resources Part of OpenTelemetry resources pkg:SDK Related to an SDK package release:1.0.0-rc.1 labels Jun 3, 2021
@codecov
Copy link

codecov bot commented Jun 3, 2021

Codecov Report

Merging #1969 (64a509b) into main (aed4580) will increase coverage by 0.0%.
The diff coverage is 100.0%.

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #1969   +/-   ##
=====================================
  Coverage   76.3%   76.3%           
=====================================
  Files        157     157           
  Lines       8358    8363    +5     
=====================================
+ Hits        6380    6385    +5     
  Misses      1723    1723           
  Partials     255     255           
Impacted Files Coverage Δ
sdk/resource/env.go 100.0% <100.0%> (ø)

sdk/resource/env.go Outdated Show resolved Hide resolved
Signed-off-by: Anthony J Mirabella <[email protected]>
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 pkg:SDK Related to an SDK package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable Resource service.name detection from OTEL_SERVICE_NAME environment variable
5 participants