* Enable multi-select for job and instance template variables * Reorder template variables in dashboard UI * Use `$job` template variable in selectors for all queries * Move QPS to left and remove transparency for common style * Use psql specific metric pg_up to avoid return of postgres unrelated instances The most important metrics provided by the PostgreSQL integration, which are used on the pre-built dashboard, are as follows: The PostgreSQL integration installs the following dashboards in your Grafana Cloud instance to help monitor your system. # Add here any snippet that belongs to the `_configs` section. # For a correct indentation, paste snippets copied from Grafana Cloud at the beginning of the line. # Add here any snippet that belongs to the `integrations` section. Regex: (prometheus_target_.*|prometheus_sd_discovered_targets|agent_build.*|agent_wal_samples_appended_total|process_start_time_seconds) This example also includes metrics that are sent to monitor your Grafana Agent instance. Refer to the following Grafana Agent configuration for a complete example that contains all the snippets used for the PostgreSQL integration. example configuration for Grafana Agent Configuration snippets for Grafana Agentīelow integrations, insert the following lines and change the URLs according to your environment: postgres_exporter: Make sure to change the data_source_names to the addresses of the Postgres servers you want to monitor in the agent config.įor a full description of configuration options see how to configure the postgres_exporter_config block in the agent documentation. Post-install configuration for the PostgreSQL integrationĮnable the integration by adding the provided snippets to your Grafana Agent configuration file. Click Install to add this integration’s pre-built dashboard to your Grafana Cloud instance, and you can start monitoring your PostgreSQL setup.Review the prerequisites in the Configuration Details tab and set up Grafana Agent to send PostgreSQL metrics to your Grafana Cloud instance.Find PostgreSQL and click its tile to open the integration.In your Grafana Cloud stack, click Connections in the left-hand menu.Install PostgreSQL integration for Grafana Cloud While you can use root user for testing, we strongly advice that you configure a separate user for the Grafana Agent, and give it only the strictly mandatory security privileges necessary for monitoring your node, as per the official documentation. The PostgreSQL user is required to gather metrics. This integration includes 1 pre-built dashboard to help monitor and visualize PostgreSQL metrics. PostgreSQL is a free and open-source relational database management system (RDBMS) emphasizing extensibility and SQL compliance. Grafana Cloud PostgreSQL integration for Grafana Cloud
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |