observability

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: MIT Imports: 13 Imported by: 0

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

func Server(c *cli.Context)

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.

Jump to

Keyboard shortcuts

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