This page explains how to import metrics from NewRelic to Doctor Droid platform.

Step 1: Create an API key and add it in the platform.

Step 2a: Select an API & metric that you would like to add to the workflow.

Step 2b: In case you want to do it programmatically, you can use this API to first fetch the entire list of APIs and then add the metric that you want, in the format mentioned below.

{
    "name": "Metric_name",
    "source": "Newrelic",
    "expr": "call_count:{metric_name_from_NerdGraph_search_list}"
}