Documentation ¶
Index ¶
- func CreateStackdriverSink(uri *url.URL) (core.DataSink, error)
- type StackdriverSink
- func (sink *StackdriverSink) ExportData(dataBatch *core.DataBatch)
- func (sink *StackdriverSink) LegacyTranslateLabeledMetric(timestamp time.Time, labels map[string]string, metric core.LabeledMetric, ...) *monitoringpb.TimeSeries
- func (sink *StackdriverSink) LegacyTranslateMetric(timestamp time.Time, labels map[string]string, name string, ...) *monitoringpb.TimeSeries
- func (sink *StackdriverSink) Name() string
- func (sink *StackdriverSink) Stop()
- func (sink *StackdriverSink) TranslateLabeledMetric(timestamp time.Time, labels map[string]string, metric core.LabeledMetric, ...) *monitoringpb.TimeSeries
- func (sink *StackdriverSink) TranslateMetric(timestamp time.Time, labels map[string]string, name string, ...) *monitoringpb.TimeSeries
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StackdriverSink ¶ added in v1.4.0
type StackdriverSink struct {
// contains filtered or unexported fields
}
func (*StackdriverSink) ExportData ¶ added in v1.4.0
func (sink *StackdriverSink) ExportData(dataBatch *core.DataBatch)
func (*StackdriverSink) LegacyTranslateLabeledMetric ¶ added in v1.5.0
func (sink *StackdriverSink) LegacyTranslateLabeledMetric(timestamp time.Time, labels map[string]string, metric core.LabeledMetric, collectionStartTime time.Time) *monitoringpb.TimeSeries
func (*StackdriverSink) LegacyTranslateMetric ¶ added in v1.5.0
func (sink *StackdriverSink) LegacyTranslateMetric(timestamp time.Time, labels map[string]string, name string, value core.MetricValue, collectionStartTime time.Time) *monitoringpb.TimeSeries
func (*StackdriverSink) Name ¶ added in v1.4.0
func (sink *StackdriverSink) Name() string
func (*StackdriverSink) Stop ¶ added in v1.4.0
func (sink *StackdriverSink) Stop()
func (*StackdriverSink) TranslateLabeledMetric ¶ added in v1.4.0
func (sink *StackdriverSink) TranslateLabeledMetric(timestamp time.Time, labels map[string]string, metric core.LabeledMetric, collectionStartTime time.Time) *monitoringpb.TimeSeries
func (*StackdriverSink) TranslateMetric ¶ added in v1.4.0
func (sink *StackdriverSink) TranslateMetric(timestamp time.Time, labels map[string]string, name string, value core.MetricValue, collectionStartTime time.Time, entityCreateTime time.Time) *monitoringpb.TimeSeries
Click to show internal directories.
Click to hide internal directories.