We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We currently monitor at aggregate level whether aggregates are being offered and accepted by MPs https://github.com/w3s-project/w3filecoin-infra/blob/main/packages/functions/src/monitor/handle-deal-monitor-alert-cron-tick.js (in stack https://github.com/w3s-project/w3filecoin-infra/blob/main/stacks/api-stack.js#L188).
It should be easy to port similar behaviour for w3infra to track piece level monitoring with same thresholds. Instead of relying on https://github.com/w3s-project/w3filecoin-infra/blob/main/packages/functions/src/monitor/handle-deal-monitor-alert-cron-tick.js#L31 it would rely on the PieceStore like we do for the other CRON tick in w3infra: https://github.com/w3s-project/w3infra/blob/main/filecoin/functions/handle-cron-tick.js. This queries the PieceStore for the oldest Pieces pending a deal, and if they were inserted older than the threshold, they would have the alert.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We currently monitor at aggregate level whether aggregates are being offered and accepted by MPs https://github.com/w3s-project/w3filecoin-infra/blob/main/packages/functions/src/monitor/handle-deal-monitor-alert-cron-tick.js (in stack https://github.com/w3s-project/w3filecoin-infra/blob/main/stacks/api-stack.js#L188).
It should be easy to port similar behaviour for w3infra to track piece level monitoring with same thresholds. Instead of relying on https://github.com/w3s-project/w3filecoin-infra/blob/main/packages/functions/src/monitor/handle-deal-monitor-alert-cron-tick.js#L31 it would rely on the PieceStore like we do for the other CRON tick in w3infra: https://github.com/w3s-project/w3infra/blob/main/filecoin/functions/handle-cron-tick.js. This queries the PieceStore for the oldest Pieces pending a deal, and if they were inserted older than the threshold, they would have the alert.
The text was updated successfully, but these errors were encountered: