Using Prometheus to Analyze TIBCO ActiveMatrix Application Metrics
Sample YAML files to deploy Prometheus in Kubernetes are provided at amsgce-runtime-<version>\samples\kubernetes\prometheus.
Before you begin To monitor an application with Prometheus, provide the following configuration details in the application YAML file:
The following annotations are mandatory:
prometheus.io/scrape:'true': Setting this annotation to true registers the application with the monitoring application and enables the metrics collection on the application. Setting the annotation to false deregisters it from the monitoring application and turns off the metrics collection.-
prometheus.io/port: '9998':This is the monitoring application port.
Procedure
For complete instructions, see the file amsgce-runtime-<version>\samples\kubernetes\prometheus\readme.md.