I’m interested in trying out some cool Grafana dashboards made especially for monitoring Cardano-Node via Prometheus. If you have made some dashboards already and are willing to share, please reply to this message and post a link to where we can get the source code for it. Thanks!
This file uses “prometheus” (lower case p) as the datasource. If you have a problem first check to see if your prometheus datasource is named with a capital “P”.
It’s k8s-oriented, so it expects to filter out metrics by namespace and pod. I’m using Loki/promtail for log collection, so it also includes some log panels filtered out by log message type.
Just a quick shoutout, If you would like to test or see our dashboard used in our pool JAWS & JAWSX. It was just released, you can download it from github (there’s some screenshots in the github aswell). Original by Umed [SKY], where our derivate is based on.
Thank you for sharing your dashboard @ada_jaws! Based on it, I’m able to create our own, which is for a less complex setup of only 3 separate servers - 1 core and 2 relays.
Sharing it here for anyone who have the same setup as ours at [PHRCK]. You can download it from [here].
very nice dashboard that you created here. I wanted to try it out by I am stuck with the “alias” part of your json file. Where do I have to define the alias=“relay1” etc?
@Tom_ADADE, you’ll have to specify that in the prometheus yaml config file. Here’s how it appears in ours:
# global configs
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
# scrape_timeout is set to the global default (10s).
scrape_configs:
- job_name: 'cardano' # To scrape data from the running cardano-node
scrape_interval: 15s
static_configs:
- targets: ['123.123.12.12:9999']
labels:
alias: 'relay1'
type: 'cardano-node'
- targets: ['123.123.12.13:9999']
labels:
alias: 'relay2'
type: 'cardano-node'
- targets: ['123.123.12.14:9999']
labels:
alias: 'core'
type: 'cardano-node'
- job_name: 'node' # To scrape data from a node exporter to monitor the linux host metrics.
scrape_interval: 15s
static_configs:
- targets: ['123.123.12.12:9988']
labels:
alias: 'relay1'
type: 'host-system'
- targets: ['123.123.12.13:9988']
labels:
alias: 'relay2'
type: 'host-system'
- targets: ['123.123.12.14:9988']
labels:
alias: 'core'
type: 'host-system'
That’s the content of the config file you provide as --config.file argument when running prometheus.
I hope this finds you well. Thank you (and everyone else) for sharing their dashboards. I had made my own, but ended up choosing to piggy back on yours as my setup is very similar, and yours looked soooo much better
I have a question: you have some metrics (for example active stake, live stake, pledge, etc) which are not “standard” for node exporter or the Cardano metrics. How does one create custom metrics? And where do they need to go for prometheus to pick them up?
Hi Rodrigo,
how did you achieve to have infos like ,LiveStake,Pledged, Delegators and more?
did you use the link you posted “Adding Pool Stats to Grafana Dashboard | Crypto2099” aand then you have all this infoss?
i find it really cool and useful.
Thom
there is info " by visiting http://localhost:9100/metrics on your local machine".
did you find a way to change this port?
normally i use different port for the node_exporter.