Documentation ¶
Index ¶
Constants ¶
View Source
const ( DroppedKeyReason 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 { // 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 MetadataAPIResponse struct { Status string `json:"status"` Data []APIMetadata `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.