forked from prometheus-community/postgres_exporter
-
Notifications
You must be signed in to change notification settings - Fork 12
PMM-13899 pull upstream changes v0.17.1 #311
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
Open
BupycHuk
wants to merge
56
commits into
main
Choose a base branch
from
PMM-7-pull-upstream-changes-v0.17.1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 55 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
94b0651
Update common Prometheus files (#951)
prombot f0ea016
Update common Prometheus files (#963)
prombot ae1375b
pg_replication_slot: add slot type label (#960)
shamil 34f5443
Bump github.com/prometheus/common from 0.44.0 to 0.45.0 (#948)
dependabot[bot] 5ceae7f
Bump github.com/prometheus/client_model (#949)
dependabot[bot] f5b613a
pg_stat_database: added support for `active_time` counter (#961)
sitole 825cc8a
Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#988)
dependabot[bot] 9cfa132
Bump github.com/prometheus/client_golang from 1.17.0 to 1.18.0 (#993)
dependabot[bot] f98834a
use Info level for excluded databases log message (#1003)
keegancsmith 8f39f5b
Add connection limits metrics for pg_roles and pg_database (#997)
jocelynthode 838f09c
Bump github.com/DATA-DOG/go-sqlmock from 1.5.0 to 1.5.2 (#1000)
dependabot[bot] 89087f1
Bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0 (#1011)
dependabot[bot] b126e62
Bump github.com/prometheus/client_model from 0.5.0 to 0.6.0 (#1010)
dependabot[bot] 5ffc58c
Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (#1014)
dependabot[bot] ddd5136
Bump github.com/prometheus/exporter-toolkit from 0.10.0 to 0.11.0 (#992)
dependabot[bot] cc0fd2e
Bump golang.org/x/net from 0.20.0 to 0.23.0 (#1021)
dependabot[bot] a4ac0e6
feat: Add safe_wal_size and wal_status to replication_slot (#1027)
MarcWort 49f66e1
fix: Only query active_time on pg>=14 (#1045)
MarcWort 3c5ef40
Update README.md (#1038)
fhackenberger 98f75c7
stop logging errors on replicas, fixes #547 (#1048)
saz 3be4edc
Update common Prometheus files (#983)
prombot 3743987
Update common Prometheus files (#1076)
prombot e854076
chore!: adopt log/slog, drop go-kit/log (#1073)
tjhop 071ebb6
Bump github.com/prometheus/client_golang from 1.20.4 to 1.20.5 (#1079)
dependabot[bot] f9c7457
Bump github.com/prometheus/common from 0.60.0 to 0.60.1 (#1080)
dependabot[bot] 552ff92
Make walreceiver collector useful w/o repmgr (#1086)
bitfehler c52405a
Update common Prometheus files (#1083)
prombot 340a104
Bump github.com/prometheus/exporter-toolkit from 0.13.0 to 0.13.1 (#1…
dependabot[bot] 0045c4f
Update common Prometheus files (#1087)
prombot 4abdfa5
Update changelog and version for a v0.16.0 release (#1088)
sysadmind a324fe3
Fix version header in changelog (#1089)
sysadmind 6f36adf
Update pg_long_running_transactions.go (#1092)
jyothikirant-sayukth 5bb1702
Fix to replace dashes with underscore in the metric names (#1103)
aagarwalla-fx 5145620
Bump github.com/prometheus/exporter-toolkit from 0.13.1 to 0.13.2 (#1…
dependabot[bot] bea2609
Checkpoint related columns in PG 17 have been moved from pg_stat_bgwr…
n-rodriguez ecb5ec5
Update common Prometheus files (#1090)
prombot 9de4f19
Update common Prometheus files (#1110)
prombot 7d4c278
Add Postgres 17 for CI test (#1105)
khiemdoan 3acc479
Bump github.com/prometheus/common from 0.61.0 to 0.62.0 (#1118)
dependabot[bot] d85a771
Update common Prometheus files (#1124)
prombot 072864d
pg_stat_statements PG17 (#1114)
NevermindZ4 9e42fc0
fix: handle pg_replication_slots on pg<13 (#1098)
michael-todorovic 2ee2a8f
feat: add wait/backend to pg_stat_activity (#1106)
fgalind1 c3885e8
Export last replay age in replication collector (#1085)
bitfehler 99e1b51
Bump github.com/prometheus/exporter-toolkit from 0.13.2 to 0.14.0 (#1…
dependabot[bot] 4c170ed
Fix missing dsn sanitization for logging (#1104)
sysadmind 8bb1a41
Skip pg_stat_checkpointer collector if pg<17 (#1112)
n-rodriguez 51006ab
Prep for v0.17 (#1127)
sysadmind 2869087
Fix: Handle incoming labels with invalid UTF-8 (#1131)
vancwo 1e574cf
Release v0.17.1 (#1132)
SuperQ 8bd733e
Merge tag 'v0.17.1' into PMM-7-pull-upstream-changes-v0.17.1
BupycHuk 78dbb76
PMM-7 pull upstream changes from v0.17.1
BupycHuk 5bf4bfc
PMM-7 Fix build
BupycHuk 9667c22
PMM-7 Fix build
BupycHuk f4c8a85
PMM-7 Remove unused dependencies from go.mod and go.sum
BupycHuk 30e3790
PMM-7 Add "plugin" label to pg_replication_slot metrics
BupycHuk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
name: Push README to Docker Hub | ||
on: | ||
push: | ||
paths: | ||
- "README.md" | ||
- "README-containers.md" | ||
- ".github/workflows/container_description.yml" | ||
branches: [ main, master ] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
PushDockerHubReadme: | ||
runs-on: ubuntu-latest | ||
name: Push README to Docker Hub | ||
if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks. | ||
steps: | ||
- name: git checkout | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
- name: Set docker hub repo name | ||
run: echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV | ||
- name: Push README to Dockerhub | ||
uses: christian-korneck/update-container-description-action@d36005551adeaba9698d8d67a296bd16fa91f8e8 # v1 | ||
env: | ||
DOCKER_USER: ${{ secrets.DOCKER_HUB_LOGIN }} | ||
DOCKER_PASS: ${{ secrets.DOCKER_HUB_PASSWORD }} | ||
with: | ||
destination_container_repo: ${{ env.DOCKER_REPO_NAME }} | ||
provider: dockerhub | ||
short_description: ${{ env.DOCKER_REPO_NAME }} | ||
# Empty string results in README-containers.md being pushed if it | ||
# exists. Otherwise, README.md is pushed. | ||
readme_file: '' | ||
|
||
PushQuayIoReadme: | ||
runs-on: ubuntu-latest | ||
name: Push README to quay.io | ||
if: github.repository_owner == 'prometheus' || github.repository_owner == 'prometheus-community' # Don't run this workflow on forks. | ||
steps: | ||
- name: git checkout | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
- name: Set quay.io org name | ||
run: echo "DOCKER_REPO=$(echo quay.io/${GITHUB_REPOSITORY_OWNER} | tr -d '-')" >> $GITHUB_ENV | ||
- name: Set quay.io repo name | ||
run: echo "DOCKER_REPO_NAME=$(make docker-repo-name)" >> $GITHUB_ENV | ||
- name: Push README to quay.io | ||
uses: christian-korneck/update-container-description-action@d36005551adeaba9698d8d67a296bd16fa91f8e8 # v1 | ||
env: | ||
DOCKER_APIKEY: ${{ secrets.QUAY_IO_API_TOKEN }} | ||
with: | ||
destination_container_repo: ${{ env.DOCKER_REPO_NAME }} | ||
provider: quay | ||
# Empty string results in README-containers.md being pushed if it | ||
# exists. Otherwise, README.md is pushed. | ||
readme_file: '' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
--- | ||
extends: default | ||
ignore: | | ||
**/node_modules | ||
|
||
rules: | ||
braces: | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.15.0 | ||
0.17.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
That action will never execute with such an
if
statement, so why not remove it?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.
to not have conflicts when we pull new version.