Push metrics to Prometheus ΒΆ

This how-to guide shows you how to push metrics from your application using the Prometheus Pushgateway. This is typically used in Nais jobs, which by it's nature often is short-lived and cannot effectively be scraped by Prometheus.

Prometheus has further explanations and examples here

Add pushgateway and accessPolicy to your manifest ΒΆ

.nais/naisjob.yaml

yaml

Send metrics to your application ΒΆ

java