Agent Install with Open Telemetry
I run a Kubernetes Cluster with Instana Agent with Open Telemetry Enabled. Installed with Helm .
Helm Install Command for Instana Agent :
microk8s helm install instana-agent --namespace instana-agent --repo https://agents.instana.io/helm --set agent.key=qUMhYJxjSv6uZh2SyqTEnw --set agent.downloadKey=qUMhYJxjSv6uZh2SyqTEnw --set agent.endpointHost='agent.instana.fritz.box' --set agent.endpointPort=1444 --set cluster.name='microk8s' --set zone.name='microk8s' --set opentelemetry.grpc.enabled=true --set opentelemetry.http.enabled=true instana-agent
Open Telemetry Install :
I started with logs my values.yaml file :
mode: daemonset
presets:
# enables the k8sattributesprocessor and adds it to the traces, metrics, and logs pipelines
kubernetesAttributes:
enabled: true
# enables the kubeletstatsreceiver and adds it to the metrics pipelines
# kubeletMetrics:
# enabled: true
# Enables the filelogreceiver and adds it to the logs pipelines
logsCollection:
enabled: true
#no cert verify
#insecure_skip_verify: true
## The chart only includes the loggingexporter by default
## If you want to send your data somewhere you need to
## configure an exporter, such as the otlpexporter
config:
exporters:
otlp:
endpoint: "instana-agent.instana-agent.svc.cluster.local:4317"
tls:
insecure: true
headers:
x-agent-key: qUMhYJxjSv6uZh2SyqTEnw
logging:
loglevel: debug
service:
pipelines:
traces:
exporters: [otlp]
metrics:
exporters: [otlp]
logs:
exporters: [otlp]
Helm Install Command :
microk8s helm install otel-collector open-telemetry/opentelemetry-collector -n open-telemetry --values ./values.yaml