diff options
author | John Sanda <jsanda@redhat.com> | 2017-07-07 14:44:14 -0400 |
---|---|---|
committer | John Sanda <jsanda@redhat.com> | 2017-07-07 14:44:14 -0400 |
commit | 8a51f8c720ea7e9a0ed8c05283399fbac8d0c1e5 (patch) | |
tree | 297290e03e520aa35e72b240880b3bc6fc360bf9 /roles/openshift_metrics | |
parent | 99ff4fdca9a24a1d5e3953fc7836aee898e62101 (diff) | |
download | openshift-8a51f8c720ea7e9a0ed8c05283399fbac8d0c1e5.tar.gz openshift-8a51f8c720ea7e9a0ed8c05283399fbac8d0c1e5.tar.bz2 openshift-8a51f8c720ea7e9a0ed8c05283399fbac8d0c1e5.tar.xz openshift-8a51f8c720ea7e9a0ed8c05283399fbac8d0c1e5.zip |
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.
Diffstat (limited to 'roles/openshift_metrics')
-rw-r--r-- | roles/openshift_metrics/templates/hawkular_metrics_rc.j2 | 1 |
1 files changed, 1 insertions, 0 deletions
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: |