-
Notifications
You must be signed in to change notification settings - Fork 296
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
[Exporter.Geneva] Update EventSource implmentation of GenevaMetricExporter #1225
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,12 @@ | |
[RS0026](https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/Microsoft.CodeAnalysis.PublicApiAnalyzers.md#rs0026-do-not-add-multiple-public-overloads-with-optional-parameters). | ||
([#1218](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1218)) | ||
|
||
* Fix the issue of running into the `ArgumentException`: `An instance of | ||
EventSource with Guid edc24920-e004-40f6-a8e1-0e6e48f39d84 already exists.` | ||
when using multiple instances of `GenevaMetricExporter` by updating | ||
`MetricEtwDataTransport` to be a singleton. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suggest that we remove "by updating ..." to make it concise (my take is that the reader of the changelog would want to focus on "what does it mean to me" rather than "how you've implemented it", and for folks who have curiosity to know the details, they can always go to the PR - which is why we put the PR link). I don't feel strongly about this though, so not a blocker. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I think CHANGELOG could be meant for developers as well? For example, look at this entry in the collector CHANGELOG under v0.79.0:
This is too much detail for users but it gives a good reference point for developers when they quickly want to identify which version and above have that change. |
||
([#1225](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1225)) | ||
|
||
## 1.5.0-rc.1 | ||
|
||
Released 2023-Jun-05 | ||
|
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.
do we have same problem in log/trace exporter?
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.
Similar but slightly different (e.g. most folks can just to two different log ETW providers, while metrics always use the same provider).
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.
@reyang @cijothomas I was wondering if we need to worry about scenarios where there are multiple instances of an application running each with the same GenevaExporter setup. They would run into this issue.
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.
Actually, on second thoughts, maybe not? It's probably just tracked at a process level?