-
Notifications
You must be signed in to change notification settings - Fork 265
Configuration
Configuring an alert on a custom metric in New Relic means you need to know the name of the metric you want. A good way to see the metric names is to enable debug logging for the plugin. To do that, modify the plugin config file (e.g., /etc/newrelic/newrelic-plugin-agent.cfg
): Logging.loggers.newrelic_plugin_agent.level setting to DEBUG
. Then, restart the plugin.
Metric names are defined in the plugin code. The format of a plugin metric name when the metric is of type "gauge" is Component/<metric 'label'>[<metric 'suffix']
. Using Apache Busy Workers as an example this is literally Component/Workers/Busy[workers]
.
Metric names are defined in the plugin code. The format of a plugin metric name when the metric is of type "derive" is Component/<metric 'label'>[<metric 'suffix']
. Using Evictions as an example this is literally Component/Evictions[items]
.