Documentation
¶
Index ¶
Constants ¶
View Source
const ( ReasonKey attribute.Key = "key_reason" MetricNameKey attribute.Key = "metric_name" )
Variables ¶
View Source
var ( DroppedSeries = sidecar.OTelMeterMust.NewInt64Counter( config.DroppedSeriesMetric, metric.WithDescription("Number of series that could not be exported"), ) DroppedPoints = sidecar.OTelMeterMust.NewInt64Counter( config.DroppedPointsMetric, metric.WithDescription("Number of points that could not be exported"), ) SkippedPoints = sidecar.OTelMeterMust.NewInt64Counter( config.SkippedPointsMetric, metric.WithDescription("Number of points that were bypassed"), ) )
Functions ¶
This section is empty.
Types ¶
type APIMetadata ¶
type APIMetadata struct {
Help string `json:"help"`
Type textparse.MetricType `json:"type"`
}
type APITargetMetadata ¶ added in v0.25.0
type APITargetMetadata struct {
// We do not decode the target information.
Metric string `json:"metric"`
Help string `json:"help"`
Type textparse.MetricType `json:"type"`
}
type ConfigAPIResponse ¶
type FailingReporter ¶ added in v0.22.0
type FailingReporter interface {
Set(reason, metricName string)
}
FailingReporter is an interface for FailingSet
type FailingSet ¶
type FailingSet struct {
// contains filtered or unexported fields
}
FailingSet reports a set of gauges to describe failing data points.
func NewFailingSet ¶
func NewFailingSet(logger log.Logger) *FailingSet
func (*FailingSet) Set ¶
func (i *FailingSet) Set(reason, metricName string)
type MetadataAPIResponse ¶
type TargetMetadataAPIResponse ¶ added in v0.25.0
type TargetMetadataAPIResponse struct {
Status string `json:"status"`
Data []APITargetMetadata `json:"data,omitempty"`
Error string `json:"error,omitempty"`
ErrorType string `json:"errorType,omitempty"`
Warnings []string `json:"warnings,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.