Commit Graph

465 Commits (d5ce83738f1bc3a4345d1805384e7749563b6345)

Author SHA1 Message Date
Ibrar Ahmed d5ce83738f
PG-362: pgsm_normalized_query needs to be 0 by default. (#253)
pg_stat_monitor.pgsm_normalized_query needs to be 0 by default because
people will get Query examples. This is one of the main user-faced
advantages of pgsm over pgss (pg_stat_statements).
2022-06-09 16:13:58 +05:00
Ibrar Ahmed 1b89fa1814
PG-289: Remove ‘for’ loop initial declarations. (#256) 2022-06-09 16:13:43 +05:00
Puneet Kala 4f056813e0
PMM-9951 Checking with forked repo and custom branch (#251)
PMM-9951 Fix for forked Repo

PMM-9951 Checking with forked repo and custom branch

PMM-9951 fix the branch

PMM-9951 testing the github properties

PMM-9951 testing

PMM-9951 testing the changes

PMM-9951 changing permissions

PMM-9951 handle the repo

PMM-9951 permissions check

PMM-9951 permissions check

PMM-9951 remove not needed ones

PMM-9951 checks permissions

PMM-9951 testing

PMM-9951 testing another workflow

PMM-9951 test changes

PMM-9951 Final Push with all changes

PMM-9951
2022-06-03 16:11:15 +05:00
Puneet Kala 9f7aac6810
PMM-9951 Adding PGSM+PMM Integration tests (#249) 2022-06-01 16:53:58 +05:00
Kai Wagner f046df0351
Merge pull request #246 from nastena1606/PG-432-Fix-doc-GH-action-1
PG-432 Fixed branch name of a  GH action
2022-06-01 10:55:08 +02:00
Anastasia Alexadrova ce9eca0fc6 PG-432 Fixed branch name of a GH action
modified:   .github/workflows/doc-build.yml
2022-06-01 11:21:03 +03:00
Ibrar Ahmed 8330ecdaf2
README Update. (#244)
Co-authored-by: Ibrar Ahmed <“ibrar.ahmed@percona.com”>
2022-05-26 15:04:13 -04:00
Ibrar Ahmed 4a2dd52bc0
README Update. (#243)
Update the coverage badge repo.

Co-authored-by: Ibrar Ahmed <“ibrar.ahmed@percona.com”>
2022-05-26 14:03:39 -04:00
Ibrar Ahmed 8c8773fd17
Merge pull request #239 from capri1989/PG-420
PG-420: PGSM-1.0.1 release notes
2022-05-26 21:38:23 +05:00
Kai Wagner 8586816194
PG-424: bump version to 1.0.1 (#235)
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-25 11:43:11 -04:00
Kai Wagner c6f3e76310
Merge pull request #236 from ibrarahmad/REL1_0_STABLE
PG-382: Adjust the maximum value for histogram buckets.
2022-05-25 17:05:15 +02:00
Kai Wagner de9a915a97 PG-420: PGSM-1.0.1 release notes
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-25 15:40:02 +02:00
Kai Wagner 1ea4fc1454
Merge pull request #238 from capri1989/stable-PG-375
PG-375: only run code coverage test on merge
2022-05-25 13:24:20 +02:00
Kai Wagner 6d2a81ebdd PG-375: only run code coverage test on merge
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-25 12:04:45 +02:00
Ibrar Ahmed f60d3422df PG-382: Adjust the maximum value for histogram buckets.
There was no maximum limit set for the number of maximum histograms
bucket, which can lead to a crash in case of higher value.

PG-382: Adjust the maximum value for histogram buckets.

Fix the regression issue for PostgreSQL-12.

PG-382: Adjust the maximum value for histogram buckets.

Fix the TAP test cases.
2022-05-24 17:15:03 +00:00
Kai Wagner cc70b571ae
Merge pull request #233 from ibrarahmad/REL1_0_STABLE
PG-417: Replace 'CREATE OR REPLACE' with 'CREATE' for extension.
2022-05-23 13:24:08 +02:00
Ibrar Ahmed c94f264911
Merge pull request #228 from capri1989/DISTPG-427
DISTPG-427: replaced return with goto exit to not break other extensions
2022-05-22 10:03:01 +05:00
Ibrar Ahmed 1b995c768d PG-417: Replace 'CREATE OR REPLACE' with 'CREATE' for extension.
While analyzing the pg_stat_monitor installation scripts I found several
vulnerabilities. pg_stat_monitor uses CREATE OR REPLACE to install its
functions which is a security hazard. An attacker can precreate the functions
have a superuser install the extension and after installation the attacker
can switch out the function with a malicious version since he would still
be the owner of the function. Instead of CREATE OR REPLACE the installation
script should use plain CREATE to prevent this attack.

For reference
https://www.postgresql.org/docs/current/extend-extensions.html#EXTEND-EXTENSIONS-SECURITY
https://github.com/timescale/pgspot
2022-05-22 03:49:03 +00:00
Kai Wagner 741a2760c1
Merge pull request #229 from capri1989/PG-412
PG-412: added 'Get engaged' to the welcome page
2022-05-18 14:08:34 +02:00
Kai Wagner 8f87bf8e7a PG-412: added 'Get engaged' to the welcome page
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-17 13:10:42 +02:00
Kai Wagner 5abd8bb3a7 DISTPG-427: replaced return with goto exit to not break other extensions
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-16 15:00:01 +02:00
Anastasia Alexandrova a43dc879f9
PG-411 Updated the list of primary keys (#222)
modified:   docs/USER_GUIDE.md
2022-05-10 23:06:26 +05:00
Ibrar Ahmed 4f12ae35b5
Merge pull request #214 from capri1989/REL1_0_STABLE
PG-365: bump version in META.json file to the latest release
2022-05-07 01:09:43 +05:00
Kai Wagner 455d39dbf4
Merge pull request #219 from Naeem-Akhter/PG-384
PG-384: Fix coverall.io badge on REL1_0_STABLE branch in PGSM repo.
2022-05-05 15:33:31 +02:00
Naeem Akhter 6224442f12 PG-384: Fix coverall.io badge on REL1_0_STABLE branch in PGSM repo.
This will make sure that coverall.io stats are reflected as REL1_0_STABLE branch.
2022-05-04 18:45:40 +05:00
Kai Wagner 406107bdbc
Merge pull request #216 from nastena1606/PG-407-Doc-Add-404-1.0.0
PG-407 Added a 404 page to docs
2022-05-04 08:25:37 +02:00
Anastasia Alexadrova d1282620ea PG-407 Added a 404 page to docs
new file:   docs/overrides/404.html
	modified:   mkdocs.yml
2022-05-03 16:39:55 +02:00
Kai Wagner 56833b428f PG-365: bump version in META.json file to the latest release
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-03 12:11:26 +02:00
Kai Wagner d26a5a3faf
Merge pull request #212 from capri1989/REL1_0_STABLE
PG-366 remove beta release warning from README.md
2022-05-03 09:37:03 +02:00
Kai Wagner 5237f8afe2 PG-366 remove beta release warning from README.md
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-02 13:41:41 +02:00
Kai Wagner 94df17d5c1
Merge pull request #211 from nastena1606/PG-387-Release-notes-1.0.0-GA
PG-387 Release note for GA release
2022-05-02 13:37:55 +02:00
Anastasia Alexadrova 94c231ae61 PG-387 Release note for GA release
modified:   docs/RELEASE_NOTES.md
2022-05-02 11:51:50 +02:00
EvgeniyPatlan d3e334701e
Merge pull request #210 from EvgeniyPatlan/REL1_0_STABLE
PG-7 add ubuntu22 support
2022-04-29 13:40:32 +03:00
Evgeniy Patlan f09643f592 PG-7 add ubuntu22 support 2022-04-29 13:33:07 +03:00
Ibrar Ahmed 34fe8ec4b1
Merge pull request #206 from nastena1606/PG-358-Doc-data-display-by-PGSS-PGSM-RC2
PG-358 Documented block and WAL data display
2022-04-21 23:18:17 +05:00
Ibrar Ahmed 2721148f71
Merge pull request #207 from ibrarahmad/REL1_0_STABLE
PG-380: Bump version to 1.0.0.
2022-04-21 23:17:10 +05:00
Ibrar Ahmed b99e1018af PG-380: Bump version to 1.0.0. 2022-04-20 07:44:11 +00:00
Lenz Grimmer 9fd4cdaae0
Merge pull request #205 from nastena1606/PG-368-Doc-1.0.0-version
Pg 368 doc 1.0.0 version
2022-04-14 08:10:14 +00:00
Lenz Grimmer 593ed88faa
Merge pull request #203 from nastena1606/PG-371-Doc-Release-notes-RC2-update 2022-04-14 08:09:45 +00:00
Anastasia Alexadrova acc411146d PG-368 Amended GH action for 1.0.x version 2022-04-14 09:02:03 +03:00
Anastasia Alexadrova e8586bd096 Added requirements.txt for doc build 2022-04-13 11:47:36 +03:00
Anastasia Alexadrova f6058c9629 Added requirements.txt for doc build 2022-04-13 11:46:59 +03:00
Anastasia Alexadrova 181840cc19 PG-371 Updated RC release notes with new issues
modified:   docs/RELEASE_NOTES.md
2022-04-13 11:38:06 +03:00
Ibrar Ahmed afd2e1dac7
Merge pull request #201 from darkfronza/PG-369_fix_wal_bytes
PG-369: Fix wal_bytes values on PG <= 12.
2022-04-12 17:05:43 +05:00
Ibrar Ahmed 75acfbb8d5
Merge pull request #199 from nastena1606/PG-344-Doc-extension-order-for-PG14-RC2
PG-344 Described the extensions behavior for collecting data depending on order
2022-04-12 16:40:40 +05:00
Ibrar Ahmed 9b05dac3e6
Merge pull request #198 from nastena1606/PG-359-Doc-pgsm_track-RC2
PG-359 Doc - Update pg_stat_monitor_settings view with new options (RC2)
2022-04-12 16:40:05 +05:00
Ibrar Ahmed 7e829cb254
Merge pull request #197 from nastena1606/PG-353-Release-notes-RC2
PG-353 Release notes RC2
2022-04-12 16:39:48 +05:00
Diego Fronza 409f384ce8 PG-369: Fix wal_bytes values on PG <= 12.
Similar to pg_stat_statements, pg_stat_monitor tracks wal data metrics
since PostgreSQL 13, the problem was that for PostgreSQL versions 11 and
12 we left the WalUsage variable declared in the stack unitialized,
thus leading to garbage values.

Fixed the problem by ignoring the WalUsage variable value for PG <= 12.
2022-04-11 14:20:43 -03:00
Ibrar Ahmed 1ed35c648a
Merge pull request #200 from nastena1606/PG-364-Align-doc-structure-with-main
PG-364 Aligned docs structure with main
2022-04-08 11:11:12 -07:00
Anastasia Alexadrova c5dd547619 PG-364 Aligned docs structure with main
Changed the GH action to buid a separate doc version, 1.0.x stable, from REL1_0_0 branch
2022-04-06 15:05:20 +03:00