Spring boot starter metrics statsd

Starter for statsd metrics

License

License

Categories

Categories

Spring Boot Container Microservices Metrics Application Testing & Monitoring Monitoring
GroupId

GroupId

com.rbkmoney
ArtifactId

ArtifactId

spring-boot-starter-metrics-statsd
Last Version

Last Version

1.1.3
Release Date

Release Date

Type

Type

jar
Description

Description

Spring boot starter metrics statsd
Starter for statsd metrics
Project URL

Project URL

https://github.com/rbkmoney/spring-boot-starter-metrics-statsd.git
Source Code Management

Source Code Management

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

Download spring-boot-starter-metrics-statsd

How to add to project

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

Dependencies

compile (4)

Group / Artifact Type Version
org.springframework.boot : spring-boot-autoconfigure jar 2.3.4.RELEASE
org.springframework.boot : spring-boot-configuration-processor Optional jar 2.3.4.RELEASE
org.springframework.boot : spring-boot-starter-actuator jar 2.3.4.RELEASE
io.micrometer : micrometer-registry-statsd jar 1.3.1

provided (1)

Group / Artifact Type Version
org.springframework.boot : spring-boot jar 2.3.4.RELEASE

Project Modules

There are no modules declared in this project.

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

Versions

Version
1.1.3
1.1.2