Documentation ¶
Index ¶
- Variables
- func EventMetricsInc(ctx context.Context, account, project, publisher, eventtype string)
- func GeoCollect(ctx context.Context, data []byte)
- 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
- type SQLBatcher
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 GeoCollect ¶ added in v1.5.4
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
type CustomMetrics ¶ added in v1.4.1
func NewCustomMetric ¶ added in v1.4.1
func NewCustomMetric(account string, project string) CustomMetrics
type SQLBatcher ¶ added in v1.5.3
type SQLBatcher struct {
// contains filtered or unexported fields
}
func NewSQLBatcher ¶ added in v1.5.3
func NewSQLBatcher(preStatm string) *SQLBatcher
func (*SQLBatcher) Insert ¶ added in v1.5.3
func (b *SQLBatcher) Insert(query string) error
Click to show internal directories.
Click to hide internal directories.