You can monitor services in TKE by managing ServiceMonitor or PodMonitor.
- The Prometheus agent has been installed in the TKE cluster. For more information, please see Agent Management.
- Click a Cluster ID in the TKE cluster list to enter the Integrate with TKE page.
- Click Scrape Configuration on the Integrate with TKE page to enter the scrape configuration management page.
- Click Create to pop up the scrape configuration creation page, select the scrape configuration type, and modify the YAML configuration as prompted.
- After completing the configuration, click OK.
Some configuration items will be automatically generated after the scrape configuration is created. Please do not modify them.