mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add _count to prom metrics names
This commit is contained in:
parent
e4109a63f0
commit
c29f31d618
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ const main = async () => {
|
|||
console.log('counts: ', counts)
|
||||
|
||||
metrics.forEach((metric, idx) => {
|
||||
output += `omnivore_backend_queue_${metric}{} ${counts[metric]}\n`
|
||||
output += `omnivore_backend_queue_${metric}_count{} ${counts[metric]}\n`
|
||||
})
|
||||
|
||||
res.status(200).setHeader('Content-Type', 'text/plain').send(output)
|
||||
|
|
|
|||
Loading…
Reference in a new issue