How to Store Grafana Monitoring Configuration?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: grafana 监控配置如何存储?

| username: xiaohetao

Will the Grafana monitoring configuration parameters be persisted after a reload?

| username: hey-hoho | Original post link

Which parameters are you referring to?

| username: xiaohetao | Original post link

The following parameters:

Also, the parameters in promethus.yaml;

Will the database cluster load the Prometheus configuration when reloading the configuration?

| username: hey-hoho | Original post link

Configuration file parameters will all be persisted. If you modify the Prometheus.yaml on the monitoring node, it will be overwritten during reload. TiUP will copy the configuration file from the .tiup directory.

| username: xiaohetao | Original post link

Every time the cluster restarts or reloads, does it read the configuration files under the .tiup directory and copy them to other corresponding nodes?

| username: hey-hoho | Original post link

Reload will send the configuration from the control machine to each node, while restart will not.

| username: alfred | Original post link

Where is the monitoring data stored?

| username: hey-hoho | Original post link

In the output information of tiup cluster display, the data dir of Prometheus is the monitoring data directory.

| username: xiaohetao | Original post link

When I deployed it, I placed it on the control machine:

As mentioned above: In the information from tiup cluster display, the data dir location on the host corresponding to the monitoring component is configured at the end of the yaml file, and you can define the storage location yourself.

| username: xiaohetao | Original post link

Teacher, please confirm again. The “restart won’t” mentioned above, does it include both stop and start?

| username: hey-hoho | Original post link

Yes, you can refer to the detailed description of tiup cluster:

| username: xiaohetao | Original post link

Thank you, teacher!!!

| username: alfred | Original post link

Got it :+1:

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.