Skip to content

Conversation

MrAnno
Copy link
Collaborator

@MrAnno MrAnno commented Apr 24, 2024

As the stats prometheus command is intended to be used to forward metrics to Prometheus or any other time-series database, displaying orphaned metrics should be avoided in order not to insert new data points when a given metric is no longer alive.

In case you are interested in the last known value of orphaned counters, use the stats or query subcommands.

MrAnno added 2 commits April 24, 2024 15:35
As the `stats prometheus` command is intended to be used
to forward metrics to Prometheus or any other time-series
database, displaying orphaned metrics should be avoided
in order not to insert new data points when a given metric
is no longer alive.

Signed-off-by: László Várady <laszlo.varady@axoflow.com>
Signed-off-by: László Várady <laszlo.varady@axoflow.com>
@MrAnno MrAnno requested a review from furiel April 24, 2024 13:37
@furiel furiel merged commit 859fb5a into syslog-ng:master Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants