author | Florian Forster <octo@collectd.org> | |
Sat, 11 May 2013 07:55:09 +0000 (09:55 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 11 May 2013 07:55:09 +0000 (09:55 +0200) | ||
commit | 7eb8ea317234ad9c43c8915a2d0d40f4382462fd | |
tree | f2929f9b38bdb9278fb3174e6cd879aec10e7f5e | tree | snapshot |
parent | d3096ed6be4be5b24211ecb3896462c81266bbcc | commit | diff |
mic plugin: Use the "core number" as plugin instance.
Previously, per-core CPU statistics would be dispatched as (e.g.):
<host>/mic-0/cpu-1-user
This makes graping hard, because it required to parse the type instance to
seperate out different graphs. The core number has therefore been moved to the
plugin instance, so the "mic" plugin behaves more like the "cpu" plugin, e.g.:
<host>/mic-0-cpu-1/cpu-user
Previously, per-core CPU statistics would be dispatched as (e.g.):
<host>/mic-0/cpu-1-user
This makes graping hard, because it required to parse the type instance to
seperate out different graphs. The core number has therefore been moved to the
plugin instance, so the "mic" plugin behaves more like the "cpu" plugin, e.g.:
<host>/mic-0-cpu-1/cpu-user
src/mic.c | diff | blob | history |