prometheus: Web UI - Error loading available metrics!
Bug Report
What did you do? Successfully upgraded Prometheus 2.0 to 2.15.0-rc0 and then open WEB UI.
What did you expect to see? I expect /graph page without error and with working search suggest drop-down list.
What did you see instead? Under which circumstances?
- Open Web UI behind Apache proxy on https://prometheus.company.org/ via Google Chrome.
- I am forwarded to https://prometheus.company.org/graph page where I see “Error loading available metrics!” error.
- Search suggest drop-down list is not working, there are no suggestions.
Environment
- System information:
Linux 3.10.0-1062.4.1.el7.x86_64 x86_64
- Prometheus version:
prometheus, version 2.15.0-rc.0 (branch: HEAD, revision: 61f1953c50148b3857bad6ab9a5622e1f1277695)
build user: root@67bb57f8015b
build date: 20191218-17:10:23
go version: go1.13.5
- Prometheus parameters:
/opt/prometheus/prometheus --storage.tsdb.retention.time=60d --storage.tsdb.retention.size=98GB --config.file=/opt/prometheus/prometheus.yml --storage.tsdb.path=/opt/prometheus/data --web.external-url=https://prometheus.company.org/ --web.console.templates=/opt/prometheus/consoles --query.timeout=1m --web.read-timeout=1m --web.route-prefix=/
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 19 (12 by maintainers)
Commits related to this issue
- Handle V1 indexes, some of which have unsorted posting offset tables. Fixes #6535 Signed-off-by: Brian Brazil <brian.brazil@robustperception.io> — committed to prometheus/prometheus by brian-brazil 4 years ago
- Handle V1 indexes, some of which have unsorted posting offset tables. (#6564) Fixes #6535 Signed-off-by: Brian Brazil <brian.brazil@robustperception.io> — committed to prometheus/prometheus by brian-brazil 4 years ago
- Handle V1 indexes, some of which have unsorted posting offset tables. (#6564) Fixes #6535 Signed-off-by: Brian Brazil <brian.brazil@robustperception.io> — committed to prometheus/prometheus by brian-brazil 4 years ago
Thank you. After upgrade to the latest version of Prometheus is everything good.
@brian-brazil here you have what you need 😃
meta.json:
index file have 27MB, so I uploaded it on GDrive - https://drive.google.com/file/d/1NXQbZqBDRqJwCPzUzgEI3BIeVUgEdUIR/view?usp=sharing
The time range in meta.json is related to time before upgrade to higher version.
@Rohlik Thanks!
For @brian-brazil’s questions, could you share
data/01DS1P0FNEAM2YPR8DAKCACNDJ/meta.json
anddata/01DS1P0FNEAM2YPR8DAKCACNDJ/index
(careful, might contain sensitive data if your metrics are sensitive), as well as whether the time range in the block’smeta.json
file happened before or after the upgrade to 2.15?