Skip to content

Commit d5ecdc5

Browse files
authored
Update README.md
1 parent a1e291e commit d5ecdc5

File tree

1 file changed

+1
-53
lines changed

1 file changed

+1
-53
lines changed

oteldemo/README.md

Lines changed: 1 addition & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -66,59 +66,7 @@ Create `otel-demo.yaml`, this will be applied to the Helm chart and changes the
6666

6767
**otel-demo.yaml**
6868

69-
``` yaml
70-
# Set the OTEL_COLLECTOR_NAME environment variable to the IP address of the node
71-
default:
72-
envOverrides:
73-
- name: OTEL_COLLECTOR_NAME
74-
valueFrom:
75-
fieldRef:
76-
fieldPath: status.hostIP
77-
78-
# Configure the frontendProxy service to be of type LoadBalancer
79-
components:
80-
frontendProxy:
81-
service:
82-
type: LoadBalancer
83-
kafka:
84-
enabled: true
85-
useDefault:
86-
env: true
87-
ports:
88-
- name: plaintext
89-
value: 9092
90-
- name: controller
91-
value: 9093
92-
env:
93-
- name: KAFKA_ADVERTISED_LISTENERS
94-
value: 'PLAINTEXT://{{ include "otel-demo.name" . }}-kafka:9092'
95-
- name: OTEL_EXPORTER_OTLP_ENDPOINT
96-
value: http://$(OTEL_COLLECTOR_NAME):4317
97-
- name: OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
98-
value: cumulative
99-
- name: KAFKA_HEAP_OPTS
100-
value: "-Xmx400M -Xms400M"
101-
- name: KAFKA_OPTS
102-
value: "-javaagent:/tmp/opentelemetry-javaagent.jar -Dotel.jmx.target.system=kafka-broker -Dcom.sun.management.jmxremote.port=5555"
103-
resources:
104-
limits:
105-
memory: 750Mi
106-
securityContext:
107-
runAsUser: 1000 # appuser
108-
runAsGroup: 1000
109-
runAsNonRoot: true
110-
111-
# Disable the observability components incl. the collector
112-
observability:
113-
otelcol:
114-
enabled: false
115-
jaeger:
116-
enabled: false
117-
prometheus:
118-
enabled: false
119-
grafana:
120-
enabled: false
121-
```
69+
https://github.com/splunk/observability-workshop/blob/a1e291e5d511a85c71f7d795945aea22059668d7/oteldemo/otel-demo.yaml#L1-L51
12270

12371
### Deploy the OpenTelemetry Astronomy Shopo
12472

0 commit comments

Comments
 (0)