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

Ignore vm detector if already in other rps for azure resource detector #2456

Merged
merged 25 commits into from
Apr 29, 2024

Conversation

lzchen
Copy link
Contributor

@lzchen lzchen commented Apr 24, 2024

Vm detect is expensive as it makes an http call to metadata service.

We can skip the detect alltogether if we are already in a different rp (appservice, functions, aks, etc.)

Also refactor out constants and utils.

@lzchen lzchen requested a review from a team April 24, 2024 16:05
@lzchen lzchen merged commit 2493258 into open-telemetry:main Apr 29, 2024
258 checks passed
@lzchen lzchen deleted the vm branch April 29, 2024 17:53
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.

4 participants