Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

danobi/below-grafana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

below-grafana

This repository has been merged into upstream below.

Scripts / tools to visualize below data in grafana.

Example panel

Quickstart

To start Prometheus and Grafana, run:

$ docker compose up -d

To import some data from the localhost, run:

$ ./import.py host --begin "4h ago" --end "2h ago"

You may also import snapshots:

$ below snapshot --begin "20m ago" --end "now" -o thesnapshot
Snapshot has been created at thesnapshot

$ ./import.py thesnapshot

To start plotting graphs, visit http://localhost:3000 for the grafana UI. The initial login/password is admin and admin, respectively.

Details

The basic idea is we run both prometheus and grafana. We use prometheus as an intermediate time series database so that we don't have to implement a grafana datasource plugin.

We then export below's data in OpenMetrics format and import it into prometheus.

About

Explore below data using grafana

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages