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 upRemote Read runtime error with /api/v1/series #4344
Comments
This comment has been minimized.
This comment has been minimized.
|
This was fixed in 2.3.1, does that work for you? |
This comment has been minimized.
This comment has been minimized.
|
Confirmed fixed in 2.3.1. Thanks |
steve-exley
closed this
Jul 4, 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. |
lock
bot
locked and limited conversation to collaborators
Mar 22, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
steve-exley commentedJul 4, 2018
Bug Report
When using Remote Read between two Prometheus 2.3.0 systems. Using the /api/v1/series causes Prometheus to drop the connection and generates an error in the logs:
For example:
http://y.y.y.y:9090/api/v1/series?match[]=scrape_duration_secondsI have tested removing the remote_read configuration and then Prometheus behaves as expected and returns metrics from
/api/v1/seriesrequests.I have also tested
/api/v1/queryand/api/v1/query_rangerequests and these return metrics as expected including the remote ones. The issue seems to only occur on/api/v1/seriesrequests which are important in my use case because Grafana uses them to generate lists.What did you expect to see?
When making a request to the prometheus
parent: http://y.y.y.y:9090/api/v1/series?match[]=scrape_duration_secondsI expected to get a HTTP: 200 response with metrics.
What did you see instead? Under which circumstances?
Prometheus closed the connection and logged:
prometheus: level=error ts=2018-07-04T06:42:50.15051076Z caller=stdlib.go:89 component=web caller="http: panic serving x.x.x.x:49204" msg="runtime error: invalid memory address or nil pointer dereference"
Environment
System information:
Linux 3.10.0-862.3.3.el7.x86_64 x86_64
Prometheus version:
2.3.0 (Both Prometheus instances)
Prometheus configuration file:
Prometheus parent instance y.y.y.y:
Prometheus client instance x.x.x.x:
On the parent instance making the remote read request: