{"action":"created","issue":{"url":"https://api.github.com/repos/leoluk/perflib_exporter/issues/10","repository_url":"https://api.github.com/repos/leoluk/perflib_exporter","labels_url":"https://api.github.com/repos/leoluk/perflib_exporter/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/leoluk/perflib_exporter/issues/10/comments","events_url":"https://api.github.com/repos/leoluk/perflib_exporter/issues/10/events","html_url":"https://github.com/leoluk/perflib_exporter/issues/10","id":359261498,"node_id":"MDU6SXNzdWUzNTkyNjE0OTg=","number":10,"title":"Support multi-value counters","user":{"login":"higels","id":1182646,"node_id":"MDQ6VXNlcjExODI2NDY=","avatar_url":"https://avatars0.githubusercontent.com/u/1182646?v=4","gravatar_id":"","url":"https://api.github.com/users/higels","html_url":"https://github.com/higels","followers_url":"https://api.github.com/users/higels/followers","following_url":"https://api.github.com/users/higels/following{/other_user}","gists_url":"https://api.github.com/users/higels/gists{/gist_id}","starred_url":"https://api.github.com/users/higels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/higels/subscriptions","organizations_url":"https://api.github.com/users/higels/orgs","repos_url":"https://api.github.com/users/higels/repos","events_url":"https://api.github.com/users/higels/events{/privacy}","received_events_url":"https://api.github.com/users/higels/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-11T23:34:21Z","updated_at":"2018-10-13T20:57:39Z","closed_at":null,"author_association":"NONE","body":"As in my other issue, go 1.11, perflib exporter from master I pulled down today, Server 2016, Dell R730 and FC630.\r\n\r\nI'm interested in the data from objects 510 (Network Interface) and 1820 (Network Adapter). When I enable them individually like so:\r\n\r\n```\r\nperflib_exporter.exe --telemetry.addr=\":9100\" --log.level=\"debug\" --perflib.objects=510\r\n```\r\nI do not get much in the way of outputted metrics (see below). Oddly, they both seem to produce exactly the same metrics.\r\n\r\nI get some debug spew indicating that it is querying interfaces (attached).\r\n\r\nI've also included the dump?query=blah files, since I guess those are useful.\r\n\r\nInterestingly, I've disabled all of the inactive interfaces in devmgmt.msc to see if it helped at all, but they still seem to be polled.\r\n\r\nI would try to investigate and fix this myself, but I'm in a bit of a time crunch at the moment, so can't devote too much time to it for the next month or so.\r\n\r\n```\r\nperflib_exporter_build_info{branch=\"\",goversion=\"go1.11\",revision=\"\",version=\"\"} 1\r\nperflib_exporter_collector_duration_seconds{collector=\"perflib\"} 0.0390378\r\nperflib_exporter_collector_success{collector=\"perflib\"} 1\r\nperflib_icmp_received_address_mask{name=\"\"} 0\r\nperflib_icmp_received_address_mask_reply{name=\"\"} 0\r\nperflib_icmp_received_source_quench{name=\"\"} 0\r\nperflib_icmp_received_timestamp_reply_total{name=\"\"} 0\r\nperflib_icmp_received_timestamp_total{name=\"\"} 0\r\nperflib_icmp_sent_address_mask{name=\"\"} 0\r\nperflib_icmp_sent_address_mask_reply{name=\"\"} 0\r\nperflib_icmp_sent_source_quench{name=\"\"} 0\r\nperflib_icmp_sent_timestamp_reply_total{name=\"\"} 0\r\nperflib_icmp_sent_timestamp_total{name=\"\"} 0\r\nperflib_icmpv6_received_membership_query_total{name=\"\"} 0\r\n<snip a bunch of icmpv6 metrics>\r\n```\r\n\r\n[perflib-510-debug-output.txt](https://github.com/leoluk/perflib_exporter/files/2373022/perflib-510-debug-output.txt)\r\n\r\n[perflib-exporter-510.html.txt](https://github.com/leoluk/perflib_exporter/files/2373037/perflib-exporter-510.html.txt)\r\n\r\n[perflib-exporter-1820.html.txt](https://github.com/leoluk/perflib_exporter/files/2373038/perflib-exporter-1820.html.txt)"},"comment":{"url":"https://api.github.com/repos/leoluk/perflib_exporter/issues/comments/429574709","html_url":"https://github.com/leoluk/perflib_exporter/issues/10#issuecomment-429574709","issue_url":"https://api.github.com/repos/leoluk/perflib_exporter/issues/10","id":429574709,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTU3NDcwOQ==","user":{"login":"leoluk","id":859697,"node_id":"MDQ6VXNlcjg1OTY5Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/859697?v=4","gravatar_id":"","url":"https://api.github.com/users/leoluk","html_url":"https://github.com/leoluk","followers_url":"https://api.github.com/users/leoluk/followers","following_url":"https://api.github.com/users/leoluk/following{/other_user}","gists_url":"https://api.github.com/users/leoluk/gists{/gist_id}","starred_url":"https://api.github.com/users/leoluk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leoluk/subscriptions","organizations_url":"https://api.github.com/users/leoluk/orgs","repos_url":"https://api.github.com/users/leoluk/repos","events_url":"https://api.github.com/users/leoluk/events{/privacy}","received_events_url":"https://api.github.com/users/leoluk/received_events","type":"User","site_admin":false},"created_at":"2018-10-13T20:57:39Z","updated_at":"2018-10-13T20:57:39Z","author_association":"OWNER","body":"Pasting from an email exchange I had with Anthony:\r\n\r\n> Do you have a specific example of a multi-counter metric where the second metric contains a useful value?\r\n>\r\n>Right now, we just ignore them altogether, but that's just because I haven't decided how to deal with them. We can either:\r\n>\r\n> 1. pick the first value and ignore the second\r\n> 2. generate different metrics for each value\r\n>\r\n> or probably a combination of both, but that really depends on what these values are.\r\n"}}
{"actor":{"display_login":"leoluk"}}