...
If you have already installed the Prometheus server, you can skip ahead to the steps for installing the Prometheus adapter here.
For more information about EC Deployments, refer to Execution Context Deployments (ECDs) (3.0).
...
The value field in the values.yaml
file for your Platform is platform.export.jmx.enabled
. Setting this value to true enables the Prometheus server to scrape the JMX metrics from the Platform. Additionally, you can configure a port for your JMX exporter using platform.export.jmx.port
and assigning it any port number allows the JMX exporter to expose the metrics on that particular port.
Note | ||
---|---|---|
|
Code Block |
---|
kubectl port-forward <pod name> <arbitrary port>:<jmx port defined in debug.jmx.port> |
title | Example |
---|
Code Block |
---|
kubectl port-forward platform-0 30103:8888 |
title | Example: values.yaml file with JMX exporter enabled for Platform |
---|
This is an example of a values.yaml file where the JMX exporter is enabled for Platform on port 8888.
Code Block |
---|
usage-engine-private-edition / values.yaml: jmx: export: enabled: true port: 8888 |
...