# Functions
No description provided by the author
CalculateRates calculates the moving average rates per service.
NewMetricsClient returns a new client and starts collecting metrics.
No description provided by the author
No description provided by the author
# Structs
NginxMetricsClient holds some state about the clients.
RateKey is the key for aggregated rates, which are averaged across all pods.
TotalKey is the indexing of totals from the nginx traffic stats, which vary per pod.
UpstreamMetric captures nginx metrics referring to upstreams.