Skip to content
Marc Guyer edited this page May 4, 2017 · 4 revisions

Alerts

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.

Apache

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].

Memcached

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].

Clone this wiki locally