Istio OpenTelemetry auto-instrumentation
OpenTelemetry Collector gives you the ability to collect Istio trace data and forward it to Sumo Logic.
Istio is a popular service mesh technology using Envoy proxy technology that provides out-of-the-box tracing generation from its sidecars. Although its tracing capabilities cannot fully replace visibility that you can obtain by collecting traces by instrumenting the application code directly, it can provide some additional details to delays introduced by sidecar proxies that will generate its own specific spans.
You'll still need to instrument with OpenTelemetry for full functionality. Istio will enhance the data received from the OpenTelemetry instrumentation.
Configuration
To send data to Sumo Logic collector either in a Kubernetes or standalone setup, configure the OpenCensus Agent (recommended due to simpler setup) or Zipkin (if for any reason that’s your preference) exporter and send this data to the associated collector port. Enable one of the exporters setting meshConfig options in Envoy proxies.
OpenCensus Agent exporter
Set meshConfig.enableTracing=true
and meshConfig.defaultConfig.tracing.openCensusAgent.address=
to the endpoint of the receiving collector:
-
--set meshConfig.enableTracing=true
--set meshConfig.defaultConfig.tracing.openCensusAgent.address=RELEASE_NAME-CHART_NAME-otelagent.NAMESPACE:55678 -
--set meshConfig.enableTracing=true
--set meshConfig.defaultConfig.tracing.openCensusAgent.address=HOSTNAME:55678
OpenCensus agent by default uses W3C context propagation same as OpenTelemetry. It means no additional effort with setting context propagation on the OT instrumentation level.