1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2025-10-31 09:10:25 +03:00
* Update minimum supported Go to 1.24.0.
* Update Go build to 1.25.x.
* Update PostgreSQL testing versions.

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
Ben Kochie
2025-09-30 00:57:16 -07:00
committed by GitHub
parent 320b684f3d
commit a95b518a68
4 changed files with 10 additions and 14 deletions

View File

@@ -8,7 +8,7 @@ executors:
# This must match .promu.yml.
golang:
docker:
- image: cimg/go:1.24
- image: cimg/go:1.25
jobs:
test:
@@ -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
@@ -57,13 +57,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

View File

@@ -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:

View File

@@ -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:

4
go.mod
View File

@@ -1,8 +1,6 @@
module github.com/prometheus-community/postgres_exporter
go 1.23.0
toolchain go1.24.1
go 1.24.0
require (
github.com/DATA-DOG/go-sqlmock v1.5.2