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

Metrics and Statisitcs #2

Closed
9 of 12 tasks
DarthMax opened this issue May 8, 2017 · 1 comment
Closed
9 of 12 tasks

Metrics and Statisitcs #2

DarthMax opened this issue May 8, 2017 · 1 comment
Assignees
Milestone

Comments

@DarthMax
Copy link
Contributor

DarthMax commented May 8, 2017

Provide a API to access Æternitas' metrics

Metrics stored in redis

Grouped by pollable class

  • job execution count
  • failed job count, failure_ratio
  • ignored errors
  • deactivations
  • execution time
  • guard
  • waited
  • guard wait sleep
  • guard timeout exceeded

Data statistics

  • number of sources (per pollable class)
  • pollables created (per pollable class)
  • future pollings (per pollable class)
@DarthMax DarthMax self-assigned this May 8, 2017
@DarthMax DarthMax modified the milestone: Version 1 May 8, 2017
@tamaloa
Copy link
Member

tamaloa commented May 9, 2017

To avoid an ever growing Redis instance we will expire metric values/counters as following:

resolution expire after
minute 3 days
10 minute 14 days
hour 2 months
day never

After implementing please gather metrics for a 2 months duration for a single pollable class assuming it's job runs once every second (including all kinds of failure states) to get a worst case baseline for the memory and storage requirements of Redis.

@DarthMax DarthMax mentioned this issue Jun 9, 2017
DarthMax added a commit that referenced this issue Jun 15, 2017
* Implement polling metrics

* Use custom version of tabs gem

* Implement ratio metrics

* Add support for metric logging of STI tables
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants