Loyal-Young opened a new issue, #6465:
URL: https://github.com/apache/rocketmq-dashboard/issues/6465

   ### Describe the bug
   
   On `rocketmq-studio` at `779b8c0`, testing a VictoriaMetrics data source 
rejects the `victoria_metrics` spelling even though `DataSourceDTO` accepts it 
and `MetricsBackendType` resolves it. The connection-test allowlist removes 
whitespace but not underscores or hyphens, so the request fails as unsupported 
before an HTTP probe is attempted.
   
   ### To Reproduce
   
   Call the data-source connection test with `type: "victoria_metrics"` and an 
otherwise valid VictoriaMetrics URL. Compare with `type: "VictoriaMetrics"` 
against the same endpoint.
   
   ### Expected behavior
   
   Recognized backend aliases should reach the same backend-specific query 
endpoint. Unknown types must still be rejected instead of falling back to 
Prometheus.
   
   ### Version and context
   
   RocketMQ Studio, branch `rocketmq-studio`, commit `779b8c0`.
   
   This was previously reported in PR #4708 by yyqdbngt, which was closed by 
the stale workflow. The inconsistent normalizer is still present, and no open 
replacement was found by searching for the alias and connection-test spelling. 
A focused regression will check the actual probe path for accepted aliases, 
with canonical names and unsupported types as controls.
   


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