hongkun-Shao opened a new pull request, #31386:
URL: https://github.com/apache/doris/pull/31386

   ## Proposed changes
   
   Issue Number: close https://github.com/apache/doris/issues/15684 close 
https://github.com/apache/doris/issues/14332
   
   <!--Describe your changes.-->
   ### Problem summary
   #### Background:
   Bvar is much more efficient than metric in be, so we can use bvar instead.
   
   #### Solution:
   - use bvar to replace original metric counters
   - refactor whole metric framework
   - add enough tests to test stability
   - change original metric by new metric file by file
   
   #### Detail
   Basic Class:
   |          class name           | relationship |
   | :---------------------------: | :----------: |
   | BvarMetric  & BvarAdderMetric |     Unit     |
   |       BvarMetricEntity        |    Entity    |
   |    BvarMetricRegistry   | Registry |
   |       SystemBvarMetircs       |    System    |
   |       DorisBvarMetircs        |    Doris     |
   
   Supported effects:
   you can use https://127.0.0.1:8040/bvar_metrics to get bvar_metrics 
information of Doris and System.
   
   Thanks to:
   - mentor:Yukang Lian 
[yukang.lian2...@gmail.com](mailto:yukang.lian2...@gmail.com)
   - mentor:Guolei Yi https://github.com/yiguolei
   
   How to reach me:
   - Hongkun Shao [lion03...@outlook.com](mailto:lion03...@outlook.com)
   - Wechat: s2485409617
   #### Notice:
   - Don't support HistogramMetric
   
   ### Checklist(Required)
    - [x] Does it affect the original behavior
   - [x]  Has unit tests been added
    - [ ] Has document been added or modified
   - [ ]  Does it need to update dependencies
   - [x]  Is this PR support rollback (If NO, please explain WHY)
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to