/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/prometheus/alertmanager/test/with_api_v2/ |
H A D | collector.go | 28 type Collector struct { struct 29 t *testing.T 30 name string 31 opts *AcceptanceOpts 33 collected map[float64][]models.GettableAlerts 34 expected map[Interval][]models.GettableAlerts 36 mtx sync.RWMutex 39 func (c *Collector) String() string { 73 func (c *Collector) latest() float64 { 99 func (c *Collector) add(alerts ...*models.GettableAlert) { [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/prometheus/alertmanager/test/with_api_v1/ |
H A D | collector.go | 27 type Collector struct { struct 28 t *testing.T 29 name string 30 opts *AcceptanceOpts 32 collected map[float64][]model.Alerts 33 expected map[Interval][]model.Alerts 35 mtx sync.RWMutex 38 func (c *Collector) String() string { 64 func (c *Collector) latest() float64 { 90 func (c *Collector) add(alerts ...*model.Alert) { [all …]
|
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/github.com/prometheus/alertmanager/test/with_api_v1/ |
H A D | collector.go | 27 type Collector struct { struct 28 t *testing.T 29 name string 30 opts *AcceptanceOpts 32 collected map[float64][]model.Alerts 33 expected map[Interval][]model.Alerts 35 mtx sync.RWMutex 38 func (c *Collector) String() string { 64 func (c *Collector) latest() float64 { 90 func (c *Collector) add(alerts ...*model.Alert) { [all …]
|
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/prometheus/alertmanager/test/with_api_v1/ |
H A D | collector.go | 27 type Collector struct { struct 28 t *testing.T 29 name string 30 opts *AcceptanceOpts 32 collected map[float64][]model.Alerts 33 expected map[Interval][]model.Alerts 35 mtx sync.RWMutex 38 func (c *Collector) String() string { 64 func (c *Collector) latest() float64 { 90 func (c *Collector) add(alerts ...*model.Alert) { [all …]
|
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/docker/machine/machine-7b7a141da844/vendor/github.com/vmware/govmomi/property/ |
H A D | collector.go | 35 type Collector struct { struct 36 roundTripper soap.RoundTripper 37 reference types.ManagedObjectReference 50 func (p Collector) Reference() types.ManagedObjectReference { 56 func (p *Collector) Create(ctx context.Context) (*Collector, error) { 75 func (p *Collector) Destroy(ctx context.Context) error { 89 func (p *Collector) CreateFilter(ctx context.Context, req types.CreateFilter) error { 100 func (p *Collector) WaitForUpdates(ctx context.Context, v string) (*types.UpdateSet, error) { 114 …ies(ctx context.Context, req types.RetrieveProperties) (*types.RetrievePropertiesResponse, error) { 123 …eve(ctx context.Context, objs []types.ManagedObjectReference, ps []string, dst interface{}) error { [all …]
|
/dports/sysutils/docker-machine/machine-0.16.2/vendor/github.com/vmware/govmomi/property/ |
H A D | collector.go | 35 type Collector struct { struct 36 roundTripper soap.RoundTripper 37 reference types.ManagedObjectReference 50 func (p Collector) Reference() types.ManagedObjectReference { 56 func (p *Collector) Create(ctx context.Context) (*Collector, error) { 75 func (p *Collector) Destroy(ctx context.Context) error { 89 func (p *Collector) CreateFilter(ctx context.Context, req types.CreateFilter) error { 100 func (p *Collector) WaitForUpdates(ctx context.Context, v string) (*types.UpdateSet, error) { 114 …ies(ctx context.Context, req types.RetrieveProperties) (*types.RetrievePropertiesResponse, error) { 123 …eve(ctx context.Context, objs []types.ManagedObjectReference, ps []string, dst interface{}) error { [all …]
|
/dports/net-mgmt/nvidia_gpu_prometheus_exporter/nvidia_gpu_prometheus_exporter-0d52cd2/ |
H A D | main.go | 25 type Collector struct { struct 26 sync.Mutex 27 numDevices prometheus.Gauge 28 usedMemory *prometheus.GaugeVec 29 totalMemory *prometheus.GaugeVec 30 dutyCycle *prometheus.GaugeVec 31 powerUsage *prometheus.GaugeVec 32 temperature *prometheus.GaugeVec 33 fanSpeed *prometheus.GaugeVec 96 func (c *Collector) Describe(ch chan<- *prometheus.Desc) { [all …]
|
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/docker/docker/vendor/github.com/docker/swarmkit/manager/metrics/ |
H A D | collector.go | 42 type Collector struct { struct 43 store *store.MemoryStore 46 stopChan chan struct{} 48 doneChan chan struct{} 61 func (c *Collector) Run(ctx context.Context) error { 127 func (c *Collector) Stop() { 151 func (c *Collector) handleEvent(event events.Event) { 168 func (c *Collector) handleNodeEvent(event events.Event) { 193 func (c *Collector) handleTaskEvent(event events.Event) { 222 func (c *Collector) handleServiceEvent(event events.Event) { [all …]
|
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/docker/docker/vendor/github.com/docker/swarmkit/manager/metrics/ |
H A D | collector.go | 42 type Collector struct { struct 43 store *store.MemoryStore 46 stopChan chan struct{} 48 doneChan chan struct{} 61 func (c *Collector) Run(ctx context.Context) error { 127 func (c *Collector) Stop() { 151 func (c *Collector) handleEvent(event events.Event) { 168 func (c *Collector) handleNodeEvent(event events.Event) { 193 func (c *Collector) handleTaskEvent(event events.Event) { 222 func (c *Collector) handleServiceEvent(event events.Event) { [all …]
|
/dports/sysutils/docker/docker-ce-18.09.5/components/engine/vendor/github.com/docker/swarmkit/manager/metrics/ |
H A D | collector.go | 42 type Collector struct { struct 43 store *store.MemoryStore 46 stopChan chan struct{} 48 doneChan chan struct{} 61 func (c *Collector) Run(ctx context.Context) error { 127 func (c *Collector) Stop() { 151 func (c *Collector) handleEvent(event events.Event) { 168 func (c *Collector) handleNodeEvent(event events.Event) { 193 func (c *Collector) handleTaskEvent(event events.Event) { 222 func (c *Collector) handleServiceEvent(event events.Event) { [all …]
|
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/docker/docker/vendor/github.com/docker/swarmkit/manager/metrics/ |
H A D | collector.go | 42 type Collector struct { struct 43 store *store.MemoryStore 46 stopChan chan struct{} 48 doneChan chan struct{} 61 func (c *Collector) Run(ctx context.Context) error { 127 func (c *Collector) Stop() { 151 func (c *Collector) handleEvent(event events.Event) { 168 func (c *Collector) handleNodeEvent(event events.Event) { 194 func (c *Collector) handleTaskEvent(event events.Event) { 225 func (c *Collector) handleServiceEvent(event events.Event) { [all …]
|
/dports/databases/timescaledb-backup/timescaledb-backup-0.1.1/vendor/github.com/docker/docker/vendor/github.com/docker/swarmkit/manager/metrics/ |
H A D | collector.go | 42 type Collector struct { struct 43 store *store.MemoryStore 46 stopChan chan struct{} 48 doneChan chan struct{} 61 func (c *Collector) Run(ctx context.Context) error { 127 func (c *Collector) Stop() { 151 func (c *Collector) handleEvent(event events.Event) { 168 func (c *Collector) handleNodeEvent(event events.Event) { 193 func (c *Collector) handleTaskEvent(event events.Event) { 222 func (c *Collector) handleServiceEvent(event events.Event) { [all …]
|
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/docker/docker/vendor/github.com/docker/swarmkit/manager/metrics/ |
H A D | collector.go | 42 type Collector struct { struct 43 store *store.MemoryStore 46 stopChan chan struct{} 48 doneChan chan struct{} 61 func (c *Collector) Run(ctx context.Context) error { 127 func (c *Collector) Stop() { 151 func (c *Collector) handleEvent(event events.Event) { 168 func (c *Collector) handleNodeEvent(event events.Event) { 193 func (c *Collector) handleTaskEvent(event events.Event) { 222 func (c *Collector) handleServiceEvent(event events.Event) { [all …]
|
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/docker/docker/vendor/github.com/docker/swarmkit/manager/metrics/ |
H A D | collector.go | 42 type Collector struct { struct 43 store *store.MemoryStore 46 stopChan chan struct{} 48 doneChan chan struct{} 61 func (c *Collector) Run(ctx context.Context) error { 127 func (c *Collector) Stop() { 151 func (c *Collector) handleEvent(event events.Event) { 168 func (c *Collector) handleNodeEvent(event events.Event) { 193 func (c *Collector) handleTaskEvent(event events.Event) { 222 func (c *Collector) handleServiceEvent(event events.Event) { [all …]
|
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/docker/docker/moby-20.10.2/vendor/github.com/docker/swarmkit/manager/metrics/ |
H A D | collector.go | 42 type Collector struct { struct 43 store *store.MemoryStore 46 stopChan chan struct{} 48 doneChan chan struct{} 61 func (c *Collector) Run(ctx context.Context) error { 127 func (c *Collector) Stop() { 151 func (c *Collector) handleEvent(event events.Event) { 168 func (c *Collector) handleNodeEvent(event events.Event) { 193 func (c *Collector) handleTaskEvent(event events.Event) { 222 func (c *Collector) handleServiceEvent(event events.Event) { [all …]
|
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/containerd/containerd/containerd-1.4.3/metrics/cgroups/v2/ |
H A D | metrics.go | 67 type Collector struct { struct 68 mu sync.RWMutex 70 tasks map[string]Statable 71 ns *metrics.Namespace 72 metrics []*metric 73 storedMetrics chan prometheus.Metric 77 func (c *Collector) Describe(ch chan<- *prometheus.Desc) { 84 func (c *Collector) Collect(ch chan<- prometheus.Metric) { 131 func (c *Collector) Add(t Statable) error { 146 func (c *Collector) Remove(t Statable) { [all …]
|
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/containerd/containerd/metrics/cgroups/v2/ |
H A D | metrics.go | 67 type Collector struct { struct 68 mu sync.RWMutex 70 tasks map[string]Statable 71 ns *metrics.Namespace 72 metrics []*metric 73 storedMetrics chan prometheus.Metric 77 func (c *Collector) Describe(ch chan<- *prometheus.Desc) { 84 func (c *Collector) Collect(ch chan<- prometheus.Metric) { 131 func (c *Collector) Add(t Statable) error { 146 func (c *Collector) Remove(t Statable) { [all …]
|
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/containerd/containerd/metrics/cgroups/v2/ |
H A D | metrics.go | 67 type Collector struct { struct 68 mu sync.RWMutex 70 tasks map[string]Statable 71 ns *metrics.Namespace 72 metrics []*metric 73 storedMetrics chan prometheus.Metric 77 func (c *Collector) Describe(ch chan<- *prometheus.Desc) { 84 func (c *Collector) Collect(ch chan<- prometheus.Metric) { 131 func (c *Collector) Add(t Statable) error { 146 func (c *Collector) Remove(t Statable) { [all …]
|
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/containerd/containerd/metrics/cgroups/v2/ |
H A D | metrics.go | 67 type Collector struct { struct 68 mu sync.RWMutex 70 tasks map[string]Statable 71 ns *metrics.Namespace 72 metrics []*metric 73 storedMetrics chan prometheus.Metric 77 func (c *Collector) Describe(ch chan<- *prometheus.Desc) { 84 func (c *Collector) Collect(ch chan<- prometheus.Metric) { 131 func (c *Collector) Add(t Statable) error { 146 func (c *Collector) Remove(t Statable) { [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/containerd/containerd/metrics/cgroups/v2/ |
H A D | metrics.go | 67 type Collector struct { struct 68 mu sync.RWMutex 70 tasks map[string]Statable 71 ns *metrics.Namespace 72 metrics []*metric 73 storedMetrics chan prometheus.Metric 77 func (c *Collector) Describe(ch chan<- *prometheus.Desc) { 84 func (c *Collector) Collect(ch chan<- prometheus.Metric) { 131 func (c *Collector) Add(t Statable) error { 146 func (c *Collector) Remove(t Statable) { [all …]
|
/dports/sysutils/helm/helm-3.5.2/vendor/github.com/containerd/containerd/metrics/cgroups/v2/ |
H A D | metrics.go | 67 type Collector struct { struct 68 mu sync.RWMutex 70 tasks map[string]Statable 71 ns *metrics.Namespace 72 metrics []*metric 73 storedMetrics chan prometheus.Metric 77 func (c *Collector) Describe(ch chan<- *prometheus.Desc) { 84 func (c *Collector) Collect(ch chan<- prometheus.Metric) { 131 func (c *Collector) Add(t Statable) error { 146 func (c *Collector) Remove(t Statable) { [all …]
|
/dports/devel/gitlab-runner/gitlab-runner-8925d9a06fd8e452e2161a768462652a2a13111f/vendor/github.com/containerd/containerd/containerd-1.4.3/metrics/cgroups/v1/ |
H A D | metrics.go | 74 type Collector struct { struct 75 mu sync.RWMutex 77 tasks map[string]Statable 78 ns *metrics.Namespace 79 metrics []*metric 80 storedMetrics chan prometheus.Metric 84 func (c *Collector) Describe(ch chan<- *prometheus.Desc) { 91 func (c *Collector) Collect(ch chan<- prometheus.Metric) { 138 func (c *Collector) Add(t Statable) error { 153 func (c *Collector) Remove(t Statable) { [all …]
|
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/containerd/containerd/metrics/cgroups/v1/ |
H A D | metrics.go | 74 type Collector struct { struct 75 mu sync.RWMutex 77 tasks map[string]Statable 78 ns *metrics.Namespace 79 metrics []*metric 80 storedMetrics chan prometheus.Metric 84 func (c *Collector) Describe(ch chan<- *prometheus.Desc) { 91 func (c *Collector) Collect(ch chan<- prometheus.Metric) { 138 func (c *Collector) Add(t Statable) error { 153 func (c *Collector) Remove(t Statable) { [all …]
|
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/containerd/containerd/metrics/cgroups/v1/ |
H A D | metrics.go | 74 type Collector struct { struct 75 mu sync.RWMutex 77 tasks map[string]Statable 78 ns *metrics.Namespace 79 metrics []*metric 80 storedMetrics chan prometheus.Metric 84 func (c *Collector) Describe(ch chan<- *prometheus.Desc) { 91 func (c *Collector) Collect(ch chan<- prometheus.Metric) { 138 func (c *Collector) Add(t Statable) error { 153 func (c *Collector) Remove(t Statable) { [all …]
|
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/containerd/containerd/metrics/cgroups/v1/ |
H A D | metrics.go | 74 type Collector struct { struct 75 mu sync.RWMutex 77 tasks map[string]Statable 78 ns *metrics.Namespace 79 metrics []*metric 80 storedMetrics chan prometheus.Metric 84 func (c *Collector) Describe(ch chan<- *prometheus.Desc) { 91 func (c *Collector) Collect(ch chan<- prometheus.Metric) { 138 func (c *Collector) Add(t Statable) error { 153 func (c *Collector) Remove(t Statable) { [all …]
|