metrics

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 EventMetricsInc(ctx context.Context, account, project, publisher, eventtype string)

func Init added in v1.2.5

func Init(ctx context.Context)

func PublisherMetricsDec added in v1.2.5

func PublisherMetricsDec(ctx context.Context, account, project string)

func PublisherMetricsInc added in v1.2.5

func PublisherMetricsInc(ctx context.Context, account, project string)

func RemoveMetrics

func RemoveMetrics(ctx context.Context, account string, project string)

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()

Jump to

Keyboard shortcuts

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