Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
Exporter is a ebpf_exporter instance implementing prometheus.Collector
func New ¶
func New(configs []config.Config, tracingProvider tracing.Provider, btfPath string) (*Exporter, error)
New creates a new exporter with the provided config
func (*Exporter) Collect ¶
func (e *Exporter) Collect(ch chan<- prometheus.Metric)
Collect satisfies prometheus.Collector interface and sends all metrics
func (*Exporter) Describe ¶
func (e *Exporter) Describe(ch chan<- *prometheus.Desc)
Describe satisfies prometheus.Collector interface by sending descriptions for all metrics the exporter can possibly report
func (*Exporter) MapsHandler ¶
func (e *Exporter) MapsHandler(w http.ResponseWriter, r *http.Request)
MapsHandler is a debug handler to print raw values of kernel maps
func (*Exporter) MissedAttachments ¶ added in v2.3.0
MissedAttachments returns the list of module:prog names that failed to attach
Click to show internal directories.
Click to hide internal directories.