Docs » Splunk Observability Cloud でサポートされているインテグレーション » バックエンドアプリケーションをインストルメンテーションして、スパンを Splunk APM に送信する » Splunk Observability Cloud けに Go アプリケーションをインストルメンテーションする » Goインストルメンテーションの互換性と要件

Goインストルメンテーションの互換性と要件 🔗

Go アプリケーションを Splunk Observability Cloud でインストルメンテーションするには、以下の要件を満たす必要があります。

サポートされているライブラリとフレームワーク 🔗

OpenTelemetry Registry に掲載されているインストルメンテーション・ライブラリのどれでも使用できます。

次の表は、Splunk がサポートしているすべてのインストルメンテーションの一覧です。各インストルメンテーション・パッケージのドキュメントを確認し、有効化する方法を学んでください。

ターゲット・パッケージ

インストルメンテーション・パッケージ

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

サポートされているGoのバージョンを使用していることを確認してください。 🔗

Splunk Distribution of OpenTelemetry Go は、Go 1.21 以降と互換性があります。

Splunk Distribution of OpenTelemetry Collectorのインストールと設定 🔗

Splunk Distribution of OpenTelemetry Go は、アプリケーションのトレースとスパンを Splunk Distribution of OpenTelemetry Collector にエクスポートします。

アプリケーションのトレースとスパンを Splunk Observability Cloud に送信するには、お使いのプラットフォーム用の Splunk Distribution of OpenTelemetry Collectorをインストールします。以下のディストリビューションが利用可能です:

This page was last updated on 2024年04月23日.