Commit f525ccfb authored by Brian Brazil's avatar Brian Brazil

Update for 0.0.10 of client_java

parent 97c0bcec
...@@ -32,12 +32,12 @@ If using Maven, add the following to `pom.xml`: ...@@ -32,12 +32,12 @@ If using Maven, add the following to `pom.xml`:
<dependency> <dependency>
<groupId>io.prometheus</groupId> <groupId>io.prometheus</groupId>
<artifactId>simpleclient</artifactId> <artifactId>simpleclient</artifactId>
<version>0.0.6</version> <version>0.0.10</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>io.prometheus</groupId> <groupId>io.prometheus</groupId>
<artifactId>simpleclient_pushgateway</artifactId> <artifactId>simpleclient_pushgateway</artifactId>
<version>0.0.6</version> <version>0.0.10</version>
</dependency> </dependency>
``` ```
...@@ -69,7 +69,7 @@ void executeBatchJob() throws Exception { ...@@ -69,7 +69,7 @@ void executeBatchJob() throws Exception {
} finally { } finally {
durationTimer.setDuration(); durationTimer.setDuration();
PushGateway pg = new PushGateway("127.0.0.1:9091"); PushGateway pg = new PushGateway("127.0.0.1:9091");
pg.pushAdd(registry, "my_batch_job", "my_batch_job"); pg.pushAdd(registry, "my_batch_job");
} }
} }
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment