Docs » Supported integrations in Splunk Observability Cloud » Instrument back-end applications to send spans to Splunk APM » Instrument Go applications for Splunk Observability Cloud » Go instrumentation compatibility and requirements

Go instrumentation compatibility and requirements 🔗

Meet these requirements to instrument Go applications for Splunk Observability Cloud.

Supported libraries and frameworks 🔗

You can use any of the instrumentation libraries listed in the OpenTelemetry Registry .

The following table lists all the instrumentations supported by Splunk. Check the documentation of each instrumentation package to learn how to activate it.

Target package

Instrumentation package

database/sql

splunksql

github.com/confluentinc/confluent-kafka-go/kafka

splunkkafka

github.com/confluentinc/confluent-kafka-go/v2/kafka

splunkkafka

github.com/go-chi/chi

splunkchi

github.com/gomodule/redigo

splunkredigo

github.com/graph-gophers/graphql-go

splunkgraphql

github.com/jackc/pgx/v4

splunkpgx

github.com/jackc/pgx/v5

splunkpgx

github.com/jinzhu/gorm

splunkgorm

github.com/jmoiron/sqlx

splunksqlx

github.com/julienschmidt/httprouter

splunkhttprouter

github.com/lib/pq

splunkpq

github.com/miekg/dns

splunkdns

gopkg.in/olivere/elastic

splunkelastic

github.com/syndtr/goleveldb/leveldb

splunkleveldb

github.com/tidwall/buntdb

splunkbuntdb

k8s.io/client-go

splunkclient-go

Ensure you are using supported Go versions 🔗

The Splunk Distribution of OpenTelemetry Go is compatible with Go 1.21 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 Splunk Observability Cloud, install the Splunk Distribution of OpenTelemetry Collector for your platform. The following distributions are available: