package
1.0.3
Repository: https://github.com/percona/telemetry-agent.git
Documentation: pkg.go.dev

# Functions

New creates new Percona Platform Telemetry client.
WithBaseURL method is to set Base URL in the client instance.
WithClientTimeout method sets timeout for request raised from client.
WithLogFullRequest enable/disables logging of request/response body and headers.
WithLogger method sets given writer for logging client request and response details.
WithResendTimeout method sets default wait time to sleep before retrying request.
WithRetryCount method enables retry on client and allows you to set no.
WithTLSClientConfig method sets TLSClientConfig for underling client Transport.

# Structs

Client is HTTP Percona Platform client.
Error is a model of an error response from Percona Platform.

# Interfaces

Logger interface is to abstract the logging from Client.

# Type aliases

Option is an option for Client returned by constructor.