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

feat(resource-detector-aws): add service.instance.id to resource detection #2082

Closed
wants to merge 1 commit into from

Conversation

maryliag
Copy link
Contributor

@maryliag maryliag commented Apr 3, 2024

Which problem is this PR solving?

Short description of the changes

  • service.instance.id is a recommended value.
    Implements service.instance.id from here. Uses randomUUID as is similar implemented on other languages, such as the Java SDK.

Copy link

codecov bot commented Apr 3, 2024

Codecov Report

Merging #2082 (6209b5d) into main (dfb2dff) will decrease coverage by 0.34%.
Report is 33 commits behind head on main.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2082      +/-   ##
==========================================
- Coverage   90.97%   90.64%   -0.34%     
==========================================
  Files         146      146              
  Lines        7492     7491       -1     
  Branches     1502     1494       -8     
==========================================
- Hits         6816     6790      -26     
- Misses        676      701      +25     
Files Coverage Δ
...ource-detector-aws/src/detectors/AwsEc2Detector.ts 97.95% <100.00%> (+0.04%) ⬆️
...ource-detector-aws/src/detectors/AwsEcsDetector.ts 96.90% <100.00%> (+0.03%) ⬆️
...ource-detector-aws/src/detectors/AwsEksDetector.ts 91.35% <100.00%> (+0.10%) ⬆️

... and 8 files with indirect coverage changes

…ction

`service.instance.id` is a recommended value.
Implements `service.instance.id` from [here](open-telemetry/semantic-conventions#312). Uses `randomUUID` as is similar implemented
on other languages, such as the Java SDK.

Part Of open-telemetry#2065

Signed-off-by: maryliag <marylia.gutierrez@grafana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant