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

Resolving TelemetryClient in ActivitySourceDependencyCollector should be on need #252

Merged
merged 1 commit into from
May 16, 2024

Conversation

mburumaxwell
Copy link
Contributor

IHostedService implementations may be invoked before the TelemetryClient is available. This change makes it possible to use ActivitySourceDependencyCollector in such scenarios instead of crashing.

…ould be on need

`IHostedService` implementations may be invoked before the `TelemetryClient` is available. This change makes it possible to use `ActivitySourceDependencyCollector` in such scenarios instead of crashing.
@mburumaxwell mburumaxwell merged commit 31d7735 into main May 16, 2024
8 checks passed
@mburumaxwell mburumaxwell deleted the resolve-TelemetryClient-on-need branch May 16, 2024 02:41
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.

1 participant