Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upPrometheus 2.0.0-rc.2 - runtime error: index out of range #3412
Comments
This comment has been minimized.
This comment has been minimized.
|
@thesamet can you reproduce this even with a wiped storage? It works for me with 2.0.0-rc.2. If you had the data directory before 2.0.0-rc.2, you may have been affected by this:
|
This comment has been minimized.
This comment has been minimized.
|
Looks like the issue disappeared after removing the data directory. However, it was a fresh install. I've been changing the config doing some relabel_configs... Maybe some Ctrl-C's got my data directory into an inconsistent state? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@juliusv yes |
This comment has been minimized.
This comment has been minimized.
|
Certainly, hitting Ctrl-C shouldn't corrupt your storage beyond repair. Without a stack trace, it's hard to see what's going on, though. The fact that the stack trace doesn't show is an issue of its own. (I assume it's the Question is if this is a bug to block the final 2.0.0 release on. I'm missing the deeper insight to make that call. |
Dominik-K
referenced this issue
Dec 8, 2017
Closed
web: runtime error: invalid memory address or nil pointer dereference #3566
This comment has been minimized.
This comment has been minimized.
|
Given that it was filed against 2.0.0-rc2, I'm going to close the issue. @thesamet feel free to re-open it if you're still experiencing the problem. |
simonpasquier
closed this
Jul 24, 2018
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
thesamet commentedNov 4, 2017
•
edited
What did you do?
Visiting localhost:9090/graph
What did you expect to see?
Being able to browser metrics
What did you see instead? Under which circumstances?
When visiting the above URL, the UI shows this alert message: "Error loading available metrics!"
The process logs:
This doesn't happen in Prometheus 1.8.1.
Environment
Prometheus 2.0.0-rc2 on Linux. Service discovery using consul.
System information:
Prometheus version:
Alertmanager version:
Not installed.
Prometheus configuration file: