HiWe have open source hadoop 2.7.3 installed on AWS EC2 instances. We already use redis and mongo exporters for promethous exporters for grafana.We are trying to do the same to collect all the hadoop (namenode and datanode) metrices and display on grafana graphs. We could not find any specific exporter for hadoop metrices. We tried the JMX Exporter and tried to modify the yml file as below keeping in line with cassandra exporter but it is not exporting the metrices. We cant see anything on the web url. We do see similar list of metrices fpr redis but not for mongo.We tried with:startDelaySeconds: 0
hostPort: 127.0.0.1:1234jmxUrl: service:jmx:rmi:///jndi/rmi://127.0.0.1:1234/jmxrmi
ssl: falselowercaseOutputName: falselowercaseOutputLabelNames: falsewhitelistObjectNames: ["org.apache.hadoop.metrics2:*"]blacklistObjectNames: ["org.apache.hadoop.metrics2:type=ColumnFamily,*"]rules:- pattern: "org.apache.hadoop.metrics2<type=(\\w+), name=(\\w+)><>Value: (\\d+)"name: hadoop_$1_$2value: $3valueFactor: 0.001labels: {}help: "Hadoop metric $1 $2"type: GAUGEattrNameSnakeCase: falseAnd command as :java -javaagent:./jmx_prometheus_javaagent-0.9.jar=1234:config.yaml -jar hadoop-common-2.7.3.jarBut it is giving errors and not displaying anything. Maybe we are doing the basics itself wrong.Can we have some insight as to how do we use jmx exporters for hadoop metrices for Prometheus-Grafana.Thanks
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/d32c0722-4d7a-4c7a-9025-b507865e0feb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks for the reply.So I deleted those two lines from my config.yaml and tried with same command to start the agent. Now, I am getting this error:2017-07-22 19:00:11.936:INFO:ipjsoejs.Server:jetty-8.y.z-SNAPSHOT2017-07-22 19:00:11.978:INFO:ipjsoejs.AbstractConnector:Started SelectChann...@0.0.0.0:1234no main manifest attribute, in hadoop-common-2.7.3.jarIsn't hadoop-common-2.7.3.jar exposing the hadoop related jvm parameters? Please share some insights here.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/8f5f3b39-21f8-46c6-a562-da00a6e53f6b%40googlegroups.com.