package
7.0.1+incompatible
Repository: https://github.com/apache/trafficcontrol.git
Documentation: pkg.go.dev
# Functions
NewLastStats returns a new LastStats object, initializing internal pointer values.
NewStat returns a new delivery service Stat, initializing pointer members.
NewStats creates a new Stats object, initializing any pointer members.
# Variables
ErrNotProcessedStat indicates a stat received is not used by Traffic Monitor, nor returned by any API endpoint.
# Structs
LastDSStat maps and aggregates the last stats received for the given delivery service to caches, cache groups, types, and total.
LastStatData contains the value, time it was received, and per-second calculation since the previous stat, for a stat from a cache.
LastStats includes the previously recieved stats for DeliveryServices and Caches, the stat itself, when it was received, and the stat value per second.
LastStatsData contains the last stats and per-second calculations for bytes and status codes received from a cache.
Stat represents a complete delivery service stat, for a given poll, or at the time requested.
StatBool is a boolean stat, combined with its metadata.
StatCacheStats is all the stats generated by a cache.
StatCommon contains stat data common to most delivery service stats.
StatFloat is a float stat, combined with its metadata.
StatInt is an integer stat, combined with its metadata.
StatMeta includes metadata about a particular stat.
StatOld is the old JSON representation of a stat, from Traffic Monitor 1.0.
Stats is the JSON-serialisable representation of delivery service Stats.
StatsOld is the old JSON representation of stats, from Traffic Monitor 1.0.
StatString is a string stat, combined with its metadata.
# Interfaces
Filter encapsulates functions to filter a given set of Stats, e.g.
StatCommonReadonly is a read-only interface for a delivery service's common Stat data, designed to be passed to multiple goroutine readers.
StatReadonly is a read-only interface for a delivery service Stat, designed to be passed to multiple goroutine readers.
StatsReadonly is a read-only interface for delivery service Stats, designed to be passed to multiple goroutine readers.
# Type aliases
StatName is the name of a stat.