Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 998 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 998 Bytes

srs-grafana

Grafana dashboards for SRS Prometheus exporter and business data, allows you to import to your Grafana.

Usage

Please download json file and import to Grafana, see Import a dashboard.

You're also able to use curl to import it, see create--update-dashboard. For example:

data=$(curl https://raw.githubusercontent.com/ossrs/srs-grafana/main/dashboards/helloworld-import.json) &&
curl -s -H "Content-Type: application/json" \
    -XPOST http://admin:12345678@localhost:3000/api/dashboards/db \
    --data-binary "{\"dashboard\":${data},\"overwrite\":true,\"inputs\":[],\"folderId\":0}"

For node-exporter dashboard, see Node Exporter for Prometheus Dashboard based on 11074