monitoring

package
v4.13.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Overview

Package monitoring defines exporters to be used by opencensus package in the cron job.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter interface {
	ExportView(viewData *view.Data)
	StartMetricsExporter() error
	StopMetricsExporter()
	Flush()
}

Exporter interface is a custom wrapper to represent an opencensus exporter.

func GetExporter

func GetExporter() (Exporter, error)

GetExporter defines a factory for returning opencensus Exporter. Ensure config.ReadConfig() is called at some point before this function.

Jump to

Keyboard shortcuts

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