Skip to content

Commit

Permalink
Updated documentation with proper format of license key
Browse files Browse the repository at this point in the history
  • Loading branch information
prsadh authored Feb 22, 2024
1 parent 4cbe64b commit 19d0a01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions getting-started-guides/java/instrumented/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To run this demo app via the CLI:
1. Switch to the `java` directory
2. Set these two environment variables to send data to your New Relic account:
```
export OTEL_EXPORTER_OTLP_HEADERS=<your_license_key>
export OTEL_EXPORTER_OTLP_HEADERS=api-key=<your_license_key>
export OTEL_EXPORTER_OTLP_ENDPOINT=https://otlp.nr-data.net
export OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
export OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT=4095
Expand All @@ -37,4 +37,4 @@ export OTEL_RESOURCE_ATTRIBUTES=service.instance.id=123
./load-generator.sh
```

5. To shut down the program, run the following in both shells or terminal tabs: `ctrl + c`.
5. To shut down the program, run the following in both shells or terminal tabs: `ctrl + c`.

0 comments on commit 19d0a01

Please sign in to comment.