Documentation
¶
Overview ¶
Package observability registers the gin metric for the Scroll paymaster service.
Package observability provides observability API for the Scroll paymaster service.
Package observability initializes the observability server for the Scroll paymaster service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Server ¶
Server starts the metrics server on the given address, will be closed when the given context is canceled.
func Use ¶
func Use(router *gin.Engine, metricsPrefix string, reg prometheus.Registerer)
Use register the gin metric
Types ¶
type ProbesController ¶
type ProbesController struct{}
ProbesController probe check controller
func NewProbesController ¶
func NewProbesController() *ProbesController
NewProbesController returns an ProbesController instance
func (*ProbesController) HealthCheck ¶
func (a *ProbesController) HealthCheck(c *gin.Context)
HealthCheck the api controller for health check
func (*ProbesController) Ready ¶
func (a *ProbesController) Ready(c *gin.Context)
Ready the api controller for ready check
Directories
¶
| Path | Synopsis |
|---|---|
|
Package ginmetrics provides a simple bloom filter implementation for use in Gin middleware.
|
Package ginmetrics provides a simple bloom filter implementation for use in Gin middleware. |
Click to show internal directories.
Click to hide internal directories.