collector

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GlobalCounterSubsystem  = "global_counter"
	GlobalCounterLabelNames = []string{"category", "rate", "aspect", "id", "severity", "data_processor", "domain"}
)
View Source
var (
	InterfaceSubsystem  = "interface"
	InterfaceLabelNames = []string{"name", "domain", "category"}
)
View Source
var (
	InterfaceCounterSubsystem  = "interface_counter"
	InterfaceCounterLabelNames = []string{"name", "domain", "category"}
)
View Source
var (
	SessionSubsystem  = "session"
	SessionLabelNames = []string{"domain", "category"}
)
View Source
var (
	DataProcessorResourceUtilSubsystem = "data_plane_resource_util"
)
View Source
var (
	ReportSubsystem = "report"
)
View Source
var (
	SystemResourceUtilSubsystem = "system_top"
)

Functions

This section is empty.

Types

type DataProcessorResourceUtilCollector

type DataProcessorResourceUtilCollector struct {
	// contains filtered or unexported fields
}

func NewDataProcessorResourceUtilCollector

func NewDataProcessorResourceUtilCollector(ctx context.Context, namespace string, panosClient *panos.PaloAlto) *DataProcessorResourceUtilCollector

func (*DataProcessorResourceUtilCollector) Collect

func (*DataProcessorResourceUtilCollector) Describe

func (d *DataProcessorResourceUtilCollector) Describe(ch chan<- *prometheus.Desc)

type DataProcessorResourceUtilMetric

type DataProcessorResourceUtilMetric struct {
	// contains filtered or unexported fields
}

type GlobalCounterCollector

type GlobalCounterCollector struct {
	// contains filtered or unexported fields
}

func NewGlobalCounterCollector

func NewGlobalCounterCollector(ctx context.Context, namespace string, panosClient *panos.PaloAlto) *GlobalCounterCollector

func (*GlobalCounterCollector) Collect

func (g *GlobalCounterCollector) Collect(ch chan<- prometheus.Metric)

func (*GlobalCounterCollector) Describe

func (g *GlobalCounterCollector) Describe(ch chan<- *prometheus.Desc)

type GlobalCounterMetric

type GlobalCounterMetric struct {
	// contains filtered or unexported fields
}

type InterfaceCollector

type InterfaceCollector struct {
	// contains filtered or unexported fields
}

func NewInterfaceCollector

func NewInterfaceCollector(ctx context.Context, namespace string, panosClient *panos.PaloAlto) *InterfaceCollector

func (*InterfaceCollector) Collect

func (i *InterfaceCollector) Collect(ch chan<- prometheus.Metric)

func (*InterfaceCollector) Describe

func (i *InterfaceCollector) Describe(ch chan<- *prometheus.Desc)

type InterfaceCounterCollector

type InterfaceCounterCollector struct {
	// contains filtered or unexported fields
}

func NewInterfaceCounterCollector

func NewInterfaceCounterCollector(ctx context.Context, namespace string, panosClient *panos.PaloAlto) *InterfaceCounterCollector

func (*InterfaceCounterCollector) Collect

func (i *InterfaceCounterCollector) Collect(ch chan<- prometheus.Metric)

func (*InterfaceCounterCollector) Describe

func (i *InterfaceCounterCollector) Describe(ch chan<- *prometheus.Desc)

type InterfaceCounterMetric

type InterfaceCounterMetric struct {
	// contains filtered or unexported fields
}

type InterfaceMetric

type InterfaceMetric struct {
	// contains filtered or unexported fields
}

type PanoramaCollector

type PanoramaCollector struct {
	// contains filtered or unexported fields
}

func NewPanoramaCollector

func NewPanoramaCollector(ctx context.Context, namespace string, panosClient *panos.PaloAlto) *PanoramaCollector

func (*PanoramaCollector) Collect

func (i *PanoramaCollector) Collect(ch chan<- prometheus.Metric)

func (*PanoramaCollector) Describe

func (i *PanoramaCollector) Describe(ch chan<- *prometheus.Desc)

type PanoramaMetric

type PanoramaMetric struct {
	// contains filtered or unexported fields
}

type PanosCollector

type PanosCollector struct {
	// contains filtered or unexported fields
}

Exporter collects panos metrics. It implements prometheus.Collector.

func NewPanosCollector

func NewPanosCollector(ctx context.Context, host string, username string, password string) *PanosCollector

func (*PanosCollector) Collect

func (p *PanosCollector) Collect(ch chan<- prometheus.Metric)

Collect implements prometheus.Collector.

func (*PanosCollector) Describe

func (p *PanosCollector) Describe(ch chan<- *prometheus.Desc)

Describe implements prometheus.Collector.

type ReportCollector

type ReportCollector struct {
	// contains filtered or unexported fields
}

func NewReportCollector

func NewReportCollector(ctx context.Context, namespace string, panosClient *panos.PaloAlto) *ReportCollector

func (*ReportCollector) Collect

func (i *ReportCollector) Collect(ch chan<- prometheus.Metric)

func (*ReportCollector) Describe

func (i *ReportCollector) Describe(ch chan<- *prometheus.Desc)

type ReportMetric

type ReportMetric struct {
	// contains filtered or unexported fields
}

type SessionCollector

type SessionCollector struct {
	// contains filtered or unexported fields
}

func NewSessionCollector

func NewSessionCollector(ctx context.Context, namespace string, panosClient *panos.PaloAlto) *SessionCollector

func (*SessionCollector) Collect

func (i *SessionCollector) Collect(ch chan<- prometheus.Metric)

func (*SessionCollector) Describe

func (i *SessionCollector) Describe(ch chan<- *prometheus.Desc)

type SessionMetric

type SessionMetric struct {
	// contains filtered or unexported fields
}

type SystemResourceUtilCollector

type SystemResourceUtilCollector struct {
	// contains filtered or unexported fields
}

func NewSystemResourceUtilCollector

func NewSystemResourceUtilCollector(ctx context.Context, namespace string, panosClient *panos.PaloAlto) *SystemResourceUtilCollector

func (*SystemResourceUtilCollector) Collect

func (d *SystemResourceUtilCollector) Collect(ch chan<- prometheus.Metric)

func (*SystemResourceUtilCollector) Describe

func (d *SystemResourceUtilCollector) Describe(ch chan<- *prometheus.Desc)

type SystemResourceUtilMetric

type SystemResourceUtilMetric struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL