You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While exploring the MetricsHub documentation, we noticed that the details on customizing metric collection for resources that do not have predefined connectors are not explicitly outlined. Since MetricsHub already supports this feature, we will enhance the documentation ( configure-agent.md) to highlight how users can leverage this capability.
Documentation Content Proposal
## Customizing Resource Monitoring
To enhance the monitoring of your resources via MetricsHub, you can tailor the data collection for each resource, even without a pre-existing connector available for those resources. This customization allows for the collection of new metrics, specifically designed to meet your requirements, ranging from basic availability tracking to advanced performance metric analysis.
### Configuration Overview
The monitored resource can be configured with a unique set of monitor jobs. These monitors define how MetricsHub collects and processes data for the resource. To configure a custom monitor, you will need to specify the monitor name, the type of job it performs (e.g., `simple` for straightforward monitoring tasks), and the data sources from which metrics are collected. Additionally, you will need to outline how these collected metrics are mapped to MetricsHub's monitoring model.
For detailed information on monitor types and configurations, please refer to our [monitors documentation page](../develop/monitors.md).
### Configuration Structure
Below is the general structure to follow when adding a custom monitor to your configuration:
#### Example: Monitoring a Grafana Service
To illustrate, here is an example of how to configure a monitor for a Grafana service. This monitor collects data from the Grafana health API and maps the response to attributes and metrics in MetricsHub.
Description
While exploring the MetricsHub documentation, we noticed that the details on customizing metric collection for resources that do not have predefined connectors are not explicitly outlined. Since MetricsHub already supports this feature, we will enhance the documentation (
configure-agent.md
) to highlight how users can leverage this capability.Documentation Content Proposal
#### Example: Monitoring a Grafana Service To illustrate, here is an example of how to configure a monitor for a Grafana service. This monitor collects data from the Grafana health API and maps the response to attributes and metrics in MetricsHub.
The text was updated successfully, but these errors were encountered: