gavinchou opened a new pull request, #68655:
URL: https://github.com/apache/doris/pull/68655

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: None
   
   Problem Summary:
   
   FE already exposes its build identity with `version`, `major`, `minor`, 
`patch`, `hotfix`, and `short_hash` labels. BE and Cloud expose the same 
numeric version value without those labels, even though the decimal 
concatenation is ambiguous for some versions and does not include RC or 
revision information.
   
   This change adds the same fixed label schema to the existing BE and Cloud 
metrics while preserving all three metric names and their numeric values. The 
version metrics still produce one series per process, so the fixed build labels 
do not introduce runtime-dependent cardinality. The regression case now parses 
the three exposition formats and verifies that FE, BE, and Cloud expose 
identical build metadata and values.
   
   ### Release note
   
   Expose consistent build-version labels on FE, BE, and Cloud version metrics.
   
   ### Check List (For Author)
   
   - Test: Added regression coverage; ran `build-support/check-format.sh`, `git 
diff --check`, and a focused C++ syntax check for the labeled bvar construction.
   - Behavior changed: Yes. Existing BE and Cloud version metric series now 
include fixed build-version labels; metric names and numeric values are 
unchanged.
   - Does this need documentation: No.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to