GO-2024-3170: Grafana Agent (Flow mode) on Windows has Unquoted Search Path or Element vulnerability in github.com/grafana/agent
package
Version:
v0.39.1
Opens a new window with list of versions in this module.
Published: Jan 19, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Collector struct {
}
Collector is a lazy Prometheus collector. The zero value is ready for use.
New returns a new lazy Prometheus collector.
func (c *Collector) Collect(ch chan<- prometheus.Metric)
Collect implements prometheus.Collector. If the inner collector is set, its
Collect method is called. Otherwise, Collect is a no-op.
func (c *Collector) Describe(chan<- *prometheus.Desc)
Describe implements prometheus.Collector. Because Collector is a
lazycollector, it is unchecked, so Describe is a no-op.
func (c *Collector) Set(inner prometheus.Collector)
Set updates the inner collector used by the lazy collector.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.