Browse Source

Enable JMX reporting of internal metrics

We need to enable jmx reporting of our internal, dropwizard metrics
so that they can be exposed over prometheus endpoint.
John Sanda 7 years ago
parent
commit
8a51f8c720
1 changed files with 1 additions and 0 deletions
  1. 1 0
      roles/openshift_metrics/templates/hawkular_metrics_rc.j2

+ 1 - 0
roles/openshift_metrics/templates/hawkular_metrics_rc.j2

@@ -55,6 +55,7 @@ spec:
         - "-Dcom.datastax.driver.FORCE_NIO=true"
         - "-DKUBERNETES_MASTER_URL={{openshift_metrics_master_url}}"
         - "-DUSER_WRITE_ACCESS={{openshift_metrics_hawkular_user_write_access}}"
+        - "-Dhawkular.metrics.jmx-reporting-enabled"
         env:
         - name: POD_NAMESPACE
           valueFrom: