Skip to content

Add azure resource detectors#32087

Merged
lzchen merged 25 commits intoAzure:mainfrom
lzchen:resours
Sep 14, 2023
Merged

Add azure resource detectors#32087
lzchen merged 25 commits intoAzure:mainfrom
lzchen:resours

Conversation

@lzchen
Copy link
Copy Markdown
Member

@lzchen lzchen commented Sep 14, 2023

Azure monitor distro will automatically detect what azure resource the application is running in via resource detectors (currently only app service and vm detectors exist). All we have to do is modify an env var and pass in comma delimited string to "OTEL_EXPERIMENTAL_RESOURCE_DETECTORS" and OT SDK will do the rest!

@github-actions github-actions Bot added Monitor - Distro Monitor OpenTelemetry Distro Monitor - Exporter Monitor OpenTelemetry Exporter labels Sep 14, 2023
Copy link
Copy Markdown
Member

@pvaneck pvaneck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@azure-sdk
Copy link
Copy Markdown
Collaborator

API change check

API changes are not detected in this pull request.

@lzchen lzchen merged commit a7abef6 into Azure:main Sep 14, 2023
@lzchen lzchen deleted the resours branch September 14, 2023 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Monitor - Distro Monitor OpenTelemetry Distro Monitor - Exporter Monitor OpenTelemetry Exporter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants