Comments (9)
Can you use relative paths?
from jmx_exporter.
i have to run jar as a service(using nssm), so relative path would be last thing to try.
from jmx_exporter.
I can use absolute paths in windows, watch out the slash/bakslashes...
-javaagent:c:\prometheus\jmx_exporter-parent-0.6\jmx_prometheus_javaagent\target\jmx_prometheus_javaagent-0.6.jar=9011:src/main/resources/prometheus-jmx.yml -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=127.0.0.1
I am having other issues, but the paths do work.
from jmx_exporter.
Thanks, I will try out this now.
[UPDATE]
the problem is with config yml's absolute path, I am using relative path now, which is working as expected
from jmx_exporter.
Can I get Jvm version (java.lang.Runtime) form JMX-exporter metrics. I have not set any pattern but still I am getting only java_lang_Runtime Start & Uptime.
java_lang_Runtime_StartTime 1.455174377204E12
java_lang_Runtime_Uptime 54458.0
from jmx_exporter.
That's not exposed currently and the current jmx exporter doesn't do strings. This would be something to add to simpleclient_hotspot.
from jmx_exporter.
ok..thanks for the information!
from jmx_exporter.
java -javaagent:../../common/rd/jmx_prometheus_javaagent-0.12.0.jar=localhost:8080:config.yaml
Usage: -javaagent:/path/to/JavaAgent.jar=[host:]
:
I am getting usage error. How to resolve it
from jmx_exporter.
java -javaagent:jmx_prometheus_javaagent-0.12.0.jar=8080:config.yaml -jar EmployeeService-0.0.1-SNAPSHOT.jar
Error:
Usage: -javaagent:/path/to/JavaAgent.jar=[host:]:
The Problem was solved after modifying the config.yaml to following:
tartDelaySeconds: 0
ssl: false
lowercaseOutputName: false
lowercaseOutputLabelNames: false
from jmx_exporter.
Related Issues (20)
- Can't add metrics to blacklistObjectNames HOT 6
- Plan for release with Prometheus Client 1.x? HOT 2
- no main manifest attribute, in jmx_prometheus_javaagent-0.19.0.jar HOT 1
- Hazelcast Metrics are not showing HOT 2
- Remote jmx has enabled SSL. How to configure jmx-exporter for verification? HOT 13
- Ability to use lowercaseOutputName in particular rules HOT 4
- jmx exporter inside Confluent Kafka broker container HOT 2
- After applying JMX filtering pattern, it takes 23 secs to scrape the metrics, is it expected behaviour? HOT 6
- Collection fails for Kafka using release 1.0.0 HOT 14
- feature request: allow to exclude specific attribute patterns inside a composite attribute HOT 3
- Clarify in documentation "jvm_*" metrics HOT 4
- jmxexporter adding incorrect _total suffix to #HELP and #TYPE when using COUNTER HOT 10
- Kafka Metrics showing type as "Untyped" HOT 3
- Advice for validating JMX exporter rules HOT 1
- Support multi-target in http server mode HOT 6
- JMX agent interfering with logging format of application HOT 3
- Extracting PM metrics on Kafka Cluster results in duplicate files due to different cases in the same metric names. HOT 5
- Metric name "_info" suffix gets trimmed HOT 1
- kafka command raise 'Address Already in used' after configuration HOT 11
- kafka_2.13-3.7.1 without metrics HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jmx_exporter.