Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Counter API #858

Closed
tagomoris opened this issue Mar 16, 2016 · 0 comments
Closed

Counter API #858

tagomoris opened this issue Mar 16, 2016 · 0 comments
Labels
enhancement Feature request or improve operations v0.14

Comments

@tagomoris
Copy link
Member

Fluentd v0.14 provides Counter API for purposes below:

  • to provide counters with increment/decrement methods which works efficiently
  • to support to persistent counting data using plugin storages
  • to provide shared counter between processes

It's not necessary to make it pluggable, because it only has some variant:

  • visible from a process
  • shared with multi processes

This API is very useful to implement counter plugins (e.g., flowcounter, datacounter, ...) and also to implement to get metrics of Fluentd itself. Persistency can be delegated into Plugin Storage implementations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request or improve operations v0.14
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants