Skip to content

Commit

Permalink
Update documentation for rel 0.17.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fstab committed Sep 10, 2022
1 parent 6006da9 commit 316a641
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions MAINTAINER_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Use the [Versions Maven Plugin](https://www.mojohaus.org/versions-maven-plugin/i
## Release

```
./mvnw release:prepare -DreleaseVersion=0.17.0 -DdevelopmentVersion=0.17.1-SNAPSHOT
./mvnw release:perform -DreleaseVersion=0.17.0 -DdevelopmentVersion=0.17.1-SNAPSHOT
./mvnw release:prepare -DreleaseVersion=0.17.1 -DdevelopmentVersion=0.17.2-SNAPSHOT
./mvnw release:perform -DreleaseVersion=0.17.1 -DdevelopmentVersion=0.17.2-SNAPSHOT
```

`release:prepare` does Github tags and commits, while `release:perform` signs the artifacts and uploads them to the staging repositoring on [https://oss.sonatype.org](https://oss.sonatype.org).
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ Agent is thus strongly encouraged.
## Running the Java Agent

The Java agent is available in two versions with identical functionality:
* [jmx_prometheus_javaagent-0.17.0.jar](https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.17.0/jmx_prometheus_javaagent-0.17.0.jar) requires Java >= 7.
* [jmx_prometheus_javaagent-0.17.0_java6.jar](https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent_java6/0.17.0/jmx_prometheus_javaagent_java6-0.17.0.jar) is compatible with Java 6.
* [jmx_prometheus_javaagent-0.17.1.jar](https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.17.1/jmx_prometheus_javaagent-0.17.1.jar) requires Java >= 7.
* [jmx_prometheus_javaagent-0.17.1_java6.jar](https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent_java6/0.17.1/jmx_prometheus_javaagent_java6-0.17.1.jar) is compatible with Java 6.

Both versions are built from the same code and differ only in the versions of the bundled dependencies.

To run as a Java agent, download one of the JARs and run:
```
java -javaagent:./jmx_prometheus_javaagent-0.17.0.jar=12345:config.yaml -jar yourJar.jar
java -javaagent:./jmx_prometheus_javaagent-0.17.1.jar=12345:config.yaml -jar yourJar.jar
```

Metrics will now be accessible at [http://localhost:12345/metrics](http://localhost:12345/metrics).
Expand All @@ -39,15 +39,15 @@ Example configurations can be found in the `example_configs/` directory.
## Running the Standalone HTTP Server

The HTTP server is available in two versions with identical functionality:
* [jmx_prometheus_httpserver-0.17.0.jar](https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_httpserver/0.17.0/jmx_prometheus_httpserver-0.17.0.jar) requires Java >= 7.
* [jmx_prometheus_httpserver-0.17.0_java6.jar](https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_httpserver_java6/0.17.0/jmx_prometheus_httpserver_java6-0.17.0.jar) is compatible with Java 6.
* [jmx_prometheus_httpserver-0.17.1.jar](https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_httpserver/0.17.1/jmx_prometheus_httpserver-0.17.1.jar) requires Java >= 7.
* [jmx_prometheus_httpserver-0.17.1_java6.jar](https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_httpserver_java6/0.17.1/jmx_prometheus_httpserver_java6-0.17.1.jar) is compatible with Java 6.

Both versions are built from the same code and differ only in the versions of the bundled dependencies.

To run the standalone HTTP server, download one of the JARs and run:

```
java -jar jmx_prometheus_httpserver-0.17.0.jar 12345 config.yaml
java -jar jmx_prometheus_httpserver-0.17.1.jar 12345 config.yaml
```

Metrics will now be accessible at [http://localhost:12345/metrics](http://localhost:12345/metrics).
Expand Down

0 comments on commit 316a641

Please sign in to comment.