Documentation ¶
Index ¶
- Variables
- func EventMetricsInc(ctx context.Context, account, project, publisher, eventtype string)
- func Init(ctx context.Context)
- func PublisherMetricsDec(ctx context.Context, account, project string)
- func PublisherMetricsInc(ctx context.Context, account, project string)
- func RemoveMetrics(ctx context.Context, account string, project string)
- type ClickhouseClient
- type CustomMetrics
Constants ¶
This section is empty.
Variables ¶
View Source
var ( BlockChainTxMtc = prometheus.NewCounterVec(prometheus.CounterOpts{ Name: _blockChainTxMtcName, Help: "blockchain transaction counter metrics.", }, []string{"project", "chainID"}) )
Functions ¶
func EventMetricsInc ¶ added in v1.2.5
func PublisherMetricsDec ¶ added in v1.2.5
func PublisherMetricsInc ¶ added in v1.2.5
Types ¶
type ClickhouseClient ¶ added in v1.2.5
type ClickhouseClient struct {
// contains filtered or unexported fields
}
func (*ClickhouseClient) Insert ¶ added in v1.2.5
func (c *ClickhouseClient) Insert(query string) error
func (*ClickhouseClient) Run ¶ added in v1.2.5
func (c *ClickhouseClient) Run()
type CustomMetrics ¶ added in v1.4.1
func NewCustomMetric ¶ added in v1.4.1
func NewCustomMetric(account string, project string) CustomMetrics
Click to show internal directories.
Click to hide internal directories.