Skip to content

Commit

Permalink
fix: updated otel collector image ref (#17)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Theuermann <[email protected]>
  • Loading branch information
mati007thm authored Aug 8, 2024
1 parent d730cd2 commit 5606c51
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions dapr-distributed-calendar/kubernetes-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
kubectl create namespace 12-factor-app

# install OTel Operator
kubectl create namespace opentelemetry
helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts
helm repo update
helm install my-opentelemetry-operator open-telemetry/opentelemetry-operator \
--set "manager.collectorImage.repository=otel/opentelemetry-collector-contrib" \
--set admissionWebhooks.certManager.enabled=false \
--set admissionWebhooks.certManager.autoGenerateCert.enabled=true \
--set manager.featureGates='operator.autoinstrumentation.go' \
--namespace opentelemetry \
--version 0.66.0 \
--create-namespace \
--wait

# create OTel collector and instrumentation
Expand Down
10 changes: 5 additions & 5 deletions dapr-distributed-calendar/otel/otel-collector-values.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
apiVersion: opentelemetry.io/v1alpha1
apiVersion: opentelemetry.io/v1beta1
kind: OpenTelemetryCollector
metadata:
name: otel-dapr
namespace: opentelemetry
annotations:
dapr_collector_demo: "true"
spec:
config: |
config:
receivers:
otlp:
protocols:
grpc:
http:
grpc: {}
http: {}
prometheus:
config:
scrape_configs:
Expand All @@ -34,7 +34,7 @@ spec:
debug:
verbosity: detailed
otlp/jaeger:
endpoint: jaeger-collector.observability:4317
endpoint: simplest-collector.observability:4317
tls:
insecure: true
prometheus:
Expand Down

0 comments on commit 5606c51

Please sign in to comment.