mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Improve exported metrics naming convention
This commit is contained in:
parent
d24db92e03
commit
c581372a93
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}_count{} ${counts[metric]}\n`
|
||||
output += `omnivore_queue_messages_${metric}\{queue="${QUEUE_NAME}"\} ${counts[metric]}\n`
|
||||
})
|
||||
|
||||
res.status(200).setHeader('Content-Type', 'text/plain').send(output)
|
||||
|
|
|
|||
Loading…
Reference in a new issue