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

[processor/resourcedetectionprocessor] handle partial presence of heroku metadata #25059

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

atoulme
Copy link
Contributor

@atoulme atoulme commented Aug 8, 2023

Description:
Currently, heroku metadata is only collected if the HEROKU_DYNO_ID environment variable is present.

It turns that under some circumstances this environment variable may be missing, but the rest of the variables may still be present. We collect what we can and offer to log at debug level if some or all metadata is missing to avoid cluttering logs.

Testing:
Unit tests.

Documentation:
No changes.

@atoulme atoulme requested review from a team and MovieStoreGuy August 8, 2023 01:24
@github-actions github-actions bot added the processor/resourcedetection Resource detection processor label Aug 8, 2023
@atoulme atoulme force-pushed the heroku_partial_metadata branch 4 times, most recently from fd029c7 to 3410f1b Compare August 8, 2023 04:07
@atoulme atoulme force-pushed the heroku_partial_metadata branch from 3410f1b to 9021a7e Compare August 8, 2023 05:09
@MovieStoreGuy MovieStoreGuy merged commit f70c6b0 into open-telemetry:main Aug 8, 2023
@github-actions github-actions bot added this to the next release milestone Aug 8, 2023
@atoulme atoulme deleted the heroku_partial_metadata branch August 9, 2023 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
processor/resourcedetection Resource detection processor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants