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

Add multiple types of application metrics #207

Open
ccicconetti opened this issue Oct 11, 2024 · 0 comments
Open

Add multiple types of application metrics #207

ccicconetti opened this issue Oct 11, 2024 · 0 comments
Assignees

Comments

@ccicconetti
Copy link
Member

Functions can cast events containing run-time metrics to the channel metric.

If there's a metrics-collector resource provider in the cluster, it will collect the samples and make them available to the ε-ORC, which will save them to a Redis if configured to do so.

This extends and substitutes the current implementation, which only supports workflow/function latencies.

Types of metrics to be implemented:

  • [scalar] gauges: last value is overwritten (example: current inference speed)
  • [scalar] counters: value is added (example: number of objects detected)
  • [list] durations: a sample is added with the difference between ts_end and ts_begin (example: transaction latency); a scalar value with the EWMA is added automatically
  • [list] single occurrences: a new sample is added each time cast() is invoked (example: an anomaly was detected)

All the values are f64 and are assigned a timestamp and an identifier local to the resource stream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant