Custom metrics Spring Boot starter

Starter for StatsD and Prometheus custom metrics

Лицензия

Лицензия

Категории

Категории

Spring Boot Контейнер Микросервисы Metrics Тестирование приложения и мониторинг Monitoring
Группа

Группа

com.rbkmoney
Идентификатор

Идентификатор

custom-metrics-spring-boot-starter
Последняя версия

Последняя версия

1.2.5
Дата

Дата

Тип

Тип

jar
Описание

Описание

Custom metrics Spring Boot starter
Starter for StatsD and Prometheus custom metrics
Ссылка на сайт

Ссылка на сайт

https://github.com/rbkmoney/custom-metrics-spring-boot-starter.git
Система контроля версий

Система контроля версий

https://github.com/rbkmoney/custom-metrics-spring-boot-starter/tree/master

Скачать custom-metrics-spring-boot-starter

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.rbkmoney/custom-metrics-spring-boot-starter/ -->
<dependency>
    <groupId>com.rbkmoney</groupId>
    <artifactId>custom-metrics-spring-boot-starter</artifactId>
    <version>1.2.5</version>
</dependency>
// https://jarcasting.com/artifacts/com.rbkmoney/custom-metrics-spring-boot-starter/
implementation 'com.rbkmoney:custom-metrics-spring-boot-starter:1.2.5'
// https://jarcasting.com/artifacts/com.rbkmoney/custom-metrics-spring-boot-starter/
implementation ("com.rbkmoney:custom-metrics-spring-boot-starter:1.2.5")
'com.rbkmoney:custom-metrics-spring-boot-starter:jar:1.2.5'
<dependency org="com.rbkmoney" name="custom-metrics-spring-boot-starter" rev="1.2.5">
  <artifact name="custom-metrics-spring-boot-starter" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.rbkmoney', module='custom-metrics-spring-boot-starter', version='1.2.5')
)
libraryDependencies += "com.rbkmoney" % "custom-metrics-spring-boot-starter" % "1.2.5"
[com.rbkmoney/custom-metrics-spring-boot-starter "1.2.5"]

Зависимости

compile (6)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot-autoconfigure jar 2.3.8.RELEASE
org.springframework.boot : spring-boot-configuration-processor Необязательный jar 2.3.8.RELEASE
org.springframework.boot : spring-boot-starter-actuator jar 2.3.8.RELEASE
io.micrometer : micrometer-registry-statsd jar 1.5.6
io.micrometer : micrometer-core jar 1.5.6
io.micrometer : micrometer-registry-prometheus jar 1.5.6

provided (1)

Идентификатор библиотеки Тип Версия
org.springframework.boot : spring-boot jar 2.3.8.RELEASE

Модули Проекта

Данный проект не имеет модулей.

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
com.rbkmoney

RBKmoney

Версии библиотеки

Версия
1.2.5
1.2.0