-
Notifications
You must be signed in to change notification settings - Fork 10
PINF-41 - Add pgbouncer exporter service with chainguard base image #1134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
77b0291
0b5a9de
c2e9c6e
84b5bad
ee9f251
3e46589
9b2e8a9
7115c1b
2b8610b
767b485
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,7 +14,7 @@ | |
| # limitations under the License. | ||
|
|
||
| # https://hub.docker.com/r/jbub/pgbouncer_exporter | ||
| FROM jbub/pgbouncer_exporter:v0.20.0 AS upstream | ||
| FROM cgr.dev/astronomer.io/prometheus-pgbouncer-exporter:v0.11.0 AS upstream | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yikes, are we reverting from 0.20.0 to 0.11.0 ? Does chainguard not have a newer one? 0.11.0 is from 2021 https://github.com/jbub/pgbouncer_exporter/releases/tag/v0.11.0
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @danielhoherd looks like Chainguard is not matching its versioning with OSS upstream image versions? |
||
|
|
||
| FROM quay.io/astronomer/ap-base:2025.12.24 | ||
|
|
||
|
|
@@ -38,5 +38,5 @@ RUN addgroup -g $GID -S $USER \ | |
| && adduser -D -S -s /sbin/nologin -G $USER -u $UID $USER | ||
| USER $UID | ||
|
|
||
| ENTRYPOINT ["pgbouncer_exporter"] | ||
| CMD ["server"] | ||
| ENTRYPOINT ["/bin/bash"] | ||
| CMD ["-c", "exec /bin/pgbouncer_exporter --pgBouncer.connectionString=$DATABASE_URL"] | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,17 @@ | ||
| --- | ||
| tests: | ||
| root_user_test: True | ||
| default_user: pgexporter | ||
| users_config: | ||
| - name: pgexporter | ||
| group: pgexporter | ||
| gid: 1001 | ||
| uid: 1000 | ||
| test_commands: | ||
| - command: "pgbouncer_exporter --help" | ||
| expected_result: | ||
| in: "Address on which to expose metrics and web interface." | ||
| startswith: "NAME:" | ||
| endswith: "print the version (default: false)" | ||
| docker: | ||
| entrypoint: "top" | ||
| # tests: | ||
| # root_user_test: True | ||
| # default_user: pgexporter | ||
| # users_config: | ||
| # - name: pgexporter | ||
| # group: pgexporter | ||
| # gid: 1001 | ||
| # uid: 1000 | ||
| # test_commands: | ||
| # - command: "pgbouncer_exporter --help" | ||
| # expected_result: | ||
| # in: "Address on which to expose metrics and web interface." | ||
| # startswith: "NAME:" | ||
| # endswith: "print the version (default: false)" | ||
| # docker: | ||
| # entrypoint: "top" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 0.20.0-1 | ||
| 0.11.0-3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.