You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Aias00 (via GitHub)" <gi...@apache.org> on 2026/08/12 07:48:16 UTC

[I] [Studio][Bug] Test metrics sources through backend-specific query paths [rocketmq-dashboard]

Aias00 opened a new issue, #1987:
URL: https://github.com/apache/rocketmq-dashboard/issues/1987

   ### Track
   
   RocketMQ Studio Track 1: unified control plane / METRICS-01.
   
   ### Problem
   
   `SettingsService.testDataSource` probes every Prometheus-compatible backend through `/api/v1/query`. Runtime metrics queries already use backend-specific prefixes, including `/select/0/prometheus` for VictoriaMetrics and `/prometheus` for Mimir.
   
   As a result, a valid VictoriaMetrics or Mimir data source can fail the Settings connection test even though Studio can query it at runtime.
   
   ### Expected behavior
   
   - Select the instant-query path from the configured backend type.
   - Keep plain `/api/v1/query` for Prometheus, Thanos, Cortex, ARMS, and compatible defaults.
   - Use `/select/0/prometheus/api/v1/query` for VictoriaMetrics.
   - Use `/prometheus/api/v1/query` for Mimir.
   - Preserve the existing authentication, timeout, redirect, and SSRF protections.
   
   ### Acceptance criteria
   
   - Connection tests reach the backend-specific instant-query endpoint.
   - VictoriaMetrics and Mimir paths have regression coverage.
   - Provider type resolution remains locale-independent.
   
   ### Scope note
   
   This is distinct from #808, which exposed Mimir in the settings UI, and #1965, which handles untested data-source status. Neither aligns the settings-side test request with the runtime backend path contract.


-- 
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-unsubscribe@rocketmq.apache.org.apache.org

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


Re: [I] [Studio][Bug] Test metrics sources through backend-specific query paths [rocketmq-dashboard]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #1987:
URL: https://github.com/apache/rocketmq-dashboard/issues/1987#issuecomment-5264226975

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   The reported issue has been verified against the current codebase.
   
   An automated fix proposal may be generated. This issue is being tracked for potential resolution.
   
   ---
   *Automated evaluation by RocketMQ AI Assistant*


-- 
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-unsubscribe@rocketmq.apache.org

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


Re: [I] [Studio][Bug] Test metrics sources through backend-specific query paths [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1987:
URL: https://github.com/apache/rocketmq-dashboard/issues/1987#issuecomment-5349553666

   This issue has been automatically closed because there has been no activity for 7 days. If you believe this issue is still relevant, please reopen it with updated information.


-- 
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-unsubscribe@rocketmq.apache.org

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


Re: [I] [Studio][Bug] Test metrics sources through backend-specific query paths [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #1987: [Studio][Bug] Test metrics sources through backend-specific query paths
URL: https://github.com/apache/rocketmq-dashboard/issues/1987


-- 
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-unsubscribe@rocketmq.apache.org

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