diff --git a/MODULE.bazel b/MODULE.bazel index 622dca249338..9d46e8b29d35 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -312,11 +312,11 @@ erlang_package.hex_package( version = "1.7.3", ) -erlang_package.hex_package( +erlang_package.git_package( name = "prometheus", build_file = "@rabbitmq-server//bazel:BUILD.prometheus", - sha256 = "2a99bb6dce85e238c7236fde6b0064f9834dc420ddbd962aac4ea2a3c3d59384", - version = "4.10.0", + repository = "gomoripeti/prometheus", + branch = "escape_label_opt", ) erlang_package.hex_package( diff --git a/rabbitmq-components.mk b/rabbitmq-components.mk index 1f633ce295f2..608f2d52d5dd 100644 --- a/rabbitmq-components.mk +++ b/rabbitmq-components.mk @@ -117,7 +117,7 @@ dep_credentials_obfuscation = hex 3.4.0 dep_khepri = hex 0.8.0 dep_khepri_mnesia_migration = hex 0.2.1 dep_looking_glass = git https://github.com/rabbitmq/looking_glass.git main -dep_prometheus = hex 4.10.0 +dep_prometheus = git https://github.com/gomoripeti/prometheus.erl 6a34cea dep_ra = hex 2.7.0 dep_ranch = hex 2.1.0 dep_recon = hex 2.5.3