Documentation ¶
Index ¶
- Variables
- func NewConsoleOutput() (output.Output, error)
- type ConsoleOutput
- func (c *ConsoleOutput) Start()
- func (c *ConsoleOutput) Stop()
- func (c *ConsoleOutput) WriteBatchAsync(configKey, targetKey, metricName string, array []*model.DetailData) error
- func (c *ConsoleOutput) WriteBatchV4(configKey, targetKey, metricName string, array []*model.DetailData, ...) error
- func (c *ConsoleOutput) WriteMetricsV1(metrics []*model.Metric, extension output.Extension)
Constants ¶
This section is empty.
Variables ¶
View Source
var Console output.Output = &ConsoleOutput{}
Functions ¶
func NewConsoleOutput ¶
Types ¶
type ConsoleOutput ¶
type ConsoleOutput struct{}
func (*ConsoleOutput) Start ¶
func (c *ConsoleOutput) Start()
func (*ConsoleOutput) Stop ¶
func (c *ConsoleOutput) Stop()
func (*ConsoleOutput) WriteBatchAsync ¶
func (c *ConsoleOutput) WriteBatchAsync(configKey, targetKey, metricName string, array []*model.DetailData) error
func (*ConsoleOutput) WriteBatchV4 ¶
func (c *ConsoleOutput) WriteBatchV4(configKey, targetKey, metricName string, array []*model.DetailData, _ *output.PeriodCompleteness) error
func (*ConsoleOutput) WriteMetricsV1 ¶
func (c *ConsoleOutput) WriteMetricsV1(metrics []*model.Metric, extension output.Extension)
Click to show internal directories.
Click to hide internal directories.