awsmetricsv2

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package awsmetricsv2 enables instrumenting the aws-sdk-go-v2 to emit prometheus metrics on AWS API calls

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstrumentAWSHTTPClient

func InstrumentAWSHTTPClient(httpClient *awshttp.BuildableClient, registry prometheus.Registerer) (aws.HTTPClient, error)

InstrumentAWSHTTPClient turns an arbitrary AWS http client into an aws-sdk-go-v2 instrumented client

func WithInstrumentedClients

func WithInstrumentedClients(registry prometheus.Registerer) config.LoadOptionsFunc

WithInstrumentedClient returns a LoadOptionsFunc for use with aws-sdk-go-v2 config

Types

This section is empty.

Jump to

Keyboard shortcuts

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