-
Notifications
You must be signed in to change notification settings - Fork 506
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
[Merged by Bors] - feat(metrics): added metrics to smartengine #2726
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Nice start
.u64_counter("fluvio.smartengine.chain.invocations") | ||
.init(); | ||
let records = meter.u64_counter("fluvio.smartengine.chain.records").init(); | ||
let bytes = meter.u64_counter("fluvio.smartengine.chain.bytes").init(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the conventions, I think they use io
instead of bytes
because "bytes" is a unit used in the unit
field.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok. We will change it later. It won't be used in first version on UI, anyway
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it works, lets ship it!
bors r+ |
So far, due to current implementation details, we can't send the following metrics: 1. Input records count for chain and smartmodules. 2. Output bytes count for chain and smartmodules. 3. Smartmodule name for all metrics. We will be able to add these metrics later, but it will require changes in the current implementation.
Pull request successfully merged into master. Build succeeded: |
So far, due to current implementation details, we can't send the following metrics: 1. Input records count for chain and smartmodules. 2. Output bytes count for chain and smartmodules. 3. Smartmodule name for all metrics. We will be able to add these metrics later, but it will require changes in the current implementation.
So far, due to current implementation details, we can't send the following metrics:
We will be able to add these metrics later, but it will require changes in the current implementation.