prom

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OpsLogonAccountCounter = promauto.NewCounter(prometheus.CounterOpts{
		Name: "logon_account_total",
		Help: "登录账号总数",
	})

	OpsOnlineAccountGauge = promauto.NewGauge(prometheus.GaugeOpts{
		Name: "online_account_gauge",
		Help: "在线账号数量",
	})

	OpsCreateHeroCounter = promauto.NewCounter(prometheus.CounterOpts{
		Name: "create_hero_counter",
		Help: "创建英雄总数",
	})

	OpsCreateItemCounter = promauto.NewCounter(prometheus.CounterOpts{
		Name: "create_item_counter",
		Help: "创建物品总数",
	})
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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