-
Notifications
You must be signed in to change notification settings - Fork 10
feat(telemetry): add telemetry support for user agent parsing #90
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
base: main
Are you sure you want to change the base?
Conversation
gfoidl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of the event source, I'd prefer to use OTel metrics via the meters.
Especially as we don't write to the event stream (which could be read e.g. via PerfView), and I don't think we need the diagnostic events.
| internal void UserAgentPresent() | ||
| { | ||
| if (!IsEnabled()) return; | ||
| _userAgentPresent?.Increment(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we don't write an event, should we use metrics (via meter factory) instead?
I'd prefer the OTel metrics here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are too many projects that do not use OTEL - even I/we currently still use native app insights in almost all projects because OTEL features are missing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, with UseAzureMonitor I see metrics in Azure. What features are there missing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But we would still enforce everybody to use OTEL as foundation... I am not happy with that.
gfoidl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then OK.
|
@gfoidl , I added a telemetry hub and exposed otel native meters and dotnet metrics. |
Uh oh!
There was an error while loading. Please reload this page.