Registry / observability / contrib-instrumentation-github-com-aws-aws-sdk-go-v2-otelaws

contrib-instrumentation-github-com-aws-aws-sdk-go-v2-otelaws

JSON →
library0.69.0gogounverified

Package otelaws provides instrumentation for the AWS SDK.

go get go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws
INSTALL
IMPORT
SIG · CONTRIB-INSTRUMENT
C
contrib-instrumentation-github-com-aws-aws-sdk-go-v2-otelaws
observabilitygov0.69.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

otelaws
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws

Instrument an AWS SDK v2 client with OpenTelemetry tracing.

package main import ( "context" "github.com/aws/aws-sdk-go-v2/config" "github.com/aws/aws-sdk-go-v2/service/s3" "go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws" ) func main() { cfg, _ := config.LoadDefaultConfig(context.Background()) otelaws.AppendMiddlewares(&cfg.APIOptions) client := s3.NewFromConfig(cfg) client.ListBuckets(context.Background(), &s3.ListBucketsInput{}) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.69.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
contrib-instrumentation-github-com-aws-aws-sdk-go-v2-otelaws — go get contrib-instrumentation-github-com-aws-aws-sdk-go-v2-otelaws · libregistry