metrics

package
v1.58.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 87

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Table

type Table struct {
	storageMetrics.WriteMetrics
}

Table is a collection of metrics about Cassandra write operations.

func NewTable

func NewTable(factory metrics.Factory, tableName string) *Table

NewTable takes a metrics scope and creates a table metrics struct

func (*Table) Exec

func (t *Table) Exec(query cassandra.UpdateQuery, logger *zap.Logger) error

Exec executes an update query and reports metrics/logs about it.

Jump to

Keyboard shortcuts

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