prometheus.yml
and restart Prometheus. The specific configuration is as follows. For more information on the remote write configuration parameters, please see remote_write.remote_write:- name: cm_prometheus # Remote write nameurl: http://ip:port/api/v1/prom/write # Get the remote write address from the basic information of the TMP instanceremote_timeout: 30s # Set according to the actual situationbearer_token: k32*****trR # Get the token information from the basic information of the TMP instance
Explore
to verify whether the data is written successfully as shown below. You can also customize Grafana monitoring dashboards.
Was this page helpful?