17c15e7e48
Add support for Amazon Linux 2023, bump version to 1.1.0-rc1
...
* Add support for packaging for Amazon Linux 2023
* Bump version to 1.1.0-rc1
* Tidy up the Makefile a bit
2025-10-18 01:00:30 -04:00
ab039dc412
Improve test coverage
...
* Refactor some functions to improve unit test coverage.
* Use the "coverage" module if available along with unit tests.
2025-10-08 23:53:45 -04:00
43cd162313
Refactor to make pylint happy
2025-09-23 01:12:49 -04:00
29bfd07dad
Run code through black
2025-07-14 01:58:08 -04:00
5afc940df8
Bump release version to 1.0.4
2025-07-06 03:35:00 -04:00
8fd57032e7
Update Makefile to support rc versions, bump version
...
* Support packaging RC versions for deb and rpm packages
* Bump version to 1.0.4-rc1
2025-07-06 03:28:36 -04:00
6116f4f885
Fix missing json default
2025-07-03 02:08:45 -04:00
24d1214855
Teach json how to serialize decimals
2025-07-03 01:47:06 -04:00
ea397ef889
Improve docker-related query test failure avoidance
2025-06-18 17:39:16 -04:00
ecb616f6d9
Allow retry in query tests
2025-06-18 03:23:43 -04:00
b7f731c6ac
Fix and reformat several queries
2025-06-18 03:03:34 -04:00
7c395a80fe
Add metrics for tracking cache hit ratios
2025-06-13 01:16:24 -04:00
8fe81e3ab3
Fix global variable placement
2025-06-04 12:49:35 -04:00
af3bbf7515
Bump version to 1.0.3
2025-06-03 02:00:26 -04:00
180fa31d14
Add latest version metric
...
* Add a special handler for latest version info
* Add initial latest version items/triggers to the Zabbix template
2025-06-03 01:58:44 -04:00
22ae634a87
Format code with black
2025-06-02 03:41:15 -04:00
375bf6a982
Restructure latest version code for testing
...
* Split the latest version check code into functions for unit testing
* Add initial unit tests for latest version check
2025-06-02 03:39:52 -04:00
487386a7cc
Initial work on latest version check code
...
* Add code to pull the latest supported versions of PostgreSQL from the
official RSS feed.
* TODO: Split rss parsing code into separate function for unit testing.
* TODO: Test/debug
* TODO: Add metrics to return how far behind the latest version the
current cluster is.
2025-06-01 02:44:01 -04:00
1d642d41b2
Bump version to 1.0.2
...
* Modify Makefile to extract the version from the mainscript
* Bump version to 1.0.2
2025-06-01 00:23:26 -04:00
c0e1531083
Add query test script and test mode
...
* Add a mode to test all metric queries
* Add a script to run query tests against different versions of
PostgeSQL
* Add Docker elements for query testing
* Switch to using a --config flag when specifying the config file
* Fix some metric queries
* Allow the agent address to be configured
* Allow the sslmode connection parameter to be configured
2025-05-22 14:53:25 -04:00
529bef9679
Add ability to run query tests
2025-05-18 12:52:32 -04:00
e6166d1fe3
Update version to 1.0.1
2025-05-14 00:29:09 -04:00
bffabd9c8f
Reformat python code using black
2025-05-13 01:44:47 -04:00
2afeb827ed
Improve openrc init script, add port setting
...
* Ensure the log directory exists with openrc
* Add a port setting to configure the port the agent listens on
* Switch to RealDictCursor
* Fix type for connection timeout
2025-04-19 00:07:15 -04:00
2c87a41048
Remove f-strings for python2 compatibility
2025-01-10 12:39:22 -05:00
a21a4355e5
Restructure for packaging
2025-01-08 18:34:51 -05:00