Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterExporters(options []ExporterOptions) (registrationErr error)
- func WithCount(ctx context.Context, userAgent string, f func(), measure Measure)
- func WithGauge(ctx context.Context, userAgent string, f func(), measure Measure)
- func WithRouteCount(ctx context.Context, userAgent, route, method string, f func(), ...)
- type DatadogOptions
- type ExporterOptions
- type ExporterRegisterer
- type ExporterType
- type Measure
- type OpenCensusEventsExporter
- type OptionEnvName
- type OptionFlushInterval
- type OptionType
- type Processor
- type PrometheusOptions
- type RelayMetricsEvent
- type StackdriverOptions
Constants ¶
View Source
const RelayMetricsKind = "relayMetrics"
Variables ¶
View Source
var ( BrowserConns = Measure{/* contains filtered or unexported fields */} MobileConns = Measure{/* contains filtered or unexported fields */} ServerConns = Measure{/* contains filtered or unexported fields */} NewBrowserConns = Measure{/* contains filtered or unexported fields */} NewMobileConns = Measure{/* contains filtered or unexported fields */} NewServerConns = Measure{/* contains filtered or unexported fields */} BrowserRequests = Measure{/* contains filtered or unexported fields */} MobileRequests = Measure{/* contains filtered or unexported fields */} ServerRequests = Measure{/* contains filtered or unexported fields */} )
Functions ¶
func RegisterExporters ¶
func RegisterExporters(options []ExporterOptions) (registrationErr error)
Types ¶
type DatadogOptions ¶
type ExporterOptions ¶
type ExporterOptions interface {
// contains filtered or unexported methods
}
type ExporterRegisterer ¶
type ExporterRegisterer func(options ExporterOptions) error
type ExporterType ¶
type ExporterType string
type OpenCensusEventsExporter ¶
type OpenCensusEventsExporter struct {
// contains filtered or unexported fields
}
func (*OpenCensusEventsExporter) ExportView ¶
func (e *OpenCensusEventsExporter) ExportView(viewData *view.Data)
type OptionEnvName ¶
type OptionEnvName string
type OptionFlushInterval ¶
type OptionType ¶
type OptionType interface {
// contains filtered or unexported methods
}
type Processor ¶
func NewMetricsProcessor ¶
func NewMetricsProcessor(publisher events.EventPublisher, options ...OptionType) (*Processor, error)
type PrometheusOptions ¶
type RelayMetricsEvent ¶
type StackdriverOptions ¶
Click to show internal directories.
Click to hide internal directories.