metrics

package
v0.0.0-...-ebc3c25 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCollector

func NewCollector(registerer prometheus.Registerer) (*collector, error)

func WithSDKCallMetricCollector

func WithSDKCallMetricCollector(c *collector) func(stack *smithymiddleware.Stack) error

WithSDKCallMetricCollector is a middleware for the AWS SDK Go v2 that collects and reports metrics on API calls. The call metrics are collected after the call is completed

func WithSDKMetricCollector

func WithSDKMetricCollector(c *collector, apiOptions []func(*smithymiddleware.Stack) error) []func(*smithymiddleware.Stack) error

WithSDKMetricCollector is a function that collects prometheus metrics for the AWS SDK Go v2 API calls ad requests

func WithSDKRequestMetricCollector

func WithSDKRequestMetricCollector(c *collector) func(stack *smithymiddleware.Stack) error

WithSDKRequestMetricCollector is a middleware for the AWS SDK Go v2 that collects and reports metrics on API requests. The request metrics are collected after each retry attempts

Types

This section is empty.

Jump to

Keyboard shortcuts

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