Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ executors:
# This must match .promu.yml.
golang:
docker:
- image: cimg/go:1.24
- image: cimg/go:1.25

jobs:
test:
Expand All @@ -23,7 +23,7 @@ jobs:

integration:
docker:
- image: cimg/go:1.24
- image: cimg/go:1.25
- image: << parameters.postgres_image >>
environment:
POSTGRES_DB: circle_test
Expand Down Expand Up @@ -73,13 +73,11 @@ workflows:
matrix:
parameters:
postgres_image:
- circleci/postgres:11
- circleci/postgres:12
- circleci/postgres:13
- cimg/postgres:14.9
- cimg/postgres:15.4
- cimg/postgres:16.0
- cimg/postgres:17.0
- cimg/postgres:13.22
- cimg/postgres:14.19
- cimg/postgres:15.14
- cimg/postgres:16.10
- cimg/postgres:17.6
- prometheus/build:
name: build
parallelism: 3
Expand Down
2 changes: 1 addition & 1 deletion .promu.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
go:
# This must match .circle/config.yml.
version: 1.24
version: 1.25
repository:
path: github.com/prometheus-community/postgres_exporter
build:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

Prometheus exporter for PostgreSQL server metrics.

CI Tested PostgreSQL versions: `11`, `12`, `13`, `14`, `15`, `16`, `17`.
CI Tested PostgreSQL versions: `13`, `14`, `15`, `16`, `17`.

## Quick Start
This package is available for Docker:
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.18.1-tetrate-v0
0.18.1-tetrate-v1
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ module github.com/prometheus-community/postgres_exporter

go 1.24.0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this need to be updated?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The go version in go.mod is used only as minimal go version of the repo, the go version used to actually build the image is the one in .circleci/config.yml, which is from this image cimg/go:1.25

Copy link
Member Author

@M4tteoP M4tteoP Nov 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still, we could update it and make the min version stricter for us. I wanted to stick with upstream to simplify future cherry-pick


toolchain go1.24.1

require (
github.com/DATA-DOG/go-sqlmock v1.5.2
github.com/alecthomas/kingpin/v2 v2.4.0
Expand Down