Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ExtractServiceTimes bool
)
Functions ¶
This section is empty.
Types ¶
type CacheObjectClient ¶
type CacheObjectClient struct {
// contains filtered or unexported fields
}
CacheObjectClient holds information about squid manager
func NewCacheObjectClient ¶
func NewCacheObjectClient(cor *CacheObjectRequest) *CacheObjectClient
NewCacheObjectClient initializes a new cache client
func (*CacheObjectClient) GetCounters ¶
func (c *CacheObjectClient) GetCounters() (types.Counters, error)
GetCounters fetches counters from squid cache manager
func (*CacheObjectClient) GetInfos ¶ added in v1.11.0
func (c *CacheObjectClient) GetInfos() (types.Counters, error)
GetInfos fetches info from squid cache manager
func (*CacheObjectClient) GetServiceTimes ¶ added in v1.9.0
func (c *CacheObjectClient) GetServiceTimes() (types.Counters, error)
GetServiceTimes fetches service times from squid cache manager
type CacheObjectRequest ¶ added in v1.10.0
type CollectorConfig ¶ added in v1.10.0
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
Exporter entry point to squid exporter
func (*Exporter) Collect ¶
func (e *Exporter) Collect(c chan<- prometheus.Metric)
Collect fetches metrics from squid manager and pushes them to promethus
func (*Exporter) Describe ¶
func (e *Exporter) Describe(ch chan<- *prometheus.Desc)
Describe describes all the metrics ever exported by the ECS exporter. It implements prometheus.Collector.
Click to show internal directories.
Click to hide internal directories.