-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Metricbeat] Don't require instance_name when there's a single perfmon counter instance #6528
Comments
I think I'm seeing this issue with the following as well:
It seems like #4944 might be related - in that, I get the same errors with the non- |
Update - I was completely off-base in my assessment of my environment exhibiting this issue. I did have some confusion about the behavior of |
query: '\UDPv4\Datagrams Sent/sec'
.instance_name
configuration option.Exiting: 1 error: 1 error: initialization failed: query doesn't contain an instance name. In this case you have to define 'instance_name'
If a counter does not have multiple instances then the
instance_label
andinstance_name
options don't need to be used or required. The general structure for a counter path is:\\PerfObject( ParentInstance/ObjectInstance#InstanceIndex )\\Counter
. And it seems that the instance section is optional.So my proposal is to not require
instance_name
when the counter path doesn't include any "instance" information. This will likely lead to wanting to be able to group related counter data into a single event, like all counters from theUDPv4
perf object into a single event.The text was updated successfully, but these errors were encountered: