Discover Packages
go.opentelemetry.io/contrib/instrumentation/github.com/aws/aws-sdk-go-v2/otelaws/example
command
module
Version:
v0.60.0
Opens a new window with list of versions in this module.
Published: Mar 6, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
aws/aws-sdk-go-v2 instrumentation example
A simple example to demonstrate the AWS SDK V2 for Go instrumentation. In this example, container aws-sdk-client
initializes a S3 client and a DynamoDB client and runs 2 basic operations: listS3Buckets
and listDynamodbTables
.
These instructions assume you have
docker-compose installed and setup, and AWS credential configured.
From within the example
directory, bring up the project by running:
docker-compose up --detach
The instrumentation works with a stdout
exporter. To inspect the output, you can run:
docker-compose logs
After inspecting the client logs, the example can be cleaned up by running:
docker-compose down
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.