package
0.0.0-20241125151401-e66715b925b4
Repository: https://github.com/control-center/serviced.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
NewClient returns a Client instance ready for communication with the given server endpoint.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
# Variables
ErrConnectionRefused is returned when the client cannot connect to the given endpoint.
ErrInvalidEndpoint is returned when the endpoint is not a valid HTTP URL.
# Structs
No description provided by the author
Datapoint is a single numerical datapoint.
No description provided by the author
No description provided by the author
MemoryUsageCache is a simple TTL cache for MemoryUsageStats objects.
No description provided by the author
Main container for stats for serviced to consume.
MetricOptions are the options for receiving metrics for a set of data.
* To record metrics, enable metrics for a function with ctx.Metrics().Enabled = true
* and: defer ctx.Metrics().Stop(ctx.Metrics().Start("FunctionName")) where
* you want to time some code through the end of the method.
No description provided by the author
No description provided by the author
PerformanceData is the resulting object from a performance query.
PerformanceOptions is the request object for doing a performance query.
RateOptions are the options for collecting performance data.
ResultData is actual resulting data from the query per metric and tag.
No description provided by the author
No description provided by the author
MetricOptions are the options for receiving metrics for a set of data.
PerformanceData is the resulting object from a performance query.
PerformanceOptions is the request object for doing a performance query.
RateOptions are the options for collecting performance data.
No description provided by the author
No description provided by the author
# Type aliases
MemoryUsageQuery is a function that will return a value to be cached in the event of a miss.
No description provided by the author