Documentation ¶
Overview ¶
Package prometheus provides an otelcol.receiver.prometheus component.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { // Output configures where to send received data. Required. Output *otelcol.ConsumerArguments `alloy:"output,block"` // DebugMetrics configures component internal metrics. Optional. DebugMetrics otelcolCfg.DebugMetricsArguments `alloy:"debug_metrics,block,optional"` }
Arguments configures the otelcol.receiver.prometheus component.
func (*Arguments) SetToDefault ¶ added in v1.2.0
func (args *Arguments) SetToDefault()
SetToDefault implements syntax.Defaulter.
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
Component is the otelcol.receiver.prometheus component.
func (*Component) LiveDebugging ¶ added in v1.3.0
type Exports ¶
type Exports struct {
Receiver storage.Appendable `alloy:"receiver,attr"`
}
Exports are the set of fields exposed by the otelcol.receiver.prometheus component.
Directories ¶
Path | Synopsis |
---|---|
Package internal is a near copy of https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/90603afc2fe0c44c9398822e4afa3a4e045f4524/receiver/prometheusreceiver/internal A copy was made because the upstream package is internal.
|
Package internal is a near copy of https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/90603afc2fe0c44c9398822e4afa3a4e045f4524/receiver/prometheusreceiver/internal A copy was made because the upstream package is internal. |
Click to show internal directories.
Click to hide internal directories.