metrics

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2017 License: MIT Imports: 6 Imported by: 0

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