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
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.