-
Notifications
You must be signed in to change notification settings - Fork 886
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloudfoundry -use-cf-binding does not work #247
Comments
Sorry, not familiar with how CloudFoundry works. The CF integration was done by @ihrigb in #103 - maybe he can add some more info as to what's wrong or how to fix it. I took a quick look at the code that's failing and my best guess would be that |
Hi @tuxjockey, the flag needs a double dash: |
@ihrigb I tried that too and gives me the same result. |
Can you send a copy of your binding credentials? (Mask out the username and password). |
Hello @ihrigb Below are the details
|
For now, I am using this exporter by passing the service keys as env variables |
Closing this, CloudFoundry is no longer directly supported by the exporter itself. Please move your service discovery to where you run the Prometheus server and use e.g. |
Hello,
I have built the exporter from the latest release and created an app out of it in cloudfoundry. The binary is not allowing me to use the -use-cf-bindings flag and throws an error. For eg:
I have not passed the other flags here, but this gives the same error if I do. The same binary works perfectly fine if I pass the details (IP:PORT and Passord)as env variables. Would be great if I can use the flag -use-cf-bindings so that I don't need to pass the credentials, instead just bind the app to a redis service instance
Thanks.
Tuxjockey
The text was updated successfully, but these errors were encountered: