teragrep / lsh_01

logstash-http-input to syslog bridge
https://teragrep.com
Apache License 2.0
0 stars 3 forks source link

DropWizard metrics #76

Closed 51-code closed 1 month ago

51-code commented 2 months ago

Setup can be found in Metrics.java.

Includes new config parameter: prometheus.port with a default of 1234. This is the port for the Jetty server that provides the metrics.

Metrics include:

I tried my best to not fill the existing objects with the metrics, so I made decorators where applicable. The metrics are somewhat scattered, as objects have different responsibilities: