Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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.

An example:

metrics:
  enabled: true
  path: /actuator/prometheus
  port: 8081

Collected metrics can be explored via splunk and the associated indicies:

index={ENVIRONMENT}_k8s_{NAMESPACE}_metrics
index={ENVIRONMENT}_k8s_{NAMESPACE}_metrics

For instance: index=inttest_k8s_ehealth-public_metrics

Access to indices are subject to Access Control, see: https://ehealth-dk.atlassian.net/wiki/spaces/PI/pages/579895426/Adding+Users+to+KeyCloak#List-of-groups-and-roles

Client libraries for exporting Prometheus metrics exists for a number of languages: https://prometheus.io/docs/instrumenting/clientlibs/

  • No labels