measure

package
Version: v0.0.0-...-795e242 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2015 License: MIT, MIT Imports: 5 Imported by: 0

Documentation

Overview

Package measure provides a Datastore wrapper that records metrics using github.com/codahale/metrics.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(prefix string, ds datastore.Datastore) *measure

New wraps the datastore, providing metrics on the operations. The metrics are registered with names starting with prefix and a dot.

If prefix is not unique, New will panic. Call Close to release the prefix.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL