Registry / observability / metrics-ganglia

metrics-ganglia

JSON →
library3.2.6javamavenunverified

A reporter for Metrics which announces measurements to a Ganglia cluster.

<dependency> <groupId>io.dropwizard.metrics</groupId> <artifactId>metrics-ganglia</artifactId> <version>3.2.6</version> </dependency>
INSTALL
IMPORT
SIG · METRICS-GANGLIA
M
metrics-ganglia
observabilityjavav3.2.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GangliaReporter
✓ com.codahale.metrics.ganglia.GangliaReporter

Minimal example to report metrics to a Ganglia monitoring system.

import com.codahale.metrics.MetricRegistry; import com.codahale.metrics.ganglia.GangliaReporter; import info.ganglia.gmetric4j.gmetric.GMetric; public class GangliaExample { public static void main(String[] args) throws Exception { MetricRegistry registry = new MetricRegistry(); GMetric ganglia = new GMetric("localhost", 8649, GMetric.UDPAddressingMode.UNICAST); GangliaReporter reporter = GangliaReporter.forRegistry(registry).build(ganglia); reporter.start(1, java.util.concurrent.TimeUnit.MINUTES); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.2.6latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
19
OpenAI (training)
2
Resources