GithubHelp home page GithubHelp logo

Comments (4)

alltilla avatar alltilla commented on July 23, 2024

As the release note states, it is a metric, not a log. syslog-ng-ctl stats prometheus prints it for you.

from syslog-ng.

czanik avatar czanik commented on July 23, 2024

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.

alltilla avatar alltilla commented on July 23, 2024

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.

bazsi avatar bazsi commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.