diff --git a/akka-docs/src/main/paradox/cluster-metrics.md b/akka-docs/src/main/paradox/cluster-metrics.md index 9781d7d188..1671437f2e 100644 --- a/akka-docs/src/main/paradox/cluster-metrics.md +++ b/akka-docs/src/main/paradox/cluster-metrics.md @@ -12,25 +12,12 @@ such as "Node Let-it-crash" when CPU steal time becomes excessive. Cluster Metrics Extension is a separate Akka module delivered in `akka-cluster-metrics` jar. To enable usage of the extension you need to add the following dependency to your project: -: -Scala -: @@@ vars -``` -"com.typesafe.akka" % "akka-cluster-metrics_$scala.binary_version$" % "$akka.version$" -``` -@@@ - -Java -: @@@ vars -``` - - com.typesafe.akka - akka-cluster-metrics_$scala.binary_version$ - $akka.version$ - -``` -@@@ +@@dependency[sbt,Maven,Gradle] { + group="com.typesafe.akka" + artifact="akka-cluster-metrics_$scala.binary_version$" + version="$akka.version$" +} and add the following configuration stanza to your `application.conf` : @@ -235,4 +222,4 @@ Custom metrics collector implementation class must be specified in the The Cluster metrics extension can be configured with the following properties: -@@snip [reference.conf]($akka$/akka-cluster-metrics/src/main/resources/reference.conf) \ No newline at end of file +@@snip [reference.conf]($akka$/akka-cluster-metrics/src/main/resources/reference.conf)