Go instrumentation compatibility and requirements 🔗
Meet these requirements to instrument Go applications for Splunk Observability Cloud.
Supported libraries and frameworks 🔗
The Splunk Distribution of OpenTelemetry Go can instrument the following libraries. Check the documentation of each instrumentation package to learn how to activate it.
Target package |
Instrumentation package |
---|---|
database/sql |
|
host |
|
net/http |
|
net/http/httptrace |
|
runtime |
|
github.com/astaxie/beego |
|
github.com/aws/aws-sdk-go-v2 |
|
github.com/bradfitz/gomemcache |
|
github.com/confluentinc/confluent-kafka-go/kafka |
|
github.com/emicklei/go-restful |
|
github.com/gin-gonic/gin |
|
github.com/go-chi/chi |
|
github.com/go-kit/kit |
|
github.com/go-sql-driver/mysql |
|
github.com/gocql/gocql |
|
github.com/gomodule/redigo |
|
github.com/gorilla/mux |
|
github.com/graph-gophers/graphql-go |
|
github.com/jackc/pgx |
|
github.com/jinzhu/gorm |
|
github.com/jmoiron/sqlx |
|
github.com/julienschmidt/httprouter |
|
github.com/labstack/echo |
|
github.com/lib/pq |
|
github.com/miekg/dns |
|
gopkg.in/olivere/elastic |
|
github.com/Shopify/sarama |
|
github.com/syndtr/goleveldb/leveldb |
|
github.com/tidwall/buntdb |
|
go.mongodb.org/mongo-driver |
|
google.golang.org/grpc |
|
gopkg.in/macaron.v1 |
|
k8s.io/client-go |
Ensure you are using supported Go versions 🔗
The Splunk Distribution of OpenTelemetry Go is compatible with Go 1.17 and higher.
Install and configure the Splunk Distribution of OpenTelemetry Collector 🔗
The Splunk Distribution of OpenTelemetry Go exports application traces and spans to the Splunk Distribution of OpenTelemetry Collector, which also collects system metric data and logs.
To send application traces and spans to Observability Cloud, install the Splunk Distribution of OpenTelemetry Collector for your platform. The following distributions are available:
Splunk OTel Collector for Linux. See Install the Collector for Linux.
Splunk OTel Collector for Windows. See Install the Collector for Windows with the installer script.
Splunk OTel Collector for Kubernetes. See Install the Collector for Kubernetes.