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 up2.8.0 file_sd parsing issue during config reload #5393
Comments
This comment has been minimized.
This comment has been minimized.
|
What's the PWD of the Prometheus? |
This comment has been minimized.
This comment has been minimized.
|
@brian-brazil what do you mean? Prometheus running in docker container.
|
This comment has been minimized.
This comment has been minimized.
|
I can't reproduce this. Are you sure that's your config file and that it didn't change? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Linux-oiD commentedMar 21, 2019
I'm using official Prometheus docker image:
One of my target scrape config looks like this:
I have simple sidecar container for manage configuration. It's watching for changes in configuration files and send POST request to prometheus
/-/reloadendpoint. Flag--web.enable-lifecycleis enabled.I see next errors during config reload request:
logs of prometheus looks like this:
Prometheus continues working with old-one config.
But if I restart container - all works fine. Configuration is valid:
My config changes doesn't affect scrape target listed above, this is only one target with
file_sdin configuration.Seems like
/in filepath is parsing incorrect during config reload flow.