-
Notifications
You must be signed in to change notification settings - Fork 166
[jmx-scraper] Package jmx scraper as a deb/rpm/tar.gz package #1964 #2099
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
[jmx-scraper] Package jmx scraper as a deb/rpm/tar.gz package #1964 #2099
Conversation
…lemetry#1964 - open-telemetry#1964 - added copyJarForPackage for gradle to copy jar for packaging - added createTarBall to create a packaged tar.gz - added systemd service file
…lemetry#1964 - open-telemetry#1964 - added copyJarForPackage for gradle to copy jar for packaging - added createTarBall to create a packaged tar.gz - added systemd service file
🔧 The result from spotlessApply was committed to the PR branch. |
## Installation | ||
jmx-scraper is typically run as a standalone JAR file. | ||
o use it, you generally need to download the latest JAR from the OpenTelemetry Java Contrib releases page | ||
or retrieve it as a dependency from a Maven repository. | ||
Once obtained, you can run it using the Java command line tool. | ||
Please refer to [Usage](#usage). | ||
|
||
For systemd service, the opentelemetry-jmx-scraper-x.xx.x.tar.gz tar.gz file is available | ||
with the JAR and a ready to install systemd service file. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, I think this was added to the wrong README.md. Shouldn't be in the maven extension dir I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I don't think we should bundle/package a separate .tar or .tgz file -- in the java world the .jar
should be enough, and we started publishing that with the last release.
I think that adding the systemd
service file is fine, if it comes with docs on how to use it.
Description:
Existing Issue(s):
#1964
Testing:
Documentation:
updated README.MD
Outstanding items:
If we are going ahead with this, then let me add the .tar.gz to our Release page as well.