package
0.0.0-20241006212755-6c2a7a67a937
Repository: https://github.com/autoscalerhq/autoscaler.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetCPUUsage calculates the CPU usage percentage and updates the rolling window and CPUMetric variables.
No description provided by the author
No description provided by the author
TracingMiddleware This middleware is used to start and end a tracing span for each HTTP request.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
CPUCapacity implements the Capacity interface based on CPU usage.
CPUFailureProbability implements the FailureProbability interface based on CPU usage.
No description provided by the author
No description provided by the author
No description provided by the author
RejectionHandler is a custom handler for load shed rejections.
No description provided by the author

# Type aliases

No description provided by the author