Skip to content

Commit

Permalink
Code added for Kubctl
Browse files Browse the repository at this point in the history
  • Loading branch information
gkadapa-nr committed Jan 20, 2025
1 parent 3327fd1 commit 2874309
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions other-examples/collector/otel-kubernetes-infra/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Additionally, it demonstrates correlating OTEL entities with kubernetes, using t
1. Update the `NEW_RELIC_API_KEY` value in [configmap.yaml](./opentelemetry-collector/configmap.yml) to your New Relic license key.
```yaml
# ...omitted for brevity
otlphttp:
otlp:
endpoint: https://otlp.nr-data.net:4318
headers:
api-key: #NEW_RELIC_API_KEY
Expand All @@ -28,7 +28,7 @@ Additionally, it demonstrates correlating OTEL entities with kubernetes, using t
```yaml
# ...omitted for brevity
otlphttp:
otlp:
endpoint: https://otlp.nr-data.net:4318
headers:
api-key: #NEW_RELIC_API_KEY
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ data:
exporters:
logging:
verbosity: detailed
otlphttp:
otlp:
endpoint: https://otlp.nr-data.net:4318
headers:
api-key: #NEW_RELIC_API_KEY
api-key: eb19fcf3deba8baebfe24f2082948607FFFFNRAL
insecure: true
prometheus:
enable_open_metrics: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -525,10 +525,10 @@ data:
exporters:
logging:
verbosity: detailed
otlphttp:
otlp:
endpoint: https://otlp.nr-data.net:4318
headers:
api-key: #NEW_RELIC_API_KEY
api-key: eb19fcf3deba8baebfe24f2082948607FFFFNRAL
service:
telemetry:
Expand Down Expand Up @@ -645,7 +645,7 @@ spec:
- name: OTEL_RESOURCE_ATTRIBUTES
value: service.instance.id=$(POD_NAME),k8s.pod.uid=$(POD_UID)
- name: NR_LICENSE_KEY
value: #NEW_RELIC_API_KEY
value: eb19fcf3deba8baebfe24f2082948607FFFFNRAL
livenessProbe:
httpGet:
path: /
Expand Down

0 comments on commit 2874309

Please sign in to comment.