metrics

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LabelIngested = "ingested"
)

Variables

This section is empty.

Functions

func NewOpenCensusObservabilityService

func NewOpenCensusObservabilityService(r Reporter) ceclient.ObservabilityService

Types

type Reporter

type Reporter interface {
	ReportProcessedEvent(ingested bool, eventType string, msLatency float64)
	ReportNonValidEvent()
}

func NewReporter

func NewReporter(ctx context.Context) (Reporter, error)

NewReporter retuns a StatReporter for ingested events.

Jump to

Keyboard shortcuts

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