Documentation
¶
Overview ¶
Package prometheus provides an otelcol.exporter.prometheus component.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ IncludeTargetInfo: true, IncludeScopeInfo: false, GCFrequency: 5 * time.Minute, }
DefaultArguments holds defaults values.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { IncludeTargetInfo bool `river:"include_target_info,attr,optional"` IncludeScopeInfo bool `river:"include_scope_info,attr,optional"` GCFrequency time.Duration `river:"gc_frequency,attr,optional"` ForwardTo []storage.Appendable `river:"forward_to,attr"` }
Arguments configures the otelcol.exporter.prometheus component.
func (*Arguments) SetToDefault ¶ added in v0.35.0
func (args *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
Click to show internal directories.
Click to hide internal directories.