Open
Description
Setup: 3 nodes (running pmcd) + 1 collector node (running pmlogger + pmproxy + redis, pmlogger connects to the other nodes)
All running PCP 5.1.1-3
[vagrant@collector pmlogger]$ pmseries -a $(pmseries disk.dev.write_bytes)
270585f657a2d61504103f2d093ff0cb23342fc6
PMID: 60.0.39
Data Type: 64-bit unsigned int InDom: 60.1 0xf000001
Semantics: counter Units: Kbyte
Source: 6fcbbe42a3f6db942a08ffa1b972284670266186
Metric: disk.dev.write_bytes
inst [0 or "vda"] series 4a85e858fceb6477acde2b77e4f702f5977260b9
inst [0 or "vda"] labels {"agent":"linux","device_type":"block","domainname":"localdomain","hostname":"node2.local","indom_name":"per disk","machineid":"28a6876d9ab54e71a3a046d2f36cc5a6"}
353820b21b1553ee00159ab6ed44a76a04348b04
PMID: 60.0.39
Data Type: 64-bit unsigned int InDom: 60.1 0xf000001
Semantics: counter Units: Kbyte
Source: ae072a02a41c16176c6337db60a8870145369755
Metric: disk.dev.write_bytes
inst [0 or "vda"] series 9a5b93a8e679787809501b82e4c3df9848f714d8
inst [0 or "vda"] labels {"agent":"linux","device_type":"block","domainname":"localdomain","hostname":"node1.local","indom_name":"per disk","machineid":"a00fdef1932c47808f882e2506a50483"}
710e5b8c629d53ee8bcd96b570bab679fb9481c2
PMID: 60.0.39
Data Type: 64-bit unsigned int InDom: 60.1 0xf000001
Semantics: counter Units: Kbyte
Source: 19fb7ed79c6ab2ae759caa242427947d54b5ee99
Metric: disk.dev.write_bytes
inst [0 or "vda"] series f4d23dbc843d88ca38094d0ab4f8dbdfa99283c6
inst [0 or "vda"] labels {"agent":"linux","device_type":"block","domainname":"localdomain","hostname":"node3.local","indom_name":"per disk","machineid":"629d38f3a66940d48805e9901416dc88"}
97ff84b72e097e02e2f78dfdd3dd4a9585f8269c
PMID: 60.0.39
Data Type: 64-bit unsigned int InDom: 60.1 0xf000001
Semantics: counter Units: Kbyte
Source: 1142716172cbf467b397ab916f07799381c2ebd8
Metric: disk.dev.write_bytes
inst [0 or "vda"] series a263678c1545089a08a3ab8ae09dd27d42fd9211
inst [0 or "vda"] labels {"agent":"linux","device_type":"block","domainname":"localdomain","groupid":990,"hostname":"collector.local","indom_name":"per disk","machineid":"4ce998b207094627905735000844af59","userid":993}
Filtering based on the agent
label, I get the following series:
[vagrant@collector pmlogger]$ pmseries -a $(pmseries 'disk.dev.write_bytes{agent=="linux"}')
27357197ff84b72e097e02e2f78dfdd3dd4a9585
PMID: PM_ID_NULL
Data Type: ??? InDom: unknown 0xffffffff
Semantics: unknown Units: unknown
Source: unknown
f8269cb21b1553ee00159ab6ed44a76a04348b04
PMID: PM_ID_NULL
Data Type: ??? InDom: unknown 0xffffffff
Semantics: unknown Units: unknown
Source: unknown
710e5b8c629d53ee8bcd96b570bab679fb9481c2
PMID: 60.0.39
Data Type: 64-bit unsigned int InDom: 60.1 0xf000001
Semantics: counter Units: Kbyte
Source: 19fb7ed79c6ab2ae759caa242427947d54b5ee99
Metric: disk.dev.write_bytes
inst [0 or "vda"] series f4d23dbc843d88ca38094d0ab4f8dbdfa99283c6
inst [0 or "vda"] labels {"agent":"linux","device_type":"block","domainname":"localdomain","hostname":"node3.local","indom_name":"per disk","machineid":"629d38f3a66940d48805e9901416dc88"}
97ff84b72e097e02e2f78dfdd3dd4a9585f8269c
PMID: 60.0.39
Data Type: 64-bit unsigned int InDom: 60.1 0xf000001
Semantics: counter Units: Kbyte
Source: 1142716172cbf467b397ab916f07799381c2ebd8
Metric: disk.dev.write_bytes
inst [0 or "vda"] series a263678c1545089a08a3ab8ae09dd27d42fd9211
inst [0 or "vda"] labels {"agent":"linux","device_type":"block","domainname":"localdomain","groupid":990,"hostname":"collector.local","indom_name":"per disk","machineid":"4ce998b207094627905735000844af59","userid":993}
All nodeX VMs have the same configuration (except the hostname). Any idea why the filtering works for node3.local
but not for node1.local
and node2.local
?