Documentation
¶
Index ¶
- type Config
- type PrometheusOutput
- func (p *PrometheusOutput) Close() error
- func (p *PrometheusOutput) Collect(ch chan<- prometheus.Metric)
- func (p *PrometheusOutput) Describe(ch chan<- *prometheus.Desc)
- func (p *PrometheusOutput) Init(ctx context.Context, cfg map[string]interface{}, logger *log.Logger) error
- func (p *PrometheusOutput) Metrics() []prometheus.Collector
- func (p *PrometheusOutput) String() string
- func (p *PrometheusOutput) Write(ctx context.Context, rsp proto.Message, meta outputs.Meta)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrometheusOutput ¶
func (*PrometheusOutput) Close ¶
func (p *PrometheusOutput) Close() error
func (*PrometheusOutput) Collect ¶
func (p *PrometheusOutput) Collect(ch chan<- prometheus.Metric)
func (*PrometheusOutput) Describe ¶
func (p *PrometheusOutput) Describe(ch chan<- *prometheus.Desc)
/
func (*PrometheusOutput) Metrics ¶
func (p *PrometheusOutput) Metrics() []prometheus.Collector
func (*PrometheusOutput) String ¶
func (p *PrometheusOutput) String() string
Click to show internal directories.
Click to hide internal directories.