Skip to content

Commit 2a9680a

Browse files
committed
Updated for port-forward
1 parent 5ac6efa commit 2a9680a

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

workshop/oteldemo/README.md

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
- Kubernetes Navigator
66
- APM
77
- DB Query Performance (Redis & PostgreSQL)
8-
- Logs (using OTel Log Engine via Log Observer)
9-
- Synthetics (no Synthetics to APM due to no `Server-Timing` header support in upstream)
8+
- Logs
9+
- Synthetics (no Synthetics to APM due to no `Server-Timing` header support upstream)
1010
- Redis Dashboard
1111
- Kafka Dashboard (Partial)
12-
- PostgreSQL Dashboard (Partial)
12+
- PostgreSQL Dashboard
1313

1414
## Missing features
1515

@@ -24,10 +24,6 @@ The following configuration can be applied to a default O11y workshop Splunk Sho
2424
helm delete splunk-otel-collector
2525
```
2626

27-
### otel-demo-collector.yaml
28-
29-
[otel-demo-collector.yaml](https://github.com/splunk/observability-workshop/blob/58592d0ddb00be300b81982712b3ef0618f13284/workshop/oteldemo/otel-demo-collector.yaml#L1-L93)
30-
3127
### Deploy the OTel Collector via Helm chart
3228

3329
``` bash
@@ -36,14 +32,16 @@ helm repo add splunk-otel-collector-chart https://signalfx.github.io/splunk-otel
3632

3733
``` bash
3834
helm install splunk-otel-collector \
35+
--set="operator.enabled=true" \
36+
--set="certmanager.enabled=true" \
3937
--set="splunkObservability.realm=$REALM" \
4038
--set="splunkObservability.accessToken=$ACCESS_TOKEN" \
41-
--set="clusterName=$INSTANCE-k3s-cluster" \
39+
--set="clusterName=$(hostname)-k3s-cluster" \
4240
--set="splunkObservability.logsEnabled=false" \
4341
--set="logsEngine=otel" \
4442
--set="splunkObservability.profilingEnabled=true" \
4543
--set="splunkObservability.infrastructureMonitoringEventsEnabled=true" \
46-
--set="environment=$INSTANCE-workshop" \
44+
--set="environment=$(hostname)-workshop" \
4745
--set="splunkPlatform.endpoint=$HEC_URL" \
4846
--set="splunkPlatform.token=$HEC_TOKEN" \
4947
--set="splunkPlatform.index=splunk4rookies-workshop" \
@@ -53,32 +51,32 @@ splunk-otel-collector-chart/splunk-otel-collector \
5351

5452
## OpenTelemetry Astronomy Shop configuration
5553

56-
Create `otel-demo.yaml`, this will be applied to the Helm chart and changes the default behavior of a default install:
54+
The file `otel-demo.yaml` will be applied to the Helm chart and change the behavior of the default install:
5755

5856
- Set `OTEL_COLLECTOR_NAME` to the host IP Address for Metrics, Traces and Logs
5957
- Configure a load balancer for the `frontendProxy` server
6058
- Customise Kafka configuration to expose metrics via JMX on port 5555
6159
- Disable native OTel Collector, Jaeger, Prometheus & Grafana
6260

63-
### otel-demo.yaml
64-
65-
https://github.com/splunk/observability-workshop/blob/387727f814714a65ffbac9f73e5f89f05760268b/workshop/oteldemo/otel-demo.yaml#L1-L50
66-
6761
### Deploy the OpenTelemetry Astronomy Shop
6862

6963
``` text
7064
helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts
7165
```
7266

7367
``` text
74-
helm install my-otel-demo open-telemetry/opentelemetry-demo --values otel-demo.yaml
68+
helm install opentelemetry-demo open-telemetry/opentelemetry-demo --values otel-demo.yaml
7569
```
7670

77-
## OpenTelemetry Receivers
71+
## Port forwarding
72+
73+
``` bash
74+
kubectl port-forward svc/opentelemetry-demo-frontendproxy 8083:8080 --address="0.0.0.0"
75+
```
7876

7977
### OpenTelemetry Redis receiver configuration
8078

81-
At the time of writing there are no OOTB dashboards for OpenTelemetry receivers. You can still use these receivers and build out custom dashboards using the existing SmartAgent OOTB dashboards as templates. You can import `dashboard_REDIS INSTANCES (OTEL).json` as an example.
79+
At the time of writing, there are no OOTB dashboards for OpenTelemetry receivers. You can still use these receivers and build out custom dashboards using the existing SmartAgent OOTB dashboards as templates. You can import `dashboard_REDIS INSTANCES (OTEL).json` as an example.
8280

8381
``` yaml
8482
redis:

0 commit comments

Comments
 (0)