Skip to content

Commit

Permalink
adding OTEL into Istio
Browse files Browse the repository at this point in the history
  • Loading branch information
jurabek committed Feb 10, 2024
1 parent 30c3065 commit ef832fb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
9 changes: 9 additions & 0 deletions k8s-kustomize/infrastructure/istio-profile/istio-system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ spec:
hub: gcr.io/istio-release
meshConfig:
accessLogFile: /dev/stdout
defaultProviders:
tracing:
- opentelemetry
extensionProviders:
- name: "opentelemetry"
opentelemetry:
service: "otel-collector.monitoring.svc.cluster.local"
port: 4317
enablePrometheusMerge: true
components:
ingressGateways:
- name: istio-ingressgateway
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- istio-system.yaml
- istio-system.yaml
- telemetry.yaml
8 changes: 8 additions & 0 deletions k8s-kustomize/infrastructure/istio-profile/telemetry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: telemetry.istio.io/v1alpha1
kind: Telemetry
metadata:
name: mesh-default
namespace: istio-system
spec:
tracing:
- randomSamplingPercentage: 100.00

0 comments on commit ef832fb

Please sign in to comment.