package
2.1.1
Repository: https://github.com/skip-mev/connect.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewNopWebSocketMetrics returns a Provider Metrics implementation that does not collect metrics.
NewWebSocketMetrics returns a Provider Metrics implementation that uses Prometheus.
NewWebSocketMetricsFromConfig returns a new Metrics struct given the main oracle metrics config.

# Constants

CloseErr indicates that the provider could not close the connection.
CloseSuccess indicates that the provider successfully closed the connection.
CreateMessageErr indicates that the provider could not construct a valid message to send to the data provider.
CreateMessageSuccess indicates that the provider successfully constructed a valid message to send to the data provider.
DialErr indicates that the provider could not establish a connection.
DialSuccess indicates that the provider successfully established a connection.
HandleMessageErr indicates that the provider could not handle the message from the data provider.
HandleMessageSuccess indicates that the provider successfully handled the message from the data provider.
Healthy indicates that the provider is healthy.
HeartBeatErr indicates that the provider could not construct a heartbeat message to send to the data provider.
HeartBeatSuccess indicates that the provider successfully constructed a heartbeat message to send to the data provider.
ReadErr indicates that the provider could not read the message from the data provider.
ReadSuccess indicates that the provider successfully read the message from the data provider.
StatusLabel is the label used for the status of a provider response.
Unhealthy indicates that the provider is unhealthy.
Unknown indicates that the provider encountered an unknown error.
WriteErr indicates that the provider could not write the message to the data provider.
WriteSuccess indicates that the provider successfully wrote the message to the data provider.

# Structs

WebSocketMetricsImpl contains metrics exposed by this package.

# Interfaces

WebSocketMetrics is an interface that defines the API for metrics collection for providers that implement the WebSocketQueryHandler.

# Type aliases

No description provided by the author
No description provided by the author