exporter

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountStruct

type AccountStruct struct {
	APIKEY string
	REGION string

	ID *prometheus.Desc
	// contains filtered or unexported fields
}

AccountStruct is return for Colletor prometheus

func AccountGetUsage

func AccountGetUsage(apikey string, region string) *AccountStruct

AccountGetUsage returns an initialized Exporter.

func (*AccountStruct) Collect

func (e *AccountStruct) Collect(ch chan<- prometheus.Metric)

Collect fetches the stats from configured logentries location and delivers them as Prometheus metrics. It implements prometheus.Collector.

func (*AccountStruct) Describe

func (e *AccountStruct) Describe(ch chan<- *prometheus.Desc)

Describe describes all the metrics ever exported by the logentries exporter. It implements prometheus.Collector.

type LogsStruct added in v1.2.0

type LogsStruct struct {
	APIKEY string
	REGION string
	// contains filtered or unexported fields
}

LogsStruct is return for Colletor prometheus

func LogsGetUsage added in v1.2.0

func LogsGetUsage(apikey string, region string) *LogsStruct

LogsGetUsage returns an initialized Exporter.

func (*LogsStruct) Collect added in v1.2.0

func (e *LogsStruct) Collect(ch chan<- prometheus.Metric)

Collect fetches the stats from configured logentries location and delivers them as Prometheus metrics. It implements prometheus.Collector.

func (*LogsStruct) Describe added in v1.2.0

func (e *LogsStruct) Describe(ch chan<- *prometheus.Desc)

Describe describes all the metrics ever exported by the logentries exporter. It implements prometheus.Collector.

Jump to

Keyboard shortcuts

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