Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 895 Bytes

README.md

File metadata and controls

38 lines (29 loc) · 895 Bytes

Build Status PyPI

Measure

Image of Vernier

Overview

Measure is a metrics library that allows the user to swap metrics provider ie. (statsd, cloudwatch). It also provides an abstraction for creating metrics.

Example

import measure
stat = measure.stats.Stats(
    "homepage",
    measure.Meter("pageviews", "Pageview on homepage"),
    client=measure.client.PyStatsdClient()
)

stat.pageviews.mark()

Concepts

#TODO define each of these and their usage / verb|function

  • Timer
  • TimerDict
  • Counter
  • CounterDict
  • Meter
  • MeterDict
  • Gauge
  • GuageDict
  • Set
  • SetDict
  • FakeStat