packaged by Chainguard
Starter and Team plans don't include this image. Enterprise does.
Compare plansChainguard Harness uses frontier models from Anthropic, OpenAI, and Google to attack a copy of your app built on airflow-pgbouncer-exporter-fips. It finds exploitable, validated issues that SAST and DAST tools aren't built to find.
A FIPS-compliant Prometheus exporter for PgBouncer connection-pool metrics, deployed as the metrics-exporter sidecar by the Apache Airflow Helm chart
Chainguard Containers are regularly-updated, secure-by-default container images.
For those with access, this container image is available on cgr.dev:
Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.
This image is a drop-in replacement for the upstream apache/airflow:airflow-pgbouncer-exporter-* images published by the Apache Airflow project. It packages the Go-based jbub/pgbouncer_exporter built from source, keeps the upstream entrypoint (/bin/pgbouncer_exporter) and default command (server), and runs as the unprivileged nobody user (UID 65534), matching the upstream image.
Unlike the upstream image, it declares no Docker HEALTHCHECK. The Airflow chart runs its own pgbouncer_exporter health exec probes; with Compose, add healthcheck: { test: ["CMD", "/bin/pgbouncer_exporter", "health"] }.
Like other Chainguard images, it contains only the minimum set of tools and dependencies needed to run the exporter, so it does not include a shell or package manager.
The airflow-pgbouncer-exporter-fips image builds the exporter with a FIPS-enabled Go toolchain that routes cryptography, including TLS connections to PgBouncer, through a validated redistribution of the OpenSSL FIPS provider module, and ships the hardened OpenSSL FIPS configuration. For more on FIPS support in Chainguard Images, consult the guide on FIPS-enabled Chainguard Images on Chainguard Academy.
The exporter connects to the PgBouncer admin console and serves Prometheus metrics on port 9127 by default. Point it at PgBouncer with the DATABASE_URL environment variable.
The exporter exits at startup unless the PgBouncer host in DATABASE_URL resolves, so run it on a Docker network shared with PgBouncer. The following example assumes a PgBouncer container named pgbouncer on the pgbouncer-net network, with the stats user listed in PgBouncer's stats_users:
Once Server listening on appears in the container log (docker logs pgbouncer-exporter), scrape the metrics:
PgBouncer must ignore a startup parameter sent by the PostgreSQL driver. Add the following to pgbouncer.ini:
The health subcommand checks connectivity to PgBouncer and is what the Airflow Helm chart uses for its liveness and readiness probes:
The image is deployed as the metrics-exporter sidecar of the PgBouncer Deployment in the official Apache Airflow Helm chart. To use it, create a values.yaml file that enables PgBouncer and overrides the chart's exporter image:
Then install the chart with that values file:
DATABASE_URL: connection string for the PgBouncer admin console database (pgbouncer).--web.listen-address: address the metrics server listens on (default :9127).Run pgbouncer_exporter --help for the full list of flags.
9127/tcp: the exporter listens here for Prometheus scrapes (/metrics).The exporter keeps no state on disk and needs no writable paths or volumes.
The exporter is licensed under MIT; the Apache Airflow packaging is licensed under the Apache License 2.0.
Chainguard's free tier of Starter container images are built with Wolfi, our minimal Linux undistro.
All other Chainguard Containers are built with Chainguard OS, Chainguard's minimal Linux operating system designed to produce container images that meet the requirements of a more secure software supply chain.
The main features of Chainguard Containers include:
For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a development, or -dev, variant.
In all other cases, including Chainguard Containers tagged as :latest or with a specific version number, the container images include only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager.
Although the -dev container image variants have similar security features as their more minimal versions, they include additional software that is typically not necessary in production environments. We recommend using multi-stage builds to copy artifacts from the -dev variant into a more minimal production image.
To improve security, Chainguard Containers include only essential dependencies. Need more packages? Chainguard customers can use Custom Assembly to add packages, either through the Console, chainctl, or API.
To use Custom Assembly in the Chainguard Console: navigate to the image you'd like to customize in your Organization's list of images, and click on the Customize image button at the top of the page.
Refer to our Chainguard Containers documentation on Chainguard Academy. Chainguard also offers VMs and Libraries — contact us for access.
This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.
Chainguard's container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" tag of this image:
Apache-2.0
BSD-3-Clause
GCC-exception-3.1
GPL-3.0-or-later
LGPL-2.1-or-later
MIT
MPL-2.0
For a complete list of licenses, please refer to this Image's SBOM.
Software license agreementChainguard Containers are SLSA Level 3 compliant with detailed metadata and documentation about how it was built. We generate build provenance and a Software Bill of Materials (SBOM) for each release, with complete visibility into the software supply chain.
SLSA compliance at ChainguardThis image helps reduce time and effort in establishing PCI DSS 4.0 compliance with low-to-no CVEs.
PCI DSS at ChainguardThis is a FIPS validated image for FedRAMP compliance.
This image is STIG hardened and scanned against the DISA General Purpose Operating System SRG with reports available.
Learn more about STIGsGet started with STIGs