Repository navigation
Record negative cpu / cu value as metic - #14945
Merged
Merged
Conversation
xzxiong
requested review from
aptend,
daviszhen,
qingxinhome and
zhangxu19830126
as code owners
March 13, 2024 05:03
aptend
approved these changes
Mar 13, 2024
qingxinhome
approved these changes
Mar 13, 2024
daviszhen
approved these changes
Mar 13, 2024
zhangxu19830126
approved these changes
Mar 13, 2024
xzxiong
added a commit
to xzxiong/matrixone
that referenced
this pull request
Mar 13, 2024
1 of 7 tasks
mergify Bot
pushed a commit
that referenced
this pull request
Mar 13, 2024
cherry-pick #14871, #14927, #14945 changes 1. support calculate cu while collect statement_info 2. add new metric sql_statement_cu, group by sql_source_type - add new table `system_metrics.sql_statement_cu` for this metric 3. add new buildin function: `mo_cu()` and `mo_cu_v1()` 4. add new configuration `OBCUConfig` to set price config. Approved by: @daviszhen, @aptend, @nnsgmsone, @ouyuanning, @m-schen, @badboynt1, @heni02, @aunjgr, @zhangxu19830126, @sukki37
fengttt
pushed a commit
to fengttt/matrixone
that referenced
this pull request
May 7, 2026
change: 1. pass negative cu value while collecting cu metric 2. add new metric `mo_trace_negative_cu_total` to record negative cpu/cu case. Approved by: @aptend, @qingxinhome, @daviszhen, @zhangxu19830126
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
Which issue(s) this PR fixes:
issue #14926
What this PR does / why we need it:
change:
mo_trace_negative_cu_totalto record negative cpu/cu case.