[Feature] Support Incremental Mode for metrics streaming #12290
Labels
backend
OAP backend related.
core feature
Core and important feature. Sometimes, break backwards compatibility.
feature
New feature
rejected
The issue or PR can't be accepted by upstream.
Milestone
Search before asking
Description
#8720 is being planned as a part of the OSPP and BanyanDB milestone. OAP need a kernel-level change to adopt this server-side feature.
Use case
Currently, OAP is using this workflow,
Receiver
->L1 aggregation
->OAP in-cluster hashing calling
->L2 aggregation
->cache + DB merging + persistent
.By leveraging #8720, once the server-side merging functions are supported (even partially), the workflow could be evolved to
Receiver
->L1 aggregation
->no cache and pending persistent
.All these supported metrics would not need to do
L1 aggregation
would deliverincremental metrics
for persistence directly.As OAP could run in the incremental mode, we will face the impacts as there was no latest data.
We could use periodical reading to retrieve metrics for active metrics entities detected by the workflows. <2> will not be supported.
Besides the above-mentioned things, we should consider adding configurations to control the OAP mode
db-side-merging
for metrics supported by BanyanDB. DB metadata query should support to indicate the supported function lists.db-side-merging
is supported.Related issues
No response
Are you willing to submit a pull request to implement this on your own?
Code of Conduct
The text was updated successfully, but these errors were encountered: