collector

package
v0.5.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Overview

Package collector is the package that collects metric data from katalyst agents (current implement is a pulling model), and it's responsible to push those data to data stores.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DummyMetricCollector

type DummyMetricCollector struct{}

func (DummyMetricCollector) Name

func (d DummyMetricCollector) Name() string

func (DummyMetricCollector) Start

func (d DummyMetricCollector) Start() error

func (DummyMetricCollector) Stop

func (d DummyMetricCollector) Stop() error

type MetricCollector

type MetricCollector interface {
	Name() string

	// Start and Stop are both blocked functions
	Start() error
	Stop() error
}

MetricCollector is a standard metric collector interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL