Module: Puma::Plugin::Telemetry
- Defined in:
- lib/puma/plugin/telemetry.rb,
lib/puma/plugin/telemetry/data.rb,
lib/puma/plugin/telemetry/config.rb,
lib/puma/plugin/telemetry/version.rb,
lib/puma/plugin/telemetry/targets/io_target.rb,
lib/puma/plugin/telemetry/targets/datadog_statsd_target.rb
Overview
Telemetry plugin for puma, supporting:
-
multiple targets, decide where to push puma telemetry information, i.e. datadog, cloudwatch, logs
-
filtering, select which metrics are interesting for you, extend when necessery
Defined Under Namespace
Modules: CommonData, PluginInstanceMethods, Targets Classes: ClusteredData, Config, Error, SocketData, WorkerData
Constant Summary collapse
- VERSION =
'1.1.4'
Class Attribute Summary collapse
Class Method Summary collapse
Class Attribute Details
Class Method Details
.build(launcher = nil) ⇒ Object
33 34 35 |
# File 'lib/puma/plugin/telemetry.rb', line 33 def build(launcher = nil) socket_telemetry(puma_telemetry, launcher) end |
.configure {|config| ... } ⇒ Object
29 30 31 |
# File 'lib/puma/plugin/telemetry.rb', line 29 def configure yield(config) end |