LXD metrics with Prometheus and Grafana

preview_player
Показать описание
Ever since version 4.19, LXD has had support for instance metrics through a new API meant to integrate with Prometheus or similar time series databases.

In this video, we'll be going over the new LXD feature, go over installing both Prometheus and Grafana, then import the official Grafana dashboard for LXD and finally go over some of the metrics in the dashboard.

TIMESTAMPS:
0:00 Introduction
2.07 Installing LXD
3:10 Spawning instances
4:58 Metrics API
5:31 Installing Prometheus
13:32 Accessing Prometheus
14:13 Installing Grafana
16:29 Accessing Grafana
17:20 Importing the dashboard
18:13 Exploring the dashboard
22:32 Conclusion

RESOURCES:
Рекомендации по теме
Комментарии
Автор

THANK YOU. The instructions worked well for me, thanks for taking the time to create this video - and for all you do as lxd project leader.

andrewwilson
Автор

It would be great if all the commands could be put in the description so some of us with impaired vision could copy n paste them.

MarkConstable
Автор

I figured out that in prometheus and grafana don't receive data for some items. For example for lxd_disk_written_bytes_total, lxd_disk_read_bytes_total no any data ...

Pavelbrov