Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 649 Bytes

File metadata and controls

18 lines (12 loc) · 649 Bytes

Prometheus Metrics

Exposes Spring Actuator metrics on /prometheus using the Prometheus exposition text format version 0.0.4.

All metrics defaults to the gauge type, unless a known format is specified by a prefix in the metric name. Currently the only two detected types are gauge_ and counter_.

Scrape configuration example

  - job_name: 'zipkin'
    scrape_interval: 5s
    metrics_path: '/prometheus'
    static_configs:
      - targets: ['localhost:9411']