Help us shape the future of Go! Take the 2026 Go Developer Survey

monitoring

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitMetrics

func InitMetrics() error

InitMetrics initialize the scheduler service metrics.

func RecordConcurrencyInflight added in v1.18.0

func RecordConcurrencyInflight(key string, count int64)

RecordConcurrencyInflight records the current in-flight count for a concurrency gate on this scheduler instance.

func RecordConcurrencyPending added in v1.18.0

func RecordConcurrencyPending(key string, count int64)

RecordConcurrencyPending records the current pending count for a concurrency gate on this scheduler instance.

func RecordConcurrencyThrottled added in v1.18.0

func RecordConcurrencyThrottled(key string)

RecordConcurrencyThrottled records that a trigger was throttled by a concurrency gate.

func RecordJobsBulkDeletedCount added in v1.18.0

func RecordJobsBulkDeletedCount()

RecordJobsBulkDeletedCount records a bulk job deletion operation.

func RecordJobsCreatedFailedCount added in v1.18.0

func RecordJobsCreatedFailedCount(jobMetadata *schedulerv1pb.JobMetadata)

RecordJobsCreatedFailedCount records a failed job creation attempt.

func RecordJobsDeletedCount added in v1.18.0

func RecordJobsDeletedCount(jobMetadata *schedulerv1pb.JobMetadata)

RecordJobsDeletedCount records the number of jobs deleted from the scheduler service.

func RecordJobsFailedCount added in v1.16.0

func RecordJobsFailedCount(jobMetadata *schedulerv1pb.JobMetadata)

RecordJobsFailed records the total number of failed jobs

func RecordJobsScheduledCount

func RecordJobsScheduledCount(jobMetadata *schedulerv1pb.JobMetadata)

RecordJobsScheduledCount records the number of jobs scheduled to the scheduler service

func RecordJobsTriggeredCount

func RecordJobsTriggeredCount(jobMetadata *schedulerv1pb.JobMetadata)

RecordJobsTriggeredCount records the total number of jobs successfully triggered from the scheduler service

func RecordJobsUndeliveredCount added in v1.16.0

func RecordJobsUndeliveredCount(jobMetadata *schedulerv1pb.JobMetadata)

RecordJobsUndelivered records the total number of undelivered jobs

func RecordPlacementDissemination added in v1.19.0

func RecordPlacementDissemination(namespace string)

RecordPlacementDissemination records a placement dissemination round starting for the given namespace.

func RecordPlacementDisseminationLatency added in v1.19.0

func RecordPlacementDisseminationLatency(namespace string, elapsed time.Duration)

RecordPlacementDisseminationLatency records the duration of a completed placement dissemination round for the given namespace.

func RecordPlacementIncapableSidecars added in v1.19.0

func RecordPlacementIncapableSidecars(current int64)

RecordPlacementIncapableSidecars records the current number of connected sidecars which cannot use scheduler placement.

func RecordPlacementLeaderStatus added in v1.19.0

func RecordPlacementLeaderStatus(leader bool)

RecordPlacementLeaderStatus records whether this scheduler is the current placement leader.

func RecordPlacementStreamsConnected added in v1.19.0

func RecordPlacementStreamsConnected(namespace string, delta int64)

RecordPlacementStreamsConnected records a daprd placement stream connecting (+1) or disconnecting (-1) for the given namespace.

func RecordPlacementTableUpdate added in v1.19.0

func RecordPlacementTableUpdate(namespace, actorType string)

RecordPlacementTableUpdate records a per actor type placement table rebuild being disseminated.

func RecordSidecarAuthError added in v1.18.0

func RecordSidecarAuthError()

RecordSidecarAuthError records a sidecar authorization error.

func RecordSidecarRecvError added in v1.18.0

func RecordSidecarRecvError()

RecordSidecarRecvError records a sidecar stream receive error.

func RecordSidecarSendError added in v1.18.0

func RecordSidecarSendError()

RecordSidecarSendError records a sidecar stream send error.

func RecordSidecarsConnectedCount

func RecordSidecarsConnectedCount(change int)

RecordSidecarsConnectedCount records the number of dapr sidecars connected to the scheduler service

func RecordTriggerDuration

func RecordTriggerDuration(jobMetadata *schedulerv1pb.JobMetadata, duration time.Duration)

RecordTriggerDuration records the time it takes to send the job to dapr from the scheduler service

Types

This section is empty.

Jump to

Keyboard shortcuts

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