Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buckets ¶ added in v1.23.4
func NewBucket ¶ added in v1.23.4
func NewBucket(dist *distributionpb.Distribution) (Buckets, error)
type ExplicitBuckets ¶ added in v1.23.4
type ExplicitBuckets struct {
*distributionpb.Distribution_BucketOptions_Explicit
}
func (*ExplicitBuckets) Amount ¶ added in v1.23.4
func (e *ExplicitBuckets) Amount() int32
func (*ExplicitBuckets) UpperBound ¶ added in v1.23.4
func (e *ExplicitBuckets) UpperBound(i int32) float64
type ExponentialBuckets ¶ added in v1.23.4
type ExponentialBuckets struct {
*distributionpb.Distribution_BucketOptions_Exponential
}
func (*ExponentialBuckets) Amount ¶ added in v1.23.4
func (e *ExponentialBuckets) Amount() int32
func (*ExponentialBuckets) UpperBound ¶ added in v1.23.4
func (e *ExponentialBuckets) UpperBound(i int32) float64
type LinearBuckets ¶ added in v1.23.4
type LinearBuckets struct {
*distributionpb.Distribution_BucketOptions_Linear
}
func (*LinearBuckets) Amount ¶ added in v1.23.4
func (l *LinearBuckets) Amount() int32
func (*LinearBuckets) UpperBound ¶ added in v1.23.4
func (l *LinearBuckets) UpperBound(i int32) float64
type ListTimeSeriesFilter ¶
type ListTimeSeriesFilter struct {
ResourceLabels []*Label `json:"resource_labels"`
MetricLabels []*Label `json:"metric_labels"`
UserLabels []*Label `json:"user_labels"`
SystemLabels []*Label `json:"system_labels"`
}
ListTimeSeriesFilter contains resource labels and metric labels
type Stackdriver ¶
type Stackdriver struct {
Project string `toml:"project"`
RateLimit int `toml:"rate_limit"`
Window config.Duration `toml:"window"`
Delay config.Duration `toml:"delay"`
CacheTTL config.Duration `toml:"cache_ttl"`
MetricTypePrefixInclude []string `toml:"metric_type_prefix_include"`
MetricTypePrefixExclude []string `toml:"metric_type_prefix_exclude"`
GatherRawDistributionBuckets bool `toml:"gather_raw_distribution_buckets"`
DistributionAggregationAligners []string `toml:"distribution_aggregation_aligners"`
Filter *ListTimeSeriesFilter `toml:"filter"`
Log telegraf.Logger
// contains filtered or unexported fields
}
Stackdriver is the Google Stackdriver config info.
func (*Stackdriver) Gather ¶
func (s *Stackdriver) Gather(acc telegraf.Accumulator) error
Gather implements telegraf.Input interface
func (*Stackdriver) SampleConfig ¶
func (*Stackdriver) SampleConfig() string
Click to show internal directories.
Click to hide internal directories.