![]() ![]() Grafana Cloud alerts are directly tied to metrics and log data. The dashboard also contains logs collected by Grafana Agent from macOS. This dashboard gives a general overview of all relevant metrics from your Mac, such as CPU usage, memory usage, and disk usage. To avoid collector errors, you can add disable_collectors setting to the node_exporter integration to disable it: disable_collectors:Īfter you have successfully configured the macOS integration, the prebuilt dashboard will be installed in your Grafana Cloud instance to help you monitor your macOS metrics and logs. Note that on Macs with an M1 architecture you might encounter errors similar to the following: level=error integration=node_exporter msg="collector failed" name=thermal duration_seconds=0.001089125 err="no CPU power status has been recorded" job_name: integrations/node_exporter_direct_scrapeįirstline: '^(' Note: You must replace placeholder with the appropriate hostname for your configuration needs: integrations: The following preferred agent configuration example includes logs collected. The job label should be set to integrations/macos-node. In order to see logs and metrics signals correlated on the same dashboard, you need to make sure that job and instance labels match in the node_exporter integration config and under logs. This integration supports metrics and logs from macOS. ![]() Post-install configuration for the macOS integration Once the integration is installed, follow the steps on the Configuration Details page to configure the Grafana agent to automatically scrape and send macOS metrics and logs to your Grafana cloud instance. In your Grafana instance, click Integrations and Connections (lightning bolt icon), then click on the macOS tile to install the integration. Install macOS integration for Grafana Cloud ![]() This integration enables Grafana Agent to send macOS metrics and logs to Grafana Cloud. This integration includes useful alerts and a prebuilt dashboard to help you monitor and visualize these metrics and logs. It also enables you to scrape system logs with the agent using promtail. The macOS integration for Grafana Cloud uses the Grafana agent to collect metrics related to the macOS operating system, including aspects like CPU usage, load average, memory usage, and disk and networking I/O. MacOS integration MacOS integration for Grafana Cloud ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |