Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laupse/prometheus-native-histograms
All-in-one setup for testing Native Prometheus Histograms
https://github.com/laupse/prometheus-native-histograms
Last synced: about 2 months ago
JSON representation
All-in-one setup for testing Native Prometheus Histograms
- Host: GitHub
- URL: https://github.com/laupse/prometheus-native-histograms
- Owner: laupse
- Created: 2022-11-09T16:01:37.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-30T14:39:30.000Z (about 2 years ago)
- Last Synced: 2024-04-15T22:54:50.620Z (10 months ago)
- Language: Go
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prometheus Native Histogram
This repository serve as a demo for the new native histrogam from **Prometheus**.
For the reminder, native histogram is a feature that will allow creating more precise and performant histogram inside **Prometheus** than the current one (you know the series with the *le* label)
This repository will also demonstrate visualizing such histogram inside **Grafana**
## How to use this
> You need docker and docker compose for this demonstration
Just :
``` bash
docker compose up -d
```Then you can visit prometheus here http://localhost:3000 and run promql query against the new histogram :
``` promql
rpc_durations_native_histogram_seconds
# or
rate(rpc_durations_native_histogram_seconds[30s])
```Or visit this grafana dashboard to get a sneak peek at the heatmap for this new histogram compared to the old one http://localhost:3000/d/native-histogram