prome

package
v0.13.7 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ESClientFailedPhaseInit  = "init"
	ESClientFailedPhaseRetry = "retry"
)

Variables

This section is empty.

Functions

func IncreaseConsumerElasticsearchClientFailed added in v0.13.4

func IncreaseConsumerElasticsearchClientFailed(phase string)

func IncreaseKafkaMessagesIncoming

func IncreaseKafkaMessagesIncoming(topic string)

func IncreaseKafkaMessagesStoredTotal

func IncreaseKafkaMessagesStoredTotal(topic string)

func IncreaseKafkaMessagesStoredTotalWithError added in v0.13.2

func IncreaseKafkaMessagesStoredTotalWithError(topic string, errorMessage string)

func IncreaseLogStoredCounter

func IncreaseLogStoredCounter(index string, result string, status int, errorMessage string)

func IncreaseProducerKafkaClientFailed added in v0.13.4

func IncreaseProducerKafkaClientFailed()

func IncreaseProducerTPSExceededCounter added in v0.13.2

func IncreaseProducerTPSExceededCounter(topic string, n int)

func InitConsumerInstrumentation

func InitConsumerInstrumentation()

func InitProducerInstrumentation

func InitProducerInstrumentation()

func ObserveBulkProcessTime

func ObserveBulkProcessTime(elapsedTime float64)

func ObserveSendToKafkaTime added in v0.13.2

func ObserveSendToKafkaTime(topic string, elapsedTime float64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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