Skip to content

Implement OpenTelemetry infrastructure#11255

Merged
JanProvaznik merged 66 commits intodotnet:mainfrom
JanProvaznik:otel-basic
Feb 21, 2025
Merged

Implement OpenTelemetry infrastructure#11255
JanProvaznik merged 66 commits intodotnet:mainfrom
JanProvaznik:otel-basic

Conversation

@JanProvaznik
Copy link
Copy Markdown
Member

@JanProvaznik JanProvaznik commented Jan 10, 2025

Fixes #10945 #10948

Context

#10560

  • infrastructure part of this

Changes Made

add singleton OpenTelemetryManager

executions in Framework (standalone and managed) trace and collect basic build events with a defined sampling rate.
Sending end of build telemetry comparable to the one sent in sdk.

Testing

Unit tests of the behavior,
monitoring if we get data to the backend
manual tests in experimental insertions

Notes

@dotnet dotnet deleted a comment from azure-pipelines bot Jan 10, 2025
@JanProvaznik JanProvaznik marked this pull request as ready for review January 10, 2025 16:28
@JanProvaznik JanProvaznik requested a review from a team as a code owner January 10, 2025 16:28
Copy link
Copy Markdown
Member

@JanKrivanek JanKrivanek left a comment

Choose a reason for hiding this comment

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

Looks great!

I'm not yet reay to sign off - I need a second detailed look, plus there are some notes I put where I'd want your answers first.

Copy link
Copy Markdown
Member

@JanKrivanek JanKrivanek left a comment

Choose a reason for hiding this comment

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

Looks great!!!

I added couple smaller things for consideration - but none are really blocking

… early return in initialize, exception pattern match
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.

Prototype sending data via VS OTel collector

5 participants