An easier way to configure the OpenTelemetry SDK in your applications | Declarative Configuration
In this video, we'll explore OpenTelemetry's declarative configuration feature, a powerful new method to configure the OpenTelemetry SDK using a YAML file without the complexity and overhead of programmatic instrumentation.
I'll demonstrate this with a simple Go application instrumented using declarative configuration, sending metrics, traces, and logs to Splunk Observability Cloud. We'll cover:
- What Declarative Configuration is and why you would use it
- A practical walkthrough of configuring the OpenTelemetry SDK using declarative configuration
- Integrating and visualizing your telemetry data seamlessly in Splunk Observability Cloud
Resources:
Declarative configuration language implementations - https://github.com/open-telemetry/opentelemetry-configuration/issues/100
Demo GitHub repo with examples in various languages - https://github.com/codeboten/kubecon-na-24/tree/main
OpenTelemetry Configuration Specification - https://github.com/open-telemetry/opentelemetry-configuration
Declarative Configuration Presentation KubeCon 2024 - https://youtu.be/u6svjtGpXO4
Try Splunk Observability Cloud free for 14 days: https://splunk.com/o11y-trial
Splunk Observability Hub: https://splunk.com/observabilityhub
TOC:
Introduction 00:00
What is declarative configuration and why should you use it 00:12
Code walkthrough 02:41
Configuration walkthrough 05:48
Running the application and collector 09:17
Viewing metrics, traces and logs in Splunk Observability Cloud 11:16
Recap 15:40
Resources and Conclusion 16:15