prometrix
prometrix copied to clipboard
Victoriametrics code does not work for victoriametrics cluster
See the docs here
I think you could test if cluster by calling: ${url}:8481/admin/tenants
the flags url would be: ${url}:8481/flags
and query for ${tenant} (the default is 0) would be: ${url}:8481/select/${tenant}/prometheus/api/v1/query?query=example
My current workaround is to set: prometheus_url: http://vmselect-k8s-victoria-metrics-k8s-stack.monitoring.svc.cluster.local:8481/select/0/prometheus