<dependency>
<groupId>org.eclipse.microprofile.metrics</groupId>
<artifactId>microprofile-metrics-api</artifactId>
<version>2.0</version>
</dependency>
libraryDependencies += "org.eclipse.microprofile.metrics" % "microprofile-metrics-api" % "2.0"
@Grapes(
@Grab(group='org.eclipse.microprofile.metrics', module='microprofile-metrics-api', version='2.0')
)
<dependency org="org.eclipse.microprofile.metrics" name="microprofile-metrics-api" rev="2.0" />