Sha256: 87bfe6e470d94fc358544f299127a4f646a1ade49338982a9467f023474560a9
Contents?: true
Size: 492 Bytes
Versions: 8
Compression:
Stored size: 492 Bytes
Contents
# Prometheus Interceptor Logs basic request/response information to prometheus. ```ruby require 'prometheus/client' LHC::Prometheus.client = Prometheus::Client LHC::Prometheus.namespace = 'web_location_app' LHC.config.interceptors = [LHC::Prometheus] ``` ```ruby LHC.get('http://local.ch') ``` - Creates a promethues counter that receives additional meta information for: `:code`, `:success` and `:timeout`. - Creates a promethues histogram for response times in milliseconds.
Version data entries
8 entries across 8 versions & 1 rubygems