Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
v0.0.1
  • Loading branch information
tagomoris committed May 18, 2012
1 parent 239942c commit e59af38
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 77 deletions.
22 changes: 0 additions & 22 deletions LICENSE

This file was deleted.

44 changes: 27 additions & 17 deletions README.md
@@ -1,29 +1,39 @@
# Fluent::Plugin::Numeric::Aggregator
# fluent-plugin-numeric-monitor

TODO: Write a gem description
## Component

## Installation
### NumericMonitorOutput

Add this line to your application's Gemfile:
Plugin to calculate min/max/avg and specified percentile values, which used in notifications (such as fluent-plugin-notifier)

gem 'fluent-plugin-numeric-aggregator'
## Configuration

And then execute:
### NumericMonitorOutput

$ bundle
To calculate about HTTP requests duration (microseconds) in 'duraion', with 90 and 95 percentile values:

Or install it yourself as:
<match apache.log.**>
type numeric_monitor
unit minute
tag monitor.duration
aggregate all
input_tag_remove_prefix apache.log
monitor_key duration
percentiles 90,95
</match>

$ gem install fluent-plugin-numeric-aggregator
Output messages like:

## Usage
{"min":3012,"max":913243,"avg":100123.51,"percentile_90":154390,"percentile_95":223110}

TODO: Write usage instructions here
## TODO

## Contributing
* more tests
* more documents

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
## Copyright

* Copyright
* Copyright (c) 2012- TAGOMORI Satoshi (tagomoris)
* License
* Apache License, Version 2.0
11 changes: 10 additions & 1 deletion Rakefile
@@ -1,2 +1,11 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end

task :default => :test

17 changes: 0 additions & 17 deletions fluent-plugin-numeric-aggregator.gemspec

This file was deleted.

11 changes: 0 additions & 11 deletions lib/fluent-plugin-numeric-aggregator.rb

This file was deleted.

9 changes: 0 additions & 9 deletions lib/fluent-plugin-numeric-aggregator/version.rb

This file was deleted.

0 comments on commit e59af38

Please sign in to comment.