OpenTelemetry Traces
Causely leverages OpenTelemetry traces to discover service dependencies and monitor sync and async communication signals
To enable OpenTelemetry as a data source, please install an opentelemetry-collector using this example
opentelemetry-values.yaml
:
opentelemetry-values.yaml
# Valid values are "daemonset" and "deployment".
# If set, agentCollector and standaloneCollector are ignored.
mode: 'deployment'
config:
exporters:
otlp/causely:
endpoint: mediator.causely:4317
compression: none
tls:
insecure: true
processors:
batch:
timeout: 1s
k8sattributes:
auth_type: 'serviceAccount'
passthrough: false
extract:
metadata:
- k8s.pod.name
- k8s.pod.uid
- k8s.deployment.name
- k8s.namespace.name
- k8s.node.name
- k8s.pod.start_time
# Optional: Filter out internal spans
filter:
error_mode: ignore
traces:
span:
- 'kind.string == Internal'
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
service:
pipelines:
traces:
exporters:
- otlp/causely
processors:
- filter
- k8sattributes
- batch
receivers:
- otlp
presets:
kubernetesAttributes:
enabled: true
podLabels:
sidecar.istio.io/inject: 'disabled'
Install
helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts
helm install opentelemetry-collector open-telemetry/opentelemetry-collector --values ./opentelemetry-values.yaml