-
Notifications
You must be signed in to change notification settings - Fork 96
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
helm installation with sentinel cluster and broker-transport-option #234
Comments
@adinhodovic helm expert |
Hi there 👋 I am trying to do the same thing but can't make it work. I used this values:
The config looks good, the exporter start as expected, cf the logs:
But I get no metrics exported on /metrics compared when I use the following (I deployed a small haproxy that target the redis leader)
At this point I don't really know how to dig the issue, if someone have any idea I'm all ears |
Using the redis-sentinel bitnami chart, for me the following worked:
I am able to see the metrics through the Grafana dashboards |
Work well with version 0.10.10 but not 0.10.7 |
I have a question regarding Helm installation to connect to a Sentinel cluster as well, how would the equivalent helm values env look like for the example provided connection with docker? Is it possible to declare multiple
Helm values:
|
@zqyong you can try cloning the project, starting the docker containers running the Python program to see how the --broker-transport-options translate to environment variables. I'm not sure myself. git clone $PROJECT
cd celery-exporter
docker compose up -d redis
pip install
poetry install
CE_BROKER_TRANSPORT_OPTION=x python -m cli --broker-url redis://localhost:6379 |
Yeah I poked around and found out how it can be done, to anyone trying to pass multiple
the values are parsed by Click, and by default Click uses whitespace as a separator. Thank you @danihodovic for your quick reply and the great work! |
Hello. I am gonna deploy celery-exporter by using helm. I have 3 nodes redis sentinel cluster. So how can apply CE_BROKER_URL for sentinel cluster, for one redis I just give the one IP but here no idea and also how can I apply "broker-transport-option master_name=my_master" for example. By using docker commands I can do it but how can apply these values with helm installation. For example should I use CE_BROKER_TRANSPORT_OPTION as an env in values yaml?
The text was updated successfully, but these errors were encountered: