-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[receiver/windowsperfcounters] Clarify current treatment of the _Total
instance
#33692
[receiver/windowsperfcounters] Clarify current treatment of the _Total
instance
#33692
Conversation
cc @alxbl @crobert-1 |
_Total
instance_Total
instance
metric: processor.time.total | ||
``` | ||
|
||
> [!WARNING] |
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.
This actually gives an idea to how better handle counters that don't use _Total
for their aggregation. We can have a configuration called something like aggregation_name
, that by default is _Total
, if someone is using a counter that uses a different name for the aggregation instance we let them specify so the problem of double counting can be easily solved.
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.
The aggregation_name would be used to decide which instance to drop from a wildcard collection? That makes sense to me.
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.
Yes, so it keeps the current default behavior, but, if some user wants to drop the _Global_
they add that to the configuration.
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.
Thanks for adding more documentation here @pjanotti! Just had some formatting comments/questions.
Co-authored-by: Curtis Robert <crobert@splunk.com>
…n' of github.com:pjanotti/opentelemetry-service-contrib into windows-perf-counters-aggregation-instance-clarification
Description:
Clarifies the current treatment of the
_Total
instances.Link to tracking Issue:
Fix #29054
Testing:
Manually validated the configuration added to the README.md
Documentation:
Described the behavior of the
_Total
instance as currently implemented.