Skip to content

Defer instrumentation of Redis connection#2982

Merged
DamianEdwards merged 7 commits intomainfrom
damianedwards/defer-redis-tracing
Mar 19, 2024
Merged

Defer instrumentation of Redis connection#2982
DamianEdwards merged 7 commits intomainfrom
damianedwards/defer-redis-tracing

Conversation

@DamianEdwards
Copy link
Copy Markdown
Member

@DamianEdwards DamianEdwards commented Mar 18, 2024

Fixes #2907

Microsoft Reviewers: Open in CodeFlow

@DamianEdwards DamianEdwards requested a review from eerhardt March 18, 2024 18:50
@ghost ghost added the area-integrations Issues pertaining to Aspire Integrations packages label Mar 18, 2024
@DamianEdwards
Copy link
Copy Markdown
Member Author

The test failure is odd. I looked through it with @davidfowl and it appeared more like a race condition somewhere in our test code or OpenTelemetry itself and I haven't been able to repro it locally (logged #2987). Open to other ideas.

@DamianEdwards DamianEdwards enabled auto-merge (squash) March 19, 2024 17:47
@DamianEdwards DamianEdwards disabled auto-merge March 19, 2024 19:12
@eerhardt
Copy link
Copy Markdown
Member

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

DamianEdwards and others added 7 commits March 19, 2024 12:58
- Tests that register an ActivityListener need to run in a separate process so they don't get Activities from other tests.
- ActivityNotifier needs to run its Task continuations asynchronously, or tests can deadlock when continuing on the "drain" background thread.

Also remove dead code.
@DamianEdwards DamianEdwards force-pushed the damianedwards/defer-redis-tracing branch from 318cd40 to a31b40f Compare March 19, 2024 19:58
@DamianEdwards DamianEdwards enabled auto-merge (squash) March 19, 2024 19:59
@DamianEdwards DamianEdwards merged commit 33e3533 into main Mar 19, 2024
@DamianEdwards DamianEdwards deleted the damianedwards/defer-redis-tracing branch March 19, 2024 20:46
@github-actions github-actions bot locked and limited conversation to collaborators Apr 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-integrations Issues pertaining to Aspire Integrations packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Redis component instrumentation (tracing) causes app to crash on start if Redis is unavailable

3 participants