springboot-actuator-exporter
Springboot Actuator Metrics and exports them via HTTP for Prometheus consumption
Convert JSON format to prometheus format and via HTTP standard output.
Binary can be downloaded from Releases page.
go build springboot_actuatorMetrics_exporter.go
make docker
DOCKER The deployment method author will add as soon as possible
docker pull null:latest
docker run -ti image bin/springboot-actuator-exporter
-springboot.scrape_uri string
URI to stringboot metrics stub status page (default "http://localhost/management/metrics")
E.g: curl http://localhost/management/metrics (springboot actuator metrics)
{
"mem": 458972,
"processors": 24,
"uptime": 16774475011,
"systemload.average": 0.87,
"heap.used": 184541,
"threads": 39,
...
}
-springboot.service string
springboot services (default "service")
-telemetry.address string
Address on which to expose metrics. (default ":9933")
-telemetry.endpoint string
Path under which to expose metrics. (default "/metrics")
This image is configurable using different env variables
Documents about exposed Prometheus metrics.
# TYPE springboot_actuator_exporter_build_info gauge
springboot_actuator_exporter_build_info{branch="",goversion="go1.11",revision="",version=""} 1
# HELP springboot_monitor_info springboot info
# TYPE springboot_monitor_info gauge
springboot_monitor_info{Processors="processors"} 16
# HELP springboot_monitor_performance springboot performance
# TYPE springboot_monitor_performance gauge
springboot_monitor_performance{hostname="$hostname",service="$service",sys="heap"} 250592
springboot_monitor_performance{hostname="$hostname",service="$service",sys="memory"} 1.11207e+06
springboot_monitor_performance{hostname="$hostname",service="$service",sys="systemload"} 0.06
springboot_monitor_performance{hostname="$hostname",service="$service",sys="threads"} 38
springboot_monitor_performance{hostname="$hostname",service="$service",sys="uptime"} 9.252913831e+09