Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.dropwizard:metrics:5.0.0-rc24'
}
dependencies {
implementation("com.github.dropwizard:metrics:5.0.0-rc24")
}
<dependency>
<groupId>com.github.dropwizard</groupId>
<artifactId>metrics</artifactId>
<version>5.0.0-rc24</version>
</dependency>
libraryDependencies += "com.github.dropwizard" % "metrics" % "5.0.0-rc24"
:dependencies [[com.github.dropwizard/metrics "5.0.0-rc24"]]
📈 Capturing JVM- and application-level metrics. So you know what's going on.
For more information, please see the documentation
| 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 |
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.
Copyright (c) 2010-2013 Coda Hale, Yammer.com, 2014-2021 Dropwizard Team
Published under Apache Software License 2.0, see LICENSE