Documentation
¶
Index ¶
Constants ¶
View Source
const ( UnitCount = base.UnitCount UnitPercent = base.UnitPercent UnitSeconds = base.UnitSeconds UnitMicroseconds = base.UnitMicroseconds UnitMilliseconds = base.UnitMilliseconds UnitBytes = base.UnitBytes UnitKilobytes = base.UnitKilobytes UnitMegabytes = base.UnitMegabytes UnitGigabytes = base.UnitGigabytes UnitTerabytes = base.UnitTerabytes UnitBits = base.UnitBits UnitKilobits = base.UnitKilobits UnitMegabits = base.UnitMegabits UnitGigabits = base.UnitGigabits UnitTerabits = base.UnitTerabits )
Variables ¶
View Source
var ( NewSimpleReporterShim = base.NewSimpleReporterShim WithNamespace = base.WithNamespace WithSubsystem = base.WithSubsystem WithHelp = base.WithHelp WithUnit = base.WithUnit WithAttributes = base.WithAttributes WithExposedAttributes = base.WithExposedAttributes WithBuckets = base.WithBuckets WithQuantiles = base.WithQuantiles NilLogger = base.NilLogger NewPrintLogger = base.NewPrintLogger NewNilLogger = base.NewNilLogger )
View Source
var ( WithCloudwatchReportConfigs = cloudwatch.WithReportConfigs WithCloudwatchBatchSize = cloudwatch.WithBatchSize WithCloudwatchBufferSize = cloudwatch.WithBufferSize WithCloudwatchTickDuration = cloudwatch.WithTickDuration WithCloudwatchLogger = cloudwatch.WithLogger WithCloudwatchClock = cloudwatch.WithClock WithCloudwatchSession = cloudwatch.WithSession WithCloudwatchAPI = cloudwatch.WithAPI )
View Source
var ( NewPrometheusReporter = prometheus.NewReporter WithPrometheusReportConfigs = prometheus.WithReportConfigs WithPrometheusHandlerMaxRequestsInFlight = prometheus.WithHandlerMaxRequestsInFlight WithPrometheusHandlerTimeout = prometheus.WithHandlerTimeout WithPrometheusLogger = prometheus.WithLogger WithPrometheusRegistry = prometheus.WithRegistry )
View Source
var ( NewREDReporter = red.NewReporter DefaultErrorInterpreter = red.DefaultErrorInterpreter HTTPErrorInterpreter = red.HTTPErrorInterpreter GRPCErrorInterpreter = red.GRPCErrorInterpreter NewMultiErrorInterpreter = red.NewMultiErrorInterpreter NewHTTPStatusError = red.NewHTTPStatusError )
View Source
var ( WithRiemannReportConfigs = riemann.WithReportConfigs WithRiemannBatchSize = riemann.WithBatchSize WithRiemannQueueSize = riemann.WithQueueSize WithRiemannTickDuration = riemann.WithTickDuration WithRiemannConnectionTimeout = riemann.WithConnectionTimeout WithRiemannTTL = riemann.WithTTL WithRiemannLogger = riemann.WithLogger WithRiemannClock = riemann.WithClock WithRiemannDialer = riemann.WithDialer )
View Source
var NewMultiReporter = multi.NewReporter
Functions ¶
This section is empty.
Types ¶
type ConfigFunc ¶
type ConfigFunc = base.ConfigFunc
type ErrorInterpreter ¶
type ErrorInterpreter = red.ErrorInterpreter
type HTTPStatusError ¶
type HTTPStatusError = red.HTTPStatusError
type REDReporter ¶
type Reporter ¶
func NewCloudwatchReporter ¶
func NewCloudwatchReporter(addr string, configs ...cloudwatch.ConfigFunc) Reporter
func NewRiemannReporter ¶
func NewRiemannReporter(addr string, configs ...riemann.ConfigFunc) Reporter
type RiemannDialer ¶
Directories
¶
Path | Synopsis |
---|---|
Package proto is a generated protocol buffer package.
|
Package proto is a generated protocol buffer package. |
Click to show internal directories.
Click to hide internal directories.