DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
airflow-pgbouncer-exporter-fips logoFIPS

airflow-pgbouncer-exporter-fips

packaged by Chainguard

Last changed
Available on Enterprise

Starter and Team plans don't include this image. Enterprise does.

Compare plans
Chainguard HarnessHack your app with frontier AI

Chainguard 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.

Tags
Overview
Comparison
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

Chainguard Container for airflow-pgbouncer-exporter-fips

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.

Download this Container Image

For those with access, this container image is available on cgr.dev:

docker pull cgr.dev/ORGANIZATION/airflow-pgbouncer-exporter-fips:latest

Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.

Compatibility Notes

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.

FIPS Support

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.

Getting Started

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:

docker run -d --name pgbouncer-exporter --network pgbouncer-net -p 9127:9127 \
  -e DATABASE_URL="postgres://stats:password@pgbouncer:6432/pgbouncer?sslmode=disable" \
  cgr.dev/ORGANIZATION/airflow-pgbouncer-exporter-fips:latest

Once Server listening on appears in the container log (docker logs pgbouncer-exporter), scrape the metrics:

curl http://localhost:9127/metrics

PgBouncer must ignore a startup parameter sent by the PostgreSQL driver. Add the following to pgbouncer.ini:

ignore_startup_parameters = extra_float_digits

The health subcommand checks connectivity to PgBouncer and is what the Airflow Helm chart uses for its liveness and readiness probes:

docker exec pgbouncer-exporter /bin/pgbouncer_exporter health

Helm

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:

cat > values.yaml <<EOF
pgbouncer:
  enabled: true
images:
  pgbouncerExporter:
    repository: cgr.dev/ORGANIZATION/airflow-pgbouncer-exporter-fips
    tag: latest
EOF

Then install the chart with that values file:

helm repo add apache-airflow https://airflow.apache.org
helm repo update
helm install airflow apache-airflow/airflow --namespace airflow --create-namespace --values values.yaml

Configuration

  • 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.

Ports

  • 9127/tcp: the exporter listens here for Prometheus scrapes (/metrics).

The exporter keeps no state on disk and needs no writable paths or volumes.

Documentation and Resources

The exporter is licensed under MIT; the Apache Airflow packaging is licensed under the Apache License 2.0.

What are Chainguard Containers?

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.

Need additional packages?

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.

Learn More

Refer to our Chainguard Containers documentation on Chainguard Academy. Chainguard also offers VMs and Libraries — contact us for access.

Trademarks

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.

Licenses

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 agreement

Compliance

Chainguard 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 Chainguard

This image helps reduce time and effort in establishing PCI DSS 4.0 compliance with low-to-no CVEs.

PCI DSS at Chainguard

This 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

Related images
airflow-pgbouncer-exporter logo

airflow-pgbouncer-exporter


Category
FIPS
STIG

The trusted source for open source

Talk to an expert
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
© 2026 Chainguard, Inc. All Rights Reserved.
Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.