We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b998ea4 + 23d6342 commit 7f8efe8Copy full SHA for 7f8efe8
1 file changed
init.lua
@@ -32,7 +32,7 @@ function plugin:onParseValues(data)
32
each(function (v, i)
33
local metric, cpu_id = v.metric:match('^(system%.cpu%.usage)|cpu=(%d+)$')
34
if metric then
35
- table.insert(result, pack('CPU_CORE', v.value, v.timestamp, plugin.source .. '_C' .. cpu_id))
+ table.insert(result, pack('CPU_CORE', v.value, v.timestamp, plugin.source .. '-C' .. cpu_id))
36
end
37
end, data)
38
0 commit comments