New Relic Metric API

Send metric data from anywhere

If the Telemetry SDK doesn’t support your language or framework, you can use our Metric API to send metric data to New Relic from any source, without needing to install an agent.

Here's an example cURL request. Note: you must replace CURRENT_TIME_IN_MILLISECONDS_HERE with a new value in Unix time milliseconds.

curl -vvv -k -H "Content-Type: application/json" -H "Api-Key: ADD_KEY_HERE" -X POST --data ‘[{ "metrics":[{