Updating to axum-prometheus v0.6.0 introduced a dependency on openssh-sys which in turn broke our "Generalized Reproducible Deployments" container build.
That build uses a rust:1.75.0-slim-bookworm container image to build our code which is missing the newly-required libssl-dev and pkg-config packages. We can address this by installing those packages before building, or switching to the non-slim base container, or by reverting the update.
It looks like the dependency is for https client use, for when prometheus is configured to push measurements to a gateway. Since we're using polling in our deployment, we may be able to disable the relevant feature in metrics-exporter-prometheus. I filed https://github.com/Ptrskay3/axum-prometheus/issues/42 to ask about that.
Updating to
axum-prometheus
v0.6.0 introduced a dependency onopenssh-sys
which in turn broke our "Generalized Reproducible Deployments" container build.That build uses a
rust:1.75.0-slim-bookworm
container image to build our code which is missing the newly-requiredlibssl-dev
andpkg-config
packages. We can address this by installing those packages before building, or switching to the non-slim base container, or by reverting the update.It looks like the dependency is for https client use, for when prometheus is configured to push measurements to a gateway. Since we're using polling in our deployment, we may be able to disable the relevant feature in
metrics-exporter-prometheus
. I filed https://github.com/Ptrskay3/axum-prometheus/issues/42 to ask about that.