Skip to content

threaded-dests/afsocket: add new metric syslogng_output_unreachable#4876

Merged
alltilla merged 3 commits intosyslog-ng:masterfrom
MrAnno:metric-destination-status
Apr 3, 2024
Merged

threaded-dests/afsocket: add new metric syslogng_output_unreachable#4876
alltilla merged 3 commits intosyslog-ng:masterfrom
MrAnno:metric-destination-status

Conversation

@MrAnno
Copy link
Collaborator

@MrAnno MrAnno commented Mar 29, 2024

This bool-like metric shows whether a destination is reachable or not.
sum() can be used to count all unreachable outputs, hence the negated name.

For example:

syslogng_output_unreachable{driver="http",url="http://localhost",id="d_http#2",worker="0"} 0
syslogng_output_unreachable{id="d_network#0",driver="afsocket",transport="tcp",address="localhost:5555"} 1

MrAnno added 3 commits March 29, 2024 17:54
This bool-like metric shows whether a destination is reachable or not.
sum() can be used to count all unreachable outputs, hence the negated name.

Signed-off-by: László Várady <[email protected]>
This bool-like metric shows whether a destination is reachable or not.
sum() can be used to count all unreachable outputs, hence the negated name.

Signed-off-by: László Várady <[email protected]>
Signed-off-by: László Várady <[email protected]>
@alltilla
Copy link
Collaborator

alltilla commented Apr 3, 2024

I don't think we should block PRs on the macOS failure, it also fails on master.

@MrAnno
Copy link
Collaborator Author

MrAnno commented Apr 3, 2024

I agree, let's merge it.

@alltilla alltilla merged commit 77d3bf4 into syslog-ng:master Apr 3, 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