ldap-sync: make pushgateway job name configurable

[PROBLEM]

With the airflow side splitting into one DAG per growthbook release (prod and staging) running the same image, the hardcoded job=growthbook_ldap_sync label means both DAGs push under the same series identifier and overwrite each other in Prometheus, leaving the two environments indistinguishable

[SOLUTION]

Replace the PUSHGATEWAY_JOB constant with a click option --pushgateway-job / PROMETHEUS_PUSHGATEWAY_JOB defaulting to growthbook_ldap_sync. The staging DAG sets the env var to growthbook_next_ldap_sync for a 1:1 mapping with its airflow DAG ID

Bug: T420691

Merge request reports

Loading