Documentation ¶
Index ¶
Constants ¶
View Source
const ( LabelPipeline = "pipeline" LabelVertex = "vertex" LabelPeriod = "period" LabelVertexReplicaIndex = "replica" VertexProcessingRate = "vertex_processing_rate" VertexPendingMessages = "vertex_pending_messages" )
Variables ¶
This section is empty.
Functions ¶
func NewMetricsServer ¶ added in v0.5.3
NewMetricsServer returns a Prometheus metrics server instance, which can be used to start an HTTPS service to expose Prometheus metrics.
Types ¶
type Option ¶ added in v0.5.3
type Option func(*metricsServer)
func WithHealthCheckExecutor ¶ added in v0.5.6
WithHealthCheckExecutor appends a health check executor
func WithLagReader ¶ added in v0.5.3
WithLagReader sets the lag reader
func WithLookbackSeconds ¶ added in v0.5.3
WithLookbackSeconds sets lookback seconds for avg rate and pending calculation
func WithRefreshInterval ¶ added in v0.5.3
WithRefreshInterval sets how often to refresh the rate and pending
Click to show internal directories.
Click to hide internal directories.