service

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const MonoVtxPendingMetric = "monovtx_pending"

MonoVtxPendingMetric is the metric emitted from the MonoVtx lag reader for pending stats Note: Please keep consistent with the definitions in rust/monovertex/sc/metrics.rs

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthChecker

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

HealthChecker is the struct type for health checker.

func NewHealthChecker

func NewHealthChecker(monoVertex *v1alpha1.MonoVertex) *HealthChecker

NewHealthChecker creates a new object HealthChecker struct type.

type MonoVertexService

type MonoVertexService struct {
	mvtxdaemon.UnimplementedMonoVertexDaemonServiceServer
	// contains filtered or unexported fields
}

func NewMoveVertexService

func NewMoveVertexService(
	monoVtx *v1alpha1.MonoVertex,
	rater raterPkg.MonoVtxRatable,
) (*MonoVertexService, error)

NewMoveVertexService returns a new instance of MonoVertexService

func (*MonoVertexService) GetMonoVertexMetrics

func (mvs *MonoVertexService) GetMonoVertexMetrics(ctx context.Context, empty *emptypb.Empty) (*mvtxdaemon.GetMonoVertexMetricsResponse, error)

func (*MonoVertexService) GetMonoVertexStatus

func (mvs *MonoVertexService) GetMonoVertexStatus(ctx context.Context, empty *emptypb.Empty) (*mvtxdaemon.GetMonoVertexStatusResponse, error)

func (*MonoVertexService) StartHealthCheck

func (mvs *MonoVertexService) StartHealthCheck(ctx context.Context)

StartHealthCheck starts the health check for the MonoVertex using the health checker

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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