Excerpt |
---|
Application and services can expose application metrics in Prometheus format and have the metrics collected by the infrastructure. |
An application that exposes application metrics in Prometheus format can have its metrics collected by the infrastructure by configuring the Helm Chart - ehealth-service values.
...
Collected metrics can be explored via splunk and the associated indiciesindices:
Code Block |
---|
index={ENVIRONMENT}_k8s_{NAMESPACE}_metrics
index={ENVIRONMENT}_k8s_{NAMESPACE}_metrics |
For instance: index=inttestexttest_k8s_ehealth-public_metrics
...
Client libraries for exporting Prometheus metrics exists for a number of languages: https://prometheus.io/docs/instrumenting/clientlibs/
More detailed information on the observed values in splunk can be found here: /wiki/spaces/PI/pages/511443099