Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
M = &Metrics{}
)
Functions ¶
func HandleMetrics ¶
func HandleMetrics()
Types ¶
type Metrics ¶
type Metrics struct { //message MessageCounterVec *prometheus.CounterVec MessageSizeHistogramVec *prometheus.HistogramVec MessageHistogramVec *prometheus.HistogramVec //callback cost CallbackHistogramVec *prometheus.HistogramVec //gc GCKeysCounterVec *prometheus.CounterVec IsLeaderGaugeVec *prometheus.GaugeVec }
func GetMertics ¶
func GetMertics() *Metrics
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GracefulStop ¶
Click to show internal directories.
Click to hide internal directories.