Skip to content
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

docs: fix recovery metric values in documentation #376

Merged
merged 4 commits into from
Oct 23, 2023
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
14 changes: 8 additions & 6 deletions .github/workflows/fragment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ on:
pull_request:

jobs:
steps:
- name: "Check for Changelog fragment"
uses: brettcannon/check-for-changed-files@v1
with:
file-pattern: "changelogs/fragments/*.yml"
failure-message: "Missing a Changelog fragment in ${file-pattern}; please add one or wait for a maintainer to push one for you."
changelog-fragment:
runs-on: ubuntu-latest
steps:
- name: "Check for Changelog fragment"
uses: brettcannon/check-for-changed-files@v1
with:
file-pattern: "changelogs/fragments/*.yml"
failure-message: "Missing a Changelog fragment in ${file-pattern}; please add one or wait for a maintainer to push one for you."
4 changes: 4 additions & 0 deletions changelogs/fragments/375.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
trivial:
- docs - Fix the documentation of the 'ccp_is_in_recovery_status' metric to properly match the value to the description
- github - Fix workflow checks
2 changes: 1 addition & 1 deletion hugo/content/exporter/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ Metrics contained in the `queries_global.yml` file. These metrics are common to

* *ccp_database_size_bytes* - Total size of each database in PostgreSQL instance

* *ccp_is_in_recovery_status* - Current value of the pg_is_in_recovery() function expressed as 2 for true (instance is a replica) and 1 for false (instance is a primary)
* *ccp_is_in_recovery_status* - Current value of the pg_is_in_recovery() function expressed as 1 for true (instance is a replica) and 2 for false (instance is a primary)

* *ccp_connection_stats_active* - Count of active connections

Expand Down