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 ¶
GetExporter defines a factory for returning opencensus Exporter. Ensure config.ReadConfig() is called at some point before this function.
Click to show internal directories.
Click to hide internal directories.