Skip to content

Commit

Permalink
Merge pull request #1790 from newrelic/inisghts-key-term-update
Browse files Browse the repository at this point in the history
chore: updated insights key term to license key
  • Loading branch information
alexronquillo authored Oct 19, 2021
2 parents 40e9cd0 + 60c8526 commit 5265ce6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Our [Trace API](https://docs.newrelic.com/docs/apm/distributed-tracing/trace-api
```shell lineNumbers=true
curl -i -X POST https://trace-api.newrelic.com/trace/v1 \
-H "Content-Type: application/json" \
-H "Api-Key: $INSIGHTS_INSERT_API_KEY" \
-H "Api-Key: $LICENSE_KEY" \
-H 'Data-Format: newrelic' \
-H 'Data-Format-Version: 1' \
-d '[
Expand Down Expand Up @@ -112,7 +112,7 @@ You can use our [Metric API](https://docs.newrelic.com/docs/introduction-new-rel
```shell lineNumbers=true
curl -i -X POST https://metric-api.newrelic.com/metric/v1 \
-H "Content-Type: application/json" \
-H "Api-Key: $INSIGHTS_INSERT_API_KEY" \
-H "Api-Key: $LICENSE_KEY" \
-d '[
{
"metrics": [
Expand Down Expand Up @@ -141,7 +141,7 @@ For sending arbitrary events to New Relic, you can use our Event API. We save th
```shell lineNumbers=true
curl -i -X POST https://insights-collector.newrelic.com/v1/accounts/$ACCOUNT_ID/events \
-H "Content-Type: application/json" \
-H "x-insert-key: $INSIGHTS_INSERT_API_KEY" \
-H "x-insert-key: $LICENSE_KEY" \
-d '[
{
"eventType": "LoginEvent",
Expand All @@ -162,7 +162,7 @@ If our existing [logging integrations](https://docs.newrelic.com/docs/new-relic-
```shell lineNumbers=true
curl -i -X POST https://log-api.newrelic.com/log/v1 \
-H "Content-Type: application/json" \
-H "Api-Key: $INSIGHTS_INSERT_API_KEY" \
-H "Api-Key: $LICENSE_KEY" \
-d '[
"logs": [
{
Expand Down

0 comments on commit 5265ce6

Please sign in to comment.