RockteMQ-AI commented on issue #10833:
URL: https://github.com/apache/rocketmq/issues/10833#issuecomment-5225050021

   **Issue Evaluation**
   
   Category: `type/bug` | Status: **Confirmed**
   
   The reported issue has been verified against the current codebase (`develop` 
branch).
   
   **Root Cause:** Broker, Proxy, and Controller metrics configuration use 
`item.split(":")` to parse label/header entries. Values containing colons 
(e.g., `https://collector:4317`) are split into more than 2 parts and discarded 
by the `split.length != 2` check.
   
   **Impact:** Cannot configure OTLP endpoints with port numbers or label 
values containing colons. Affects metrics export configuration for all 
components.
   
   **Severity:** medium
   
   **Affected code:** `broker/.../BrokerMetricsManager.java`, 
`proxy/.../ProxyMetricsManager.java`, 
`controller/.../ControllerMetricsManager.java`
   
   An automated fix proposal will be generated. Reply `/approve` to proceed 
with PR generation.
   
   ---
   *Automated evaluation by RockteMQ-AI*
   


-- 
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]

Reply via email to