From 8a51f8c720ea7e9a0ed8c05283399fbac8d0c1e5 Mon Sep 17 00:00:00 2001 From: John Sanda Date: Fri, 7 Jul 2017 14:44:14 -0400 Subject: 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. --- roles/openshift_metrics/templates/hawkular_metrics_rc.j2 | 1 + 1 file changed, 1 insertion(+) (limited to 'roles/openshift_metrics') diff --git a/roles/openshift_metrics/templates/hawkular_metrics_rc.j2 b/roles/openshift_metrics/templates/hawkular_metrics_rc.j2 index 9a9363075..feb17ab98 100644 --- a/roles/openshift_metrics/templates/hawkular_metrics_rc.j2 +++ b/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: -- cgit v1.2.3