example

command module
Version: v0.36.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

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.

  1. From within the example directory, bring up the project by running:

    docker-compose up --detach
    
  2. The instrumentation works with a stdout exporter. To inspect the output, you can run:

    docker-compose logs
    
  3. After inspecting the client logs, the example can be cleaned up by running:

    docker-compose down
    

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL