Fix doc - use new markdown directive for dependency (#24811)
This commit is contained in:
parent
945440a38d
commit
1ca612985e
1 changed files with 6 additions and 19 deletions
|
|
@ -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.
|
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:
|
To enable usage of the extension you need to add the following dependency to your project:
|
||||||
:
|
|
||||||
|
|
||||||
Scala
|
@@dependency[sbt,Maven,Gradle] {
|
||||||
: @@@ vars
|
group="com.typesafe.akka"
|
||||||
```
|
artifact="akka-cluster-metrics_$scala.binary_version$"
|
||||||
"com.typesafe.akka" % "akka-cluster-metrics_$scala.binary_version$" % "$akka.version$"
|
version="$akka.version$"
|
||||||
```
|
}
|
||||||
@@@
|
|
||||||
|
|
||||||
Java
|
|
||||||
: @@@ vars
|
|
||||||
```
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.typesafe.akka</groupId>
|
|
||||||
<artifactId>akka-cluster-metrics_$scala.binary_version$</artifactId>
|
|
||||||
<version>$akka.version$</version>
|
|
||||||
</dependency>
|
|
||||||
```
|
|
||||||
@@@
|
|
||||||
|
|
||||||
and add the following configuration stanza to your `application.conf`
|
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:
|
The Cluster metrics extension can be configured with the following properties:
|
||||||
|
|
||||||
@@snip [reference.conf]($akka$/akka-cluster-metrics/src/main/resources/reference.conf)
|
@@snip [reference.conf]($akka$/akka-cluster-metrics/src/main/resources/reference.conf)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue