Counters, Percentiles, etc for in-memory metrics capture.
This is a utility library that started by extracting code from Hystrix for use in other projects that don't need Hystrix.
For example:
- RollingNumber: a rolling number which can be used to track counters (increment) or set values over time
- RollingPercentile: a rolling window for percentile calculations such as median, 90th, 99th, etc
Binaries and dependency information for Maven, Ivy, Gradle and others can be found at http://search.maven.org.
Example for Maven:
<dependency>
<groupId>com.netflix.numerus</groupId>
<artifactId>numerus</artifactId>
<version>x.y.z</version>
</dependency>
and for Ivy:
<dependency org="com.netflix.numerus" name="numerus" rev="x.y.z" />
and for Gradle:
compile 'com.netflix.numerus:numerus:x.y.z'
To build:
$ git clone git@github.com:Netflix/Numerus.git
$ cd Numerus/
$ ./gradlew build
For bugs, questions and discussions please use the Github Issues.
Copyright 2014 Netflix, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.