Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warning:Querying metrics using Prometheus web console #1887

Closed
kubeop opened this issue Nov 30, 2021 · 8 comments
Closed

warning:Querying metrics using Prometheus web console #1887

kubeop opened this issue Nov 30, 2021 · 8 comments
Labels
question The question issue vmui

Comments

@kubeop
Copy link

kubeop commented Nov 30, 2021

Describe the bug
Querying metrics using Prometheus web console.
warning: remote_read: remote server http://vmselect.monitoring.svc.cluster.local:8481/select/0/prometheus returned HTTP status 400 Bad Request: remoteAddr: "10.64.5.14:44062"; requestURI: /select/0/prometheus; unsupported path requested: "/select/0/prometheus"

It‘s normal to query metrics using grafana.

Version
VictoriaMetrics: 1.69.0
Prometheus: 2.31.1

@kubeop kubeop changed the title Prometheus remoteRead query error warning:Querying metrics using Prometheus web console Nov 30, 2021
@denisgolius
Copy link
Contributor

Hi @k8sre !
VictoriaMetrics has an own vmui which is available at the http://vmselect.monitoring.svc.cluster.local:8481/select/0/vmui/. Try it to run your queries.

@denisgolius denisgolius added question The question issue vmui labels Nov 30, 2021
@kubeop
Copy link
Author

kubeop commented Nov 30, 2021

It can't auto-completed the metrics name when I use the vmui queries.

@denisgolius
Copy link
Contributor

Did you enable autocomplete ?
image

@hagen1778
Copy link
Collaborator

Hi @k8sre!
From the err message I see that you're trying to configure remote_read with VM server as source.
VM does not support remote read API for reasons.
However, it understands PromQL, so you can use Grafana, Promxy or any other UI which will send PromQL queries (not remote read API).

@kubeop
Copy link
Author

kubeop commented Nov 30, 2021

Did you enable autocomplete ?
image

Already enabled

@kubeop
Copy link
Author

kubeop commented Nov 30, 2021

Hi @k8sre!
From the err message I see that you're trying to configure remote_read with VM server as source.
VM does not support remote read API for reasons.
However, it understands PromQL, so you can use Grafana, Promxy or any other UI which will send PromQL queries (not remote read API).

The old version works

@hagen1778
Copy link
Collaborator

The old version works

The old version of what? Could you please elaborate more on your setup? Thanks!

@kubeop
Copy link
Author

kubeop commented Nov 30, 2021

The old version works

The old version of what? Could you please elaborate more on your setup? Thanks!

victoriametrics version: v1.48.0
Prometheus: v2.24.0
I can queries from Prometheus.So I thought the new version was OK.

Thank you very much, since the new version does not support, I try to use vmui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question The question issue vmui
Projects
None yet
Development

No branches or pull requests

3 participants