#tetcoin #framework #prometheus-metrics #blockchain #crypto

prometheus-endpoint

Endpoint to expose Prometheus metrics

Show the crate…

2 releases (1 stable)

2.1.2 Jun 23, 2021
0.8.1 Mar 8, 2021
0.0.0 Mar 8, 2021

#46 in #tetcore

Download history 63/week @ 2023-12-04 93/week @ 2023-12-11 108/week @ 2023-12-18 88/week @ 2023-12-25 35/week @ 2024-01-01 118/week @ 2024-01-08 72/week @ 2024-01-15 63/week @ 2024-01-22 52/week @ 2024-01-29 83/week @ 2024-02-05 103/week @ 2024-02-12 76/week @ 2024-02-19 151/week @ 2024-02-26 114/week @ 2024-03-04 109/week @ 2024-03-11 113/week @ 2024-03-18

487 downloads per month
Used in 64 crates (16 directly)

Apache-2.0

15KB
238 lines

Tetcore Prometheus Exporter

Introduction

Prometheus is one of the most widely used monitoring tools for managing highly available services supported by Cloud Native Computing Foundation. By providing Prometheus metrics in Tetcore, node operators can easily adopt widely used display/alert tools such as Grafana and Alertmanager. Easy access to such monitoring tools will benefit parachain developers/operators and validators to have much higher availability of their services.

Metrics will be served under /metrics on TCP port 9615 by default.

Quick Start

  1. From the root of the repository start Tetcore cargo run --release.

  2. In another terminal run curl localhost:9615/metrics to retrieve the metrics.

To learn how to configure Prometheus see the Prometheus Getting Started guide.

Dependencies

~15–28MB
~400K SLoC