xrayaws

package module
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package xrayaws provides AWS X-Ray tracing for AWS SDK for Go v1.

sess := session.Must(session.NewSession())
svc := dynamodb.New(sess)
xrayaws.Client(svc.Client) // install AWS X-Ray tracer

// the following requests are traced.
dynamo.ListTablesWithContext(ctx, &dynamodb.ListTablesInput{})

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(c *client.Client) *client.Client

Client adds X-Ray tracing to an AWS client.

func ClientWithWhitelist

func ClientWithWhitelist(c *client.Client, whitelist *whitelist.Whitelist) *client.Client

ClientWithWhitelist adds X-Ray tracing to an AWS client with custom whitelist.

Types

This section is empty.

Directories

Path Synopsis
Package whitelist provides the whitelist of parameters for aws api.
Package whitelist provides the whitelist of parameters for aws api.

Jump to

Keyboard shortcuts

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