Comments (4)
As the release note states, it is a metric, not a log. syslog-ng-ctl stats prometheus
prints it for you.
from syslog-ng.
No, it's not included in syslog-ng-ctl stats prometheus
but:
~# syslog-ng-ctl healthcheck
syslogng_io_worker_latency_seconds 6.1191000000000004e-05
syslogng_mainloop_io_worker_roundtrip_latency_seconds 0.00010469800000000001
syslogng_internal_events_queue_usage_ratio 0
However, my problem is not related to syslog-ng-ctl
, but to the syslog-ng.conf
option.
from syslog-ng.
It is included on stats(level(1));
./install/sbin/syslog-ng-ctl stats prometheus | sort
syslogng_events_allocated_bytes 0
syslogng_input_events_total{id="#anon-source0#0"} 1
syslogng_io_worker_latency_seconds 0.00033719899999999999
syslogng_last_config_file_modification_timestamp_seconds 1711357658
syslogng_last_config_reload_timestamp_seconds 1711357659
syslogng_last_successful_config_reload_timestamp_seconds 1711357659
syslogng_mainloop_io_worker_roundtrip_latency_seconds 0.00066915900000000001
syslogng_memory_queue_capacity{filename="-",driver="file",id="#anon-destination0#0"} 10000
syslogng_memory_queue_events{filename="-",driver="file",id="#anon-destination0#0"} 0
syslogng_memory_queue_memory_usage_bytes{filename="-",driver="file",id="#anon-destination0#0"} 0
syslogng_output_event_bytes_total{filename="-",driver="file",id="#anon-destination0#0"} 1
syslogng_output_event_delay_sample_age_seconds{filename="-",driver="file",id="#anon-destination0#0"} 28
syslogng_output_event_delay_sample_seconds{filename="-",driver="file",id="#anon-destination0#0"} 0.040000000000000001
syslogng_output_events_total{filename="-",driver="file",id="#anon-destination0#0",result="delivered"} 1
syslogng_output_events_total{filename="-",driver="file",id="#anon-destination0#0",result="dropped"} 0
syslogng_output_events_total{filename="-",driver="file",id="#anon-destination0#0",result="queued"} 0
syslogng_scratch_buffers_bytes 0
syslogng_scratch_buffers_count 12
I see no point of setting healthcheck-freq()
. We behave the same way for level()
or freq()
, too: syslog-ng does not start with a syntax error.
from syslog-ng.
My understanding is that the example may have been not the best one in the NEWS entry, e.g. it should have included an example frequency value, whereas now it only has an empty set of brackets.
@czanik I'd close this unless you think we can do something to improve this.
from syslog-ng.
Related Issues (20)
- clang c++ support HOT 1
- trusted-keys: support a secure hash algorithm HOT 1
- Add macro for certificate fingerprint HOT 1
- Unexpected behavior with multiple conditions including 'not' in the filter HOT 4
- There is no problem starting syslog-ng, but Verify reports an error. HOT 1
- OpenTelemetry/OTLP: add support for certificate pinning, like with `trusted-keys()` HOT 3
- Config failing with kafka and template HOT 3
- syslog-ng 3.24.1 sometimes crash in log_pipe_queue HOT 2
- libcloud-auth is underlinked HOT 1
- Fuzzing discovery HOT 1
- Discrepancy in documentation related to how to enable threading for specific sources HOT 5
- Issue using RFC5424 config HOT 17
- Enhance eps_last_1h / eps_last_24h Metrics HOT 2
- Is loki destination actually implemented? HOT 2
- Syslog-ng Service crashes in g_hash_table_lookup function after syslog-ng-ctl reload HOT 2
- `file-reader` supports only polling on linux HOT 2
- destination syslog forget messages on long disconnect/reconnect HOT 4
- modules/affile: NULL deference HOT 1
- lib/cfg-argc.c -- NULL dereference HOT 1
- Multiple issues around the test cases using cmake
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from syslog-ng.