MCPcopy
hub / github.com/dropwizard/metrics

github.com/dropwizard/metrics @v5.0.7 sqlite

repository ↗ · DeepWiki ↗ · release v5.0.7 ↗
4,185 symbols 17,137 edges 479 files 617 documented · 15%
README

Metrics

Java CI Maven Central Javadoc Contribute with Gitpod

📈 Capturing JVM- and application-level metrics. So you know what's going on.

For more information, please see the documentation

Versions

Version Source Branch Documentation Status
<2.2.x - - 🔴 unmaintained
2.2.x - Docs 🔴 unmaintained
3.0.x release/3.0.x branch Docs 🔴 unmaintained
3.1.x release/3.1.x branch Docs 🔴 unmaintained
3.2.x release/3.2.x branch Docs 🔴 unmaintained
4.0.x release/4.0.x branch Docs 🔴 unmaintained
4.1.x release/4.1.x branch Docs 🔴 unmaintained
4.2.x release/4.2.x branch Docs 🟢 maintained
5.0.x release/5.0.x branch - 🟡 on pause

Future development

New not-backward compatible features (for example, support for tags) will be implemented in a 5.x.x release. The release will have new Maven coordinates, a new package name and a backwards-incompatible API.

Source code for 5.x.x resides in the release/5.0.x branch.

License

Copyright (c) 2010-2013 Coda Hale, Yammer.com, 2014-2021 Dropwizard Team

Published under Apache Software License 2.0, see LICENSE

Extension points exported contracts — how you extend this code

HealthCheck (Interface)
A health check for a component of your application. [16 implementers]
metrics-healthchecks/src/main/java/io/dropwizard/metrics5/health/HealthCheck.java
Summing (Interface)
An interface for metric types which aggregate a sum [9 implementers]
metrics-core/src/main/java/io/dropwizard/metrics5/Summing.java
StatementNameStrategy (Interface)
Interface for strategies to statement contexts to metric names. [5 implementers]
metrics-jdbi3/src/main/java/io/dropwizard/metrics5/jdbi3/strategies/StatementNameStrategy.java
JmxCounterMBean (Interface)
(no doc) [16 implementers]
metrics-jmx/src/main/java/io/dropwizard/metrics5/jmx/JmxReporter.java
MetricRegistryListener (Interface)
(no doc) [8 implementers]
metrics-legacy-adapter/src/main/java/com/codahale/metrics/MetricRegistryListener.java
JmxTestMBean (Interface)
(no doc) [20 implementers]
metrics-jvm/src/test/java/io/dropwizard/metrics5/jvm/JmxAttributeGaugeTest.java
GraphiteSender (Interface)
(no doc) [8 implementers]
metrics-graphite/src/main/java/io/dropwizard/metrics5/graphite/GraphiteSender.java
InfluxDbSender (Interface)
(no doc) [2 implementers]
metrics-influxdb/src/main/java/io/dropwizard/metrics5/influxdb/InfluxDbSender.java

Core symbols most depended-on inside this repo

build
called by 458
metrics-core/src/main/java/io/dropwizard/metrics5/MetricName.java
name
called by 445
metrics-core/src/main/java/io/dropwizard/metrics5/MetricRegistry.java
get
called by 395
metrics-ehcache/src/main/java/io/dropwizard/metrics5/ehcache/InstrumentedEhcache.java
resolve
called by 376
metrics-core/src/main/java/io/dropwizard/metrics5/MetricName.java
getCount
called by 350
metrics-core/src/main/java/io/dropwizard/metrics5/Metered.java
register
called by 232
metrics-core/src/main/java/io/dropwizard/metrics5/MetricRegistry.java
meter
called by 179
metrics-core/src/main/java/io/dropwizard/metrics5/MetricRegistry.java
getValue
called by 165
metrics-core/src/main/java/io/dropwizard/metrics5/Gauge.java

Shape

Method 3,524
Class 601
Interface 50
Enum 10

Languages

Java100%

Modules by API surface

metrics-jmx/src/main/java/io/dropwizard/metrics5/jmx/JmxReporter.java133 symbols
metrics-core/src/main/java/io/dropwizard/metrics5/NoopMetricRegistry.java80 symbols
metrics-core/src/test/java/io/dropwizard/metrics5/MetricNameTest.java66 symbols
metrics-core/src/test/java/io/dropwizard/metrics5/MetricRegistryTest.java58 symbols
metrics-core/src/main/java/io/dropwizard/metrics5/Slf4jReporter.java57 symbols
metrics-jersey40/src/main/java/io/dropwizard/metrics5/jersey40/InstrumentedResourceMethodApplicationListener.java47 symbols
metrics-jersey31/src/main/java/io/dropwizard/metrics5/jersey31/InstrumentedResourceMethodApplicationListener.java47 symbols
metrics-jersey3/src/main/java/io/dropwizard/metrics5/jersey3/InstrumentedResourceMethodApplicationListener.java47 symbols
metrics-jersey2/src/main/java/io/dropwizard/metrics5/jersey2/InstrumentedResourceMethodApplicationListener.java47 symbols
metrics-legacy-adapter/src/test/java/com/codahale/metrics/MetricRegistryTest.java46 symbols
metrics-core/src/main/java/io/dropwizard/metrics5/MetricRegistry.java45 symbols
metrics-core/src/test/java/io/dropwizard/metrics5/NoopMetricRegistryTest.java43 symbols

Dependencies from manifests, versioned

ch.qos.logback:logback-classic
ch.qos.logback:logback-core
com.fasterxml.jackson.core:jackson-core
com.hardis.collectd:jcollectd1.0.3 · 1×
com.helger:profiler
com.rabbitmq:amqp-client
io.dropwizard.metrics5:metrics-annotation
io.dropwizard.metrics5:metrics-bom
io.dropwizard.metrics5:metrics-caffeine3
io.dropwizard.metrics5:metrics-collectd

For agents

$ claude mcp add metrics \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact