Skip to content

Commit

Permalink
pmrep conf: cosmetics, white space fixes
Browse files Browse the repository at this point in the history
Sync all the pmrep conf files to use the same style,
in theory this might make them slightly more readable.
  • Loading branch information
myllynen committed Apr 17, 2024
1 parent c4a459a commit b9573fb
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 42 deletions.
20 changes: 10 additions & 10 deletions src/pmrep/conf/numa.conf
Original file line number Diff line number Diff line change
Expand Up @@ -60,25 +60,25 @@ delimiter = " "
repeat_header = auto
colxrow = " NUMA n"
nusr = %%usr,,s,,
nusr.formula = 100 * kernel.pernode.cpu.vuser / (hinv.ncpu/hinv.nnode)
nusr.formula = 100 * kernel.pernode.cpu.vuser / (hinv.ncpu / hinv.nnode)
nnice = %%nice,,s,,
nnice.formula = 100 * kernel.pernode.cpu.nice / (hinv.ncpu/hinv.nnode)
nnice.formula = 100 * kernel.pernode.cpu.nice / (hinv.ncpu / hinv.nnode)
nsys = %%sys,,s,,
nsys.formula = 100 * kernel.pernode.cpu.sys / (hinv.ncpu/hinv.nnode)
nsys.formula = 100 * kernel.pernode.cpu.sys / (hinv.ncpu / hinv.nnode)
niowait = %%iowait,,s,,
niowait.formula = 100 * kernel.pernode.cpu.wait.total / (hinv.ncpu/hinv.nnode)
niowait.formula = 100 * kernel.pernode.cpu.wait.total / (hinv.ncpu / hinv.nnode)
nsteal = %%steal,,s,,
nsteal.formula = 100 * kernel.pernode.cpu.steal / (hinv.ncpu/hinv.nnode)
nsteal.formula = 100 * kernel.pernode.cpu.steal / (hinv.ncpu / hinv.nnode)
nirq = %%irq,,s,,
nirq.formula = 100 * kernel.pernode.cpu.irq.hard / (hinv.ncpu/hinv.nnode)
nirq.formula = 100 * kernel.pernode.cpu.irq.hard / (hinv.ncpu / hinv.nnode)
nsoft = %%soft,,s,,
nsoft.formula = 100 * kernel.pernode.cpu.irq.soft / (hinv.ncpu/hinv.nnode)
nsoft.formula = 100 * kernel.pernode.cpu.irq.soft / (hinv.ncpu / hinv.nnode)
nguest = %%guest,,s,,
nguest.formula = 100 * kernel.pernode.cpu.guest / (hinv.ncpu/hinv.nnode)
nguest.formula = 100 * kernel.pernode.cpu.guest / (hinv.ncpu / hinv.nnode)
ngnice = %%gnice,,s,,
ngnice.formula = 100 * kernel.pernode.cpu.guest_nice / (hinv.ncpu/hinv.nnode)
ngnice.formula = 100 * kernel.pernode.cpu.guest_nice / (hinv.ncpu / hinv.nnode)
nidle = %%idle,,s,,
nidle.formula = 100 * kernel.pernode.cpu.idle / (hinv.ncpu/hinv.nnode)
nidle.formula = 100 * kernel.pernode.cpu.idle / (hinv.ncpu / hinv.nnode)

[numa-pgmigrate-per-node]
header = yes
Expand Down
40 changes: 20 additions & 20 deletions src/pmrep/conf/pmproxy.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,34 +13,34 @@
[pmproxy]
timestamp = yes
repeat_header = auto
pmproxy.redis.requests.inflight.bytes = backlog,,,,8
pmproxy.redis.requests.inflight.total = inflight,,,,8
pmproxy.redis.requests.total = reqs/s,,,,8,1
pmproxy.redis.responses.total = resp/s,,,,8,1
pmproxy.redis.responses.time = time,,sec,,8,0
pmproxy.redis.requests.error = req err,,,,,0
pmproxy.redis.responses.error = resp err,,,,,0
pmproxy.discover.changed_callbacks = changed,,,,,1
pmproxy.redis.requests.inflight.bytes = backlog,,,,8
pmproxy.redis.requests.inflight.total = inflight,,,,8
pmproxy.redis.requests.total = reqs/s,,,,8,1
pmproxy.redis.responses.total = resp/s,,,,8,1
pmproxy.redis.responses.time = time,,sec,,8,0
pmproxy.redis.requests.error = req err,,,,,0
pmproxy.redis.responses.error = resp err,,,,,0
pmproxy.discover.changed_callbacks = changed,,,,,1
pmproxy.discover.throttled_changed_callbacks = throttled,,,,,1

[pmproxy-resource]
timestamp = yes
repeat_header = auto
cpu_percent = pmproxy.cpu.percent
cpu_percent.label = %%CPU
cpu_percent = pmproxy.cpu.percent
cpu_percent.label = %%CPU
cpu_percent.formula = 100 * pmproxy.cpu.total
cpu_percent.unit = s
pmproxy.mem.datasz = Datasz,,,,6
pmproxy.mem.maxrss = MaxRss,,,,6
cpu_percent.unit = s
pmproxy.mem.datasz = Datasz,,,,6
pmproxy.mem.maxrss = MaxRss,,,,6

[pmproxy-series]
timestamp = yes
repeat_header = auto
pmproxy.series.sources.calls = sources,,,,8,1
pmproxy.series.query.calls = queries,,,,8,1
pmproxy.series.metrics.calls = metrics,,,,8,1
pmproxy.series.descs.calls = descs,,,,8,1
pmproxy.series.instances.calls = instances,,,,8,1
pmproxy.series.values.calls = values,,,,8,1
pmproxy.series.labels.calls = labels,,,,8,1
pmproxy.series.sources.calls = sources,,,,8,1
pmproxy.series.query.calls = queries,,,,8,1
pmproxy.series.metrics.calls = metrics,,,,8,1
pmproxy.series.descs.calls = descs,,,,8,1
pmproxy.series.instances.calls = instances,,,,8,1
pmproxy.series.values.calls = values,,,,8,1
pmproxy.series.labels.calls = labels,,,,8,1
pmproxy.series.labelvalues.calls = labvalues,,,,8,1
22 changes: 11 additions & 11 deletions src/pmrep/conf/sar.conf
Original file line number Diff line number Diff line change
Expand Up @@ -372,17 +372,17 @@ width = 9
precision = 2
delimiter = " "
repeat_header = auto
kbswpfree = mem.util.swapFree
kbswpfree.label = kbswpfree
kbswpfree.width = 12
kbswpused = kbswpused,,,,
kbswpused.formula = mem.util.swapTotal - mem.util.swapFree
swpused = %%swpused,,,,
swpused.formula = 100 * (mem.util.swapTotal - mem.util.swapFree) / mem.util.swapTotal
kbswpcad = mem.util.swapCached
kbswpcad.label = kbswpcad
swpcad = %%swpcad,,,,
swpcad.formula = 100 * mem.util.swapCached / (mem.util.swapTotal - mem.util.swapFree)
kbswpfree = mem.util.swapFree
kbswpfree.label = kbswpfree
kbswpfree.width = 12
kbswpused = kbswpused,,,,
kbswpused.formula = mem.util.swapTotal - mem.util.swapFree
swpused = %%swpused,,,,
swpused.formula = 100 * (mem.util.swapTotal - mem.util.swapFree) / mem.util.swapTotal
kbswpcad = mem.util.swapCached
kbswpcad.label = kbswpcad
swpcad = %%swpcad,,,,
swpcad.formula = 100 * mem.util.swapCached / (mem.util.swapTotal - mem.util.swapFree)

[sar-u-ALL]
header = yes
Expand Down
2 changes: 1 addition & 1 deletion src/pmrep/conf/vmstat.conf
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ idle.label = id
idle.formula = 100 * kernel.all.cpu.idle / hinv.ncpu
idle.unit = s
wtotal = kernel.all.cpu.wait.totalp
wtotal.label = wa
wtotal.label = wa
wtotal.formula = 100 * kernel.all.cpu.wait.total / hinv.ncpu
wtotal.unit = s
steal = kernel.all.cpu.stealp
Expand Down

0 comments on commit b9573fb

Please sign in to comment.