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 upCrash with serverset_sd_configs #2976
Comments
brian-brazil
added
kind/bug
component/service discovery
labels
Jul 20, 2017
This comment has been minimized.
This comment has been minimized.
JustinVenus
commented
Aug 22, 2017
|
I hit the same issue today w/ prometheus-2.0.0-beta.2 |
This comment has been minimized.
This comment has been minimized.
JustinVenus
commented
Aug 22, 2017
|
@boiler I don't know how to open a pull request against the tag v2.0.0-beta.2, but this patch fixes the issue for me. v2.0.0-beta.2...JustinVenus:issues/2976 $ ./prometheus --config.file=/Users/jvenus/Downloads/prometheus.yml
INFO[0000] Starting prometheus (version=2.0.0-beta.2, branch=issues/2976, revision=c684392f318ea9b176a48ca497c43ddd8103f9dd) source="main.go:204"
INFO[0000] Build context (go=go1.8.3, user=jvenus@jvenus-signal-mbp13.local, date=20170822-20:22:17) source="main.go:205"
INFO[0000] Host details (darwin) source="main.go:206"
INFO[0000] Starting tsdb source="main.go:218"
INFO[0000] tsdb started source="main.go:224"
INFO[0000] Loading configuration file /Users/jvenus/Downloads/prometheus.yml source="main.go:357"
INFO[0000] Server is Ready to receive requests. source="main.go:334"
INFO[0000] Listening on 0.0.0.0:9090 source="web.go:327"
INFO[0000] Starting target manager... source="targetmanager.go:67"
^CWARN[0002] Received SIGTERM, exiting gracefully... source="main.go:340"
INFO[0002] See you next time! source="main.go:347"
INFO[0002] Stopping target manager... source="targetmanager.go:81"
INFO[0002] Target manager stopped. source="targetmanager.go:93"
INFO[0002] Stopping rule manager... source="manager.go:454"
INFO[0002] Rule manager stopped. source="manager.go:460"
INFO[0002] Stopping notification handler... source="notifier.go:471"global: {evaluation_interval: 1m, scrape_interval: 1m}
rule_files: []
scrape_configs:
- job_name: namerd
metrics_path: /admin/metrics/prometheus
serverset_sd_configs:
- paths: [/sd/nobody/prod/namerd]
servers: ['172.31.2.242:2181', '172.31.0.131:2181', '172.31.5.115:2181', '172.31.5.100:2181',
'172.31.11.164:2181']/CC @brian-brazil |
This comment has been minimized.
This comment has been minimized.
|
Open it against master, it'll get merged forward. |
JustinVenus
referenced this issue
Aug 22, 2017
Closed
Handle null pointer panic in zookeeper discovery #3107
This comment has been minimized.
This comment has been minimized.
|
Fix in master. Issue resolved. |
brian-brazil
closed this
Oct 18, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 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 23, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
boiler commentedJul 20, 2017
What did you do?
Run latest prometheus binary with "serverset_sd_configs" option in config
What did you expect to see?
Working daemon
What did you see instead? Under which circumstances?
panic: runtime error
Environment
System information:
Prometheus version:
Prometheus configuration file: