victoria metrics dashboard

vmetrics

reach the dashboard either through tunne

    ssh vmetrics -L 8428:localhost:8428

http://localhost:8428/vmui/

or direct adress

https://vmetrics.nethence.com/vmui/

and proceed with some queries e.g.

avg_over_time(log_metric_gauge_cpu_p[5m])

custom dashboard

    mkdir -p /data/{available,active}-dashboards/
    cd /data/available-dashboards/

grab the official sample

    # https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master/app/vmui#predefined-dashboards
    # ==> Predefined dashboards
    vi sample-per-job.json

now setup your own – we have per node as such

    # https://pub.nethence.com/bin/monitoring/per-node.json
    vi per-node.json

enable

    cd /data/active-dashboards/
    ln -s ../available-dashboards/per-node.json

also prepare a folder to be used by -storageDataPath

    mkdir /data/vmetrics/

resources

query

https://new.docs.victoriametrics.com/keyconcepts/#query-data

https://new.docs.victoriametrics.com/metricsql/

resources

https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master/app/vmui#predefined-dashboards

https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master/app/vmui/packages/vmui/public/dashboards


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun