Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 840 Bytes

File metadata and controls

39 lines (34 loc) · 840 Bytes

Starter for StatsD and Prometheus custom metrics

Для включения экспорта метрик указать параметры в application.yml.

StatsD

management:
    metrics:
        export:
            statsd:
                enabled: true
                flavor: etsy
                # specify StatsD address
                host: changeit 
                port: 8125

Prometheus

management:
    server:
        # optional – use 8022 for backward compatibility with wetkitty
        port: 8023 
    endpoint: 
        metrics:
            enabled: true
        prometheus:
            enabled: true
    endpoints:
        web:
            exposure:
                include: health,info,prometheus
    metrics:
        export:
            prometheus:
                enabled: true