Help us shape the future of Go! Take the 2026 Go Developer Survey

retryer

package
v1.300074.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultMaxRetries is the number of retries after the first attempt.
	DefaultMaxRetries = 3
)

Variables

This section is empty.

Functions

func IsErrThrottle added in v1.300074.0

func IsErrThrottle(err error) bool

IsErrThrottle is a wrapper for the default throttle error code check for the AWS SDK retry logic.

Types

type LogThrottleRetryer

type LogThrottleRetryer struct {
	Log telegraf.Logger

	// Embed the standard retryer for default behavior
	*retry.Standard
	// contains filtered or unexported fields
}

func NewLogThrottleRetryer

func NewLogThrottleRetryer(logger telegraf.Logger) *LogThrottleRetryer

func (*LogThrottleRetryer) IsErrorRetryable added in v1.300074.0

func (r *LogThrottleRetryer) IsErrorRetryable(err error) bool

func (*LogThrottleRetryer) Stop

func (r *LogThrottleRetryer) Stop()

Jump to

Keyboard shortcuts

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