Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // BlitzGeneratorEntriesCounter tracks the total number of telemetry entries generated BlitzGeneratorEntriesCounter BlitzGeneratorEntriesCounterType // BlitzGeneratorActiveWorkersGauge tracks the number of active worker goroutines BlitzGeneratorActiveWorkersGauge BlitzGeneratorActiveWorkersGaugeType // BlitzGeneratorWriteErrorsCounter tracks the total number of write errors BlitzGeneratorWriteErrorsCounter BlitzGeneratorWriteErrorsCounterType // error_type AttrErrorTypeUnknown = attribute.String(attrErrorType, string(ErrorTypeUnknown)) AttrErrorTypeTimeout = attribute.String(attrErrorType, string(ErrorTypeTimeout)) )
Functions ¶
This section is empty.
Types ¶
type BlitzGeneratorActiveWorkersGaugeType ¶ added in v0.14.0
type BlitzGeneratorActiveWorkersGaugeType struct {
// contains filtered or unexported fields
}
BlitzGeneratorActiveWorkersGaugeType wraps the blitz.generator.active_workers metric with type-safe required attributes
func (BlitzGeneratorActiveWorkersGaugeType) Record ¶ added in v0.14.0
func (m BlitzGeneratorActiveWorkersGaugeType) Record(ctx context.Context, value int64, generatorType string, opts ...metric.RecordOption)
Record records a value for blitz.generator.active_workers with required attributes
type BlitzGeneratorEntriesCounterType ¶ added in v0.14.0
type BlitzGeneratorEntriesCounterType struct {
// contains filtered or unexported fields
}
BlitzGeneratorEntriesCounterType wraps the blitz.generator.entries metric with type-safe required attributes
type BlitzGeneratorWriteErrorsCounterType ¶ added in v0.14.0
type BlitzGeneratorWriteErrorsCounterType struct {
// contains filtered or unexported fields
}
BlitzGeneratorWriteErrorsCounterType wraps the blitz.generator.write_errors metric with type-safe required attributes
type ErrorTypeValue ¶ added in v0.14.0
type ErrorTypeValue string
ErrorTypeValue is the type of the error_type enum attribute
const ( ErrorTypeUnknown ErrorTypeValue = "unknown" ErrorTypeTimeout ErrorTypeValue = "timeout" )
Click to show internal directories.
Click to hide internal directories.