Skip to content
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

NFCKT-808 Add prometheus agent. Keystore/pw is for the local test setup #118

Merged
merged 1 commit into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
NFCKT-808 Add prometheus agent. Keystore/pw is for the local test setup
  • Loading branch information
CLandsberg committed Jun 11, 2024
commit e629c47715a18409a5804208126efe594022d49e
2 changes: 1 addition & 1 deletion linux-service/run.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
sudo /usr/bin/java -Dquarkus.profile=PU -jar quarkus-run.jar
sudo /usr/bin/java -javaagent:jmx_prometheus_javaagent-1.0.1.jar=20000:prometheus.yaml -Dquarkus.profile=PU -jar quarkus-run.jar
Binary file added prometheus/prometheus.jks
Binary file not shown.
9 changes: 9 additions & 0 deletions src/main/resources/prometheus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
startDelaySeconds: 0
httpServer:
ssl:
keyStore:
filename: prometheus/prometheus.jks
password: 7PgiiD8Q2qir
certificate:
alias: selfsigned
attrNameSnakeCase: false
Loading