8000 GitHub - mrtazz/snyder: metrics library for C++11
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Oct 9, 2019. It is now read-only.

mrtazz/snyder

Repository files navigation

snyder

Build Status Packagecloud Coverage Status doxygen MIT license

Overview

Snyder is a metrics library for C++11. It supports tracking of a number of metric types from different threads.

Usage

auto reg = new Snyder::MetricsRegistry();
reg->Increment("foo");
reg->Increment("foo", 5);
reg->Decrement("foo", 2);
reg->Gauge("bla", 10);

// get a snapshot and clear out metrics
auto snapshot = reg->Snapshot();
reg->Reset();

You can also checkout the reference docs here.

Metrics Types

  • counters: a monotonic increasing count
  • gauge: simple value tracking

Installation

For Linux there are packages available on packagecloud.

It's autotools, so for everything else there's this:

./autogen.sh
./configure
make install

Etymology

Snyder is named after Betty Snyder, one of the six original programmers of ENIAC, who is credited with inventing breakpoints for debugging.

About

metrics library for C++11

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
0