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, IncludeScopeLabels: true, GCFrequency: 5 * time.Minute, AddMetricSuffixes: true, ResourceToTelemetryConversion: false, }
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"` IncludeScopeLabels bool `river:"include_scope_labels,attr,optional"` GCFrequency time.Duration `river:"gc_frequency,attr,optional"` ForwardTo []storage.Appendable `river:"forward_to,attr"` AddMetricSuffixes bool `river:"add_metric_suffixes,attr,optional"` ResourceToTelemetryConversion bool `river:"resource_to_telemetry_conversion,attr,optional"` }
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.