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
Our benchmark tests now send metrics to New Relic through the OTLP metrics endpoint.
29
29
30
-
You must provide a `NEW_RELIC_LICENSE_KEY` (specifically a production user license key) in order for the benchmark metrics to be sent. One way to do this is with a `.env`:
30
+
You must provide a `NEW_RELIC_LICENSE_KEY` (specifically an ingest license key) in order for the benchmark metrics to be sent. One way to do this is with a `.env`:
31
31
32
32
```zsh
33
+
# Starting at node-newrelic (root directory)
33
34
cd bin
34
35
touch .env
35
-
# NEW_RELIC_LICENSE_KEY=YOUR_PROD_LICENSE_KEY
36
+
# Fill out NEW_RELIC_LICENSE_KEY=YOUR_INGEST_LICENSE_KEY
37
+
# If you are sending metrics to production instead of staging (default), also include: NEW_RELIC_METRICS_HOST=otlp.nr-data.net
36
38
node --env-file .env ./run-bench.js
37
39
```
38
40
39
-
The metrics are displayed in [Node Agent Benchmark Test Metrics](https://staging.onenr.io/0ERPpA6ZPRW).
41
+
The metrics are displayed in [Node Agent Benchmark Test Metrics](https://staging.onenr.io/0ERPpA6ZPRW) (staging).
0 commit comments