service

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2025 License: Apache-2.0 Imports: 16 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,
	monoVertexRuntimeCache runtimePkg.MonoVertexRuntimeCache,
) (*MonoVertexService, error)

NewMoveVertexService returns a new instance of MonoVertexService

func (*MonoVertexService) GetMonoVertexErrors added in v1.5.0

GetMonoVertexErrors returns errors for a given mono vertex by accessing the local cache in the runtime service. The errors are persisted in the local cache by the runtime service. Errors are retrieved for all active replicas for a given mono vertex. A list of replica errors for a given mono vertex is returned.

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