Skip to content

Commit 28cc1f1

Browse files
committed
[jmx-scraper] Package jmx scraper as a deb/rpm/tar.gz package #1964
- #1964 - added copyJarForPackage for gradle to copy jar for packaging - added createTarBall to create a packaged tar.gz - added systemd service file
1 parent 52d38da commit 28cc1f1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

maven-extension/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@ The Maven OpenTelemetry Extension is configured using environment variables or J
1414
In the code snippets below, replace `OPENTELEMETRY_MAVEN_VERSION` with the [latest
1515
release](https://search.maven.org/search?q=g:io.opentelemetry.contrib%20AND%20a:opentelemetry-maven-extension).
1616

17+
## Installation
18+
jmx-scraper is typically run as a standalone JAR file.
19+
o use it, you generally need to download the latest JAR from the OpenTelemetry Java Contrib releases page
20+
or retrieve it as a dependency from a Maven repository.
21+
Once obtained, you can run it using the Java command line tool.
22+
Please refer to [Usage](#usage).
23+
24+
For systemd service, the opentelemetry-jmx-scraper-x.xx.x.tar.gz tar.gz file is available
25+
with the JAR and a ready to install systemd service file.
26+
27+
1728
### Adding the extension to the classpath
1829

1930
Add the Maven OpenTelemetry Extension to `${maven.home}/lib/ext` or to the classpath using `-Dmaven.ext.class.path=`.

0 commit comments

Comments
 (0)