Then scroll down and click on "Save and test" Set the HTTP URL to use your Prometheus service, by default it is set to localhost, which is true in this case, because Grafana and Prometheus are running in the same host. Now, let's go to setup a new Data Source to fetch information from our Prometheus service.Ĭlick the gear icon on the left bar, then click the Data Sources section.Īs you might guess, yes, we will add a new Prometheus data source Remember to use a strong password, please. The default username and password are always "admin" after you log in, Grafana will ask you to change your admin password. Now open a new tab on your browser and navigate to # HELP go_memstats_frees_total Total number of frees.Įnter fullscreen mode Exit fullscreen mode # TYPE go_memstats_buck_hash_sys_bytes gauge # HELP go_memstats_buck_hash_sys_bytes Number of bytes used by the profiling bucket hash table. # TYPE go_memstats_alloc_bytes_total counter # HELP go_memstats_alloc_bytes_total Total number of bytes allocated, even if freed. # HELP go_memstats_alloc_bytes Number of bytes allocated and still in use. # HELP go_info Information about the Go environment. # HELP go_goroutines Number of goroutines that currently exist. # HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles. Grafana on the other hand, is the most popular technology to create monitoring dashboards in a fast and easy way, also it has a lot of plugins and integrations, therefore, if it exists, you can create a Grafana panel for it.įirst of all, we will need to install a Prometheus light-weight daemon in all your servers that you want to monitor, this daemon is node_exporter. Prometheus is a powerful, open-source and easy-to-use monitoring solution, it is going to help us to collect and fetch a lot of information from your Linux instances. In this tutorial, I will show you how to mount a complete, flexible, and scalable monitoring system, using two great (and free) tools. If you want to know how is everything going in your servers, you must monitor them, yeah, sometimes read htop or similar commands output can be hard to understand, there are a lot of alternatives, and today I am going to show you how to set up a monitoring suite to always know what is going on your servers, linux instances, and more.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |