How to create a simple Prometheus exporter?
There are often scenarios when you need to build something custom on Prometheus. An example on a simple exporter(plugin) for Prometheus.
# HELP metric_name metric_help
# TYPE metric_name counter
metric_name 10scrape_configs:
- job_name: prometheus
metrics_path: /metrics
scrape_interval: 30s
static_configs:
- targets:
- localhost:3000Last updated