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: true, 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) UnmarshalRiver ¶
UnmarshalRiver implements river.Unmarshaler and applies defaults.
Click to show internal directories.
Click to hide internal directories.