github.com/tickoalcantara12/micro/v3@v3.0.0-20221007104245-9d75b9bcbab9/service/metrics/README.md (about) 1 metrics 2 ======= 3 4 The metrics package provides a simple metrics "Reporter" interface which allows the user to submit counters, gauges and timings (along with key/value tags). 5 6 Implementations 7 --------------- 8 9 * Prometheus (pull): will be first 10 * Prometheus (push): certainly achievable 11 * InfluxDB: could quite easily be done 12 * Telegraf: almost identical to the InfluxDB implementation 13 * Micro: Could we provide metrics over Micro's server interface? 14 15 16 Todo 17 ---- 18 19 * Include a handler middleware which uses the Reporter interface to generate per-request level metrics 20 - Throughput 21 - Errors 22 - Duration