metrics

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RecordHubBufferBytes

func RecordHubBufferBytes(storyRun, step string, bytes int)

RecordHubBufferBytes records the current buffer size in bytes

func RecordHubBufferFlush

func RecordHubBufferFlush(storyRun, step string, count int)

RecordHubBufferFlush records a successful buffer flush

func RecordHubBufferSize

func RecordHubBufferSize(storyRun, step string, size int)

RecordHubBufferSize records the current buffer size (for autoscaling)

func RecordHubMessageDropped

func RecordHubMessageDropped(storyRun, step, reason string)

RecordHubMessageDropped records a dropped message

func RecordHubMessageReceived

func RecordHubMessageReceived(storyRun, step string)

RecordHubMessageReceived records a received message at the hub

func RecordHubMessageSent

func RecordHubMessageSent(storyRun, step string)

RecordHubMessageSent records a message successfully sent from the hub

func StreamServerInterceptor

func StreamServerInterceptor() grpc.StreamServerInterceptor

StreamServerInterceptor records duration and status code for streaming RPCs.

func UnaryServerInterceptor

func UnaryServerInterceptor() grpc.UnaryServerInterceptor

UnaryServerInterceptor records duration and status code for unary RPCs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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