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 `alloy:"include_target_info,attr,optional"` IncludeScopeInfo bool `alloy:"include_scope_info,attr,optional"` IncludeScopeLabels bool `alloy:"include_scope_labels,attr,optional"` GCFrequency time.Duration `alloy:"gc_frequency,attr,optional"` ForwardTo []storage.Appendable `alloy:"forward_to,attr"` AddMetricSuffixes bool `alloy:"add_metric_suffixes,attr,optional"` ResourceToTelemetryConversion bool `alloy:"resource_to_telemetry_conversion,attr,optional"` }
Arguments configures the otelcol.exporter.prometheus component.
func (*Arguments) SetToDefault ¶
func (args *Arguments) SetToDefault()
SetToDefault implements syntax.Defaulter.
Click to show internal directories.
Click to hide internal directories.