Metrics is a Java library which gives you unparalleled insight into what your code does in production. Metrics provides a powerful toolkit of ways to measure the behavior of critical components in your production environment. With modules for common libraries like Jetty, Logback, Log4j, Apache HttpClient, Ehcache, JDBI, Jersey and reporting backends like Graphite, Metrics provides you with full-stack visibility. The central library for Metrics is metrics-core, which provides some basic functionality. The starting point for Metrics is the MetricRegistry class, which is a collection of all the metrics for your application (or a subset of your application). Each metric is associated with a MetricRegistry, and has a unique name within that registry. A gauge is the simplest metric type. It just returns a value. If, for example, your application has a value which is maintained by a third-party library, you can easily expose it by registering a Gauge instance which returns that value.

Features

  • Measure the behavior of critical components in your production environmen
  • Metrics provides you with full-stack visibility
  • Modules for common libraries like Jetty, Logback, Log4j, Apache HttpClient, etc.
  • Metrics comes with a pre-built health check
  • Centralize your service’s health checks
  • Every metric in a registry has a unique name, which is just a dotted-name string

Project Samples

Project Activity

See All Activity >

Categories

QA Automation, System

License

Apache License V2.0

Follow Metrics

Metrics Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Metrics!

Additional Project Details

Programming Language

Java

Related Categories

Java QA Automation Software, Java System Software

Registered

2021-07-29