Releases: cybertec-postgresql/pgwatch
v5.1.0
What's Changed
[!]refactor Prometheus sink, closes #1267 by @pashagolub in #1289[+]add ARTIFICIAL INTELLIGENCE & AUTOMATION POLICY by @pashagolub in #1252[+]add links toSingle Query DetailsinQuery Perf..pg dashboard by @Bishoywadea in #1235[+]add tests forReaper.FetchMetric()by @pashagolub in #1268[+]add tests forReaper.LoadMetrics()by @pashagolub in #1266[+]add SQL syntax highlighting in metrics popup by @mohamadyasser118 in #1299[+]bumpdownload-artifactfrom 7 to 8 by @dependabot[bot] in #1255[+]bumpgopsutil/v4from 4.26.1 to 4.26.2 by @dependabot[bot] in #1263[+]bumpgrpcfrom 1.79.1 to 1.79.2 by @dependabot[bot] in #1286[+]bumpreact-router-domfrom 6.8.1 to 6.28.1 by @pashagolub in #1257[+]bumptestcontainers/testcontainers-gofrom 0.40.0 to 0.41.0 by @dependabot[bot] in #1291[+]bumpupload-artifactfrom 6 to 7 by @dependabot[bot] in #1254[+]improve missing metric reporting, closes #1125 by @Copilot in #1306[+]recreateaurorapreset by @0xgouda in #1304[+]refactorpsutilOS metric fetchers by @pashagolub in #1269[-]fixpg_buffercachemetrics by @pashagolub in #1305[-]fixwebuipanels needs refresh, fixes #1243 by @Mazen050 in #1246[-]fix exec mode for all.shfiles by @pashagolub in #1284[-]fix flag name typo in docs by @nadashaban11 in #1261[-]fix sources handling inconfig upgradeby @0xgouda in #1287[-]fix various typos by @RafayKhattak in #1302[-]makeadd-test-db.shexecutable by @Syedowais312 in #1272[-]makelastErrorsends inflush()non-blocking, closes #1212 by @pashagolub in #1265[*]clean up integration tests, fixes #1298 by @pashagolub in #1300[*]deprecateconfigured_dbsby @0xgouda in #1262[*]fix data race inlog/log_broker_hook.go, fixes #1285 by @Mazen050 in #1296[*]fix docs update grafana install steps and add yaml setup example by @kevo-1 in #1264[*]fix typos incmdopts/cmdconfig_test.goby @Mazen050 in #1290[*]ignore Coveralls errors by @pashagolub in #1253[*]improvesingle query detailspg dashboard by @Bishoywadea in #1276[*]improve log parser, closes #1295 by @0xgouda in #1294[*]improve SQL popup readability, closes #1241 by @mohamadyasser118 in #1280[*]improve tests forPostgresMetricReaderWriterby @Mahmoud-Ayman-Saleh in #1221[*]move extensions and helpers creation tosourcesby @pashagolub in #1259[*]releaselogrus.Entryimmediately inBrokerHook.Fire()by @pashagolub in #1303[*]set explicit permissions for Stale GHA workflow by @pashagolub in #1258[*]update README by @0xgouda in #1256
New Contributors
- @nadashaban11 made their first contribution in #1261
- @Syedowais312 made their first contribution in #1272
- @mohamadyasser118 made their first contribution in #1280
- @kevo-1 made their first contribution in #1264
- @RafayKhattak made their first contribution in #1302
- @Copilot made their first contribution in #1306
Full Changelog: v5.0.0...v5.1.0
What to do next?
- Star the repository
- Read the documentation
- Check out the blog
- Follow us on Linkedin
v5.0.0
pgwatch v5 introduces a major update to the PostgreSQL monitoring tool, focusing on enhanced stability, new features, and modernization. Key highlights include:
Major Changes
Schema migration support for PostgreSQL sinks, module version bump to v5, and migration of the web UI from react-scripts to Vite for improved performance and build efficiency.
New Features
Added metrics like stat_statements_jit, new Grafana panels (e.g., "Tables with the oldest non-frozen xid" and "Total index size"), support for reverse proxies on different paths, and functions like admin.maintain_unique_sources() for PostgreSQL sinks. Also includes graceful fallback for local log parsing and a new testutil package.
Improvements
Enhanced dashboards (e.g., Index Overview, Health Check), deprecation of old Stats Statements dashboards, refactoring of recommendation metrics, and better handling of configurations and logs. Minimum retention interval set to 1 hour.
Bug Fixes
Resolved issues with panel queries, data races in Prometheus sink, source config updates, logging, and more. Fixed circular dependencies in config upgrades and improved partition creation logic.
For full details, see the full changelog below.
What's Changed
[!]add schema migration support for PostgreSQL sinks, closes #1110 by @pashagolub in #1111[!]bump Go to v1.26 by @pashagolub in #1207[!]bump module version to v5 by @pashagolub in #1112[!]migrate webui fromreact-scriptsto Vite by @pashagolub in #1170[!]upgrade core webui dependencies by @pashagolub in #1237[+]addadmin.maintain_unique_sources()to Postgres sink by @pashagolub in #1100[+]addSingle Query Detailsprom dashboard, fixes #1169 by @Bishoywadea in #1179[+]addstat_statements_jitmetric by @0xgouda in #1054[+]addTables with the oldest non-frozen xidpanel by @0xgouda in #1133[+]addTotal index sizepanel toHealth Checkdashboard by @0xgouda in #1115[+]add graceful fallback for local log parsing by @0xgouda in #1109[+]add newtestutilpackage by @0xgouda in #1064[+]add popup dialogs for large fields, closes #1051 by @0xgouda in #1096[+]add support for reverse proxies on a different path, closes #1049 by @pashagolub in #1063[+]allow sink schema upgrades without --metrics/--sources, fixes #1114 by @pashagolub in #1175[+]apply admin functions migrations for v5, fixes #1180 by @0xgouda in #1181[+]bumpactions/cachefrom 4 to 5 by @dependabot[bot] in #1074[+]bumpactions/download-artifactfrom 6 to 7 by @dependabot[bot] in #1076[+]bumpactions/upload-artifactfrom 5 to 6 by @dependabot[bot] in #1075[+]bumpajvfrom 6.12.6 to 6.14.0 by @dependabot[bot] in #1220[+]bumpaxiosfrom 1.12.0 to 1.13.5 by @dependabot[bot] in #1197[+]bumpdocker.io/postgresto v18 by @pashagolub in #1102[+]bumpetcd/client/v3from 3.6.6 to 3.6.8 by @dependabot[bot] in #1080 #1205[+]bumpgolang-jwt/jwt/v5from 5.3.0 to 5.3.1 by @dependabot[bot] in #1149[+]bumpgoogle.golang.org/grpcfrom 1.77.0 to 1.78.0 by @dependabot[bot] in #1095[+]bumpgoogle.golang.org/protobuffrom 1.36.10 to 1.36.11 by @dependabot[bot] in #1077[+]bumpgoreleaser-actionfrom 6 to 7 by @dependabot[bot] in #1231[+]bumpgrpcfrom 1.78.0 to 1.79.1 by @dependabot[bot] in #1201 #1206[+]bumplodashfrom 4.17.21 to 4.17.23 in webui by @dependabot[bot] in #1139[+]bumpnode-forgefrom 1.3.1 to 1.3.2 by @dependabot[bot] in #1045[+]bumpshirou/gopsutil/v4from 4.25.10 to 4.26.1 by @dependabot[bot] in #1055 #1105 #1161[+]bumpsirupsen/logrusfrom 1.9.3 to 1.9.4 by @dependabot[bot] in #1124[+]bump Grafana image to v12.3 by @pashagolub in #1104[+]improveIndex overviewdashboard by @0xgouda in #1146[+]improveQuery Performance Analysisprom dashboard by @0xgouda in #1193[+]mentionAptinstallation option in docs. by @0xgouda in #1043[+]minor improvement toMissing Indexespanel by @0xgouda in #1129[+]more improvements toindex overviewdashboard by @0xgouda in #1154[-]add missing cybertec panels by @0xgouda in #1062[-]add missing newline inmetric print-sqloutput, fixes #1145 by @Abdelrhmansersawy in #1147[-]fixconfig upgradecircular dependency, closes #1156 by @pashagolub in #1171[-]fixDeleteOldPartitions()scheduling interval, fixes #1087 by @0xgouda in #1088[-]fixexpandEnvVars()to expandconnStrandGroupfields by @0xgouda in #1232[-]fixpgwatch_instance_upmetric for down sources, closes #1158 by @pashagolub in #1162[-]fix data race in Prometheus sink, fixes #1136 by @abhijeetsharma200 in #1140[-]fix error on using special chars in source names by @0xgouda in #1094[-]fix file leak inGetPathUnderlyingDeviceID, fixes #1185 by @Mazen050 in #1192[-]fix log parser to not re-read non-truncated files, fixes #1089 by @0xgouda in #1168[-]fix logging of cli options names by @0xgouda in #1178[-]fix panel queries inTable Detailsdashboard by @0xgouda in #1150[-]fix race condition inPrometheusWriter, fixes #1194 by @abhijeetsharma200 in #1195[-]fix recommendation dashboard panel name by @0xgouda in #1060[-]fix source config update handling by @0xgouda in #1106[-]fix sql ofShared Buffers hit pctpanel by @0xgouda in #1058[-]migrate all panels inHealth Checkdashboard to table format by @0xgouda in #1057[-]only create time partitions if needed by @0xgouda in #1127[-]pinpgwatch-metricsdata source to all panels and vars. by @df7cb in #1053[-]pinpgwatch-metricsdata source to all v11 panels and vars by @0xgouda in #1056[-]remove deprecated db types from webui, fixes #1044 by @0xgouda in #1047[-]remove sqls for pre postgres 14 versions by @0xgouda in #1123[-]resolve race conditions in YAML file operations, fixes #1198 by @pashagolub in #1209[-]return HTTP 405 for non-POST methods in login handler by @gemy26 in #1226[-]return the error fromMultiWriter.DefineMetrics(), fixes #1222 by @Mahmoud-Ayman-Saleh in #1224[*]allow Postgres sink schemas to exist before init/upgrade by @pashagolub in #1116[*]apply minimum retention interval to 1 hour by @pashagolub in #1052[*]deprecateStats Statements [Top|Visual|Search]dashboards by @0xgouda in #1131[*]don't remove\n \t \rmeta chars from query text by @0xgouda in #1142[*]drop redundant and unused admin functions by @0xgouda in #1191[*]fix typos in docs and source comments by @HIJOdelIDANII in #1204[*]ignore revive lintervar-namingwarning forapipackage by @pashagolub in #1069[*]improve Prometheus Health-check dashboard by @kmoppel in #1130[*]migrate all helpers totestutilby @0xgouda in #1071[*]monitor specified groups only, fixes #1093 by @0xgouda in #1163[*]move cache to Prometheus sink struct, closes #1176 by @abhijeetsharma200 in #1177[*]optimizePrometheusWriter.Collectlocking, fixes #1189 by @abhijeetsharma200 in #1190[*]refactorreco_add_indexmetric by @0xgouda in #1117[*]refactorreco_drop_indexmetric by @0xgouda in #1121[*]relocate% DB Totalcolumn inQuery Performance Analysisdashboard by @0xgouda in #1066[*]removefmt.Printlnfromwebservertests by @Makeepan-dev in #1218[*]remove redundantSource NamefromTables Overviewdashboard, fixes #1134 by @Mohamed-Elfardy in #1160[*]set lock_timeout via connection RuntimeParams instead of per-query transaction by @NikolayS in #1067[*]sort webui preset selection list and add descriptions, fixes #1050 by @pashagolub in #1172[*]suppressgolangci-lintvar naming warnings by @pashagolub in #1196[*]usetestutilpackage in the main integration test by @pashagolub in #1101
New Contributors
- @NikolayS made their first contribution in #1067
- @Abdelrhmansersawy made their first contribution in #1147
- @abhijeetsharma200 made their first contribution in #1140
- @Mohamed-Elfardy made their first contribution in #1160
- @HIJOdelIDANII made their first contribution in #1204
- @Mazen050 made their first contribution in #1192
- @Bishoywadea made their first contribution in #1179
- @Mahmoud-Ayman-Saleh made their first contribution in #1224
- @gemy26 made their first contribution in #1226
- @Makeepan-dev made their first contribution in #1218
Full Changelog: v4.1.0...v5.0.0
v4.1.0
Warning
pgwatch v4.1 introduced a breaking change to --retention parameter. It must be a valid Postgres interval now instead of integer value used before. So if you used, for example, --retention=90 to keep measurements for 90 days, now you must use --retention="90 days" value!
What's Changed
[!]switch to the Green Tea garbage collector by @pashagolub in #1007[+]add test patroni cluster to docker compose by @pashagolub in #993[+]allow to specify sink retention period as interval value by @pashagolub in #988[+]bumpactions/checkoutfrom 5 to 6 by @dependabot[bot] in #1035[+]bumpactions/setup-nodefrom 5 to 6 by @dependabot[bot] in #998[+]bumpactions/upload-artifactfrom 4 to 5 by @dependabot[bot] in #1000[+]bumpgo.uber.org/zapfrom 1.27.0 to 1.27.1 by @dependabot[bot] in #1034[+]bumpgolangci/golangci-lint-actionfrom 8 to 9 by @dependabot[bot] in #1017[+]bumpgoogle.golang.org/grpcfrom 1.75.1 to 1.77.0 by @dependabot[bot] in #986 #1027[+]bumpgoogle.golang.org/protobuffrom 1.36.9 to 1.36.10 by @dependabot[bot] in #979[+]bumppashagolub/pgxmock/v4from 4.8.0 to 4.9.0 by @dependabot[bot] in #987[+]bumpshirou/gopsutil/v4from 4.25.8 to 4.25.10 by @dependabot[bot] in #976 #1005[+]bumptestcontainers/testcontainers-gofrom 0.39.0 to 0.40.0 by @dependabot[bot] in #1013[+]bump Go from 1.24 to 1.25 by @pashagolub in #983[+]improve partition deletion in postgres sink, close #786 by @pashagolub in #985[+]mentiondemo.pgwatch.comin README and docs by @0xgouda in #1038[+]mentionRestartSecandTimeoutStopSecfor systemd by @kylorend3r in #1029[+]support custom configs for maintenance tasks by @0xgouda in #1018[+]support variable partition intervals in postgres sink by @0xgouda in #1012[*]updatepgbench.shandadd-test-db.shfile paths by @0xgouda in #1011[*]refactor object changes metric by @pashagolub in #984[*]misc updates to docs by @0xgouda in #1016[*]make legends consistent in "Global Database Overview" dashboard by @slardiere in #996[*]improve README by @0xgouda in #1026[*]fix maintenance task to delete entries of dropped tables by @0xgouda in #1020[*]fix column names inQuery Performance Analysisdashboard by @0xgouda in #1041[*]deprecate--direct-os-statsflag by @0xgouda in #1024[-]fix webui password hiding regex by @0xgouda in #1009[-]fix typo in source resolving log messages, fixes #997 by @pashagolub in #999[-]fix pgbouncer dashboard by @slardiere in #1002[-]fix default dashboard path inpgwatch-demoby @naub1n in #1040[-]fix bad path for pg dashboards in demo by @naub1n in #1037[-]fix aggregation of counts in v11stat-activitydashboard by @ArnaudDecatec in #1021[-]fixpgpoolandpgbouncerimage links, closes #981 by @pashagolub in #982[-]fix "could not parse ETCD node..." for patroni resolving, fixes #990 by @pashagolub in #991[-]addsourceandmetrictags to pgx traces, fixes #978 by @0xgouda in #980
New Contributors
- @slardiere made their first contribution in #996
- @ArnaudDecatec made their first contribution in #1021
- @naub1n made their first contribution in #1037
Full Changelog: v4.0.0...v4.1.0
What to do next?
- Star the repository
- Read the documentation
- Check out the blog
- Follow us on Linkedin
v4.0.0
What's New
This major release introduces several significant updates, new features, bug fixes, and enhancements
Important Changes
PostgreSQL 18 Metrics
total_XXX_timecolumns are added totable_statsmetric;read_bytes,write_bytes, andextend_bytesare added tostat_iometric;- use
pg_stat_ioforwal_statsmetric; - use
pg_ls_archive_statusdir()inarchiver_pending_countmetric; num_doneandslru_writtencolumns are added tocheckpointermetric;parallel_workers_to_launchandparallel_workers_launchedcolumns are added todb_statsmetric.
Grafana Dashboards
- New Grafana v12 dashboards have been added for both PostgreSQL and Prometheus sinks;
- Grafana v10 support is discontinued;
- New "Global Database Overview" dashboard with 26 panels, including new panels for replication, connections, and index usage (inspired by postgres.ai);
- New "Database Overview" now has 21 panels with time lag support and improved visualizations;
- New "Query Performance Analysis" dashboard with enhanced table with 17 metrics and 8 visualization panels (inspired by postgres.ai);
- New "Tables Overview" dashboard providing insights into table sizes, bloat, and index usage with treemap visualizations panels.
Metrics
- Realtime metrics have been deprecated and removed from the system.
- Metrics can now be loaded from a specified folder, allowing for better organization and management of metric definitions.
Sinks
- gRPC Sink Enhancements: Basic authentication support has been added to the gRPC sink, along with improved documentation for its usage.
Development and Contribution
- The development experience with Docker Compose has been enhanced, making it easier to set up and manage the environment.
- A new repository, pgwatch-contrib, has been created to host additional contributions and extensions for pgwatch from the community. The
rpcsubdirectory contains sample gRPC sinks implementations.
Changelog
[!]add Grafana v12 dashboards for Prometheus data source by @pashagolub in #933[!]add support for PostgreSQL v18 by @pashagolub in #903[!]deprecate realtime metrics by @pashagolub in #925[!]remove Grafana v10 dashboards due to EOL of Grafana v10 by @pashagolub in #934[!]remove obsoletedb_stats_aurorametric by @pashagolub in #930[*]add note in sizing docs about metrics returning thousands of rows by @0xgouda in #874[*]clarify the usage of docker compose, closes #879 by @pashagolub in #880[*]fixupdateSources()query parameters number by @0xgouda in #875[*]increase Postgres sink partitions to precreate from 0 to 3 by @kylorend3r in #960[*]mentionpgwatch-contrib/rpcin docs by @0xgouda in #922[*]misc minor updates to docs by @0xgouda in #871[*]removeuidfrom datasource by @smiyc in #952[*]remove hard coded metric defs from docs by @0xgouda in #870[*]update docs for metrics yaml folder configs by @0xgouda in #892[+]add "Query Performance Analysis" dashboard by @pashagolub in #916[+]add "Tables Overview" dashboard by @pashagolub in #918[+]add basic auth support to grpc sink by @0xgouda in #862[+]add docs for grpc sink by @0xgouda in #867[+]add PlantUML diagrams by @pashagolub in #926[+]add sample metrics YAML file, closes #883 by @pashagolub in #900[+]allow metrics loading from folder, closes #882 by @0xgouda in #889[+]bumpactions/checkoutfrom 4 to 5 by @dependabot[bot] in #888[+]bumpactions/download-artifactfrom 4 to 5 by @dependabot[bot] in #881[+]bumpactions/setup-gofrom 5 to 6 by @dependabot[bot] in #939[+]bumpactions/setup-nodefrom 4 to 5 by @dependabot[bot] in #936[+]bumpactions/setup-pythonfrom 5 to 6 by @dependabot[bot] in #938[+]bumpactions/stalefrom 9 to 10 by @dependabot[bot] in #937[+]bumpaxiosfrom 1.11.0 to 1.12.0 by @dependabot[bot] in #953[+]bumpdocker/dockerfrom 28.3.2 to 28.3.3 by @dependabot[bot] in #872[+]bumpgo.etcd.io/etcd/client/v3from 3.6.2 to 3.6.5 by @dependabot[bot] in #858 #868 #965[+]bumpgolang-jwt/jwt/v5from 5.2.3 to 5.3.0 by @dependabot[bot] in #876[+]bumpgoogle.golang.org/grpcfrom 1.73.0 to 1.75.1 by @dependabot[bot] in #865 #902 #950[+]bumpgoogle.golang.org/protobuffrom 1.36.6 to 1.36.9 by @dependabot[bot] in #887 #904 #948[+]bumpjackc/pgx/v5from 5.7.5 to 5.7.6 by @dependabot[bot] in #946[+]bumpprometheus/client_golangfrom 1.22.0 to 1.23.2 by @dependabot[bot] in #878 #941[+]bumpshirou/gopsutil/v4from 4.25.6 to 4.25.8 by @dependabot[bot] in #877 #923[+]bumpstretchr/testifyfrom 1.10.0 to 1.11.1 by @dependabot[bot] in #906 #912[+]bumptestcontainers/testcontainers-gofrom 0.38.0 to 0.39.0 by @dependabot[bot] in #964[+]bumpwebui/react-scriptsto v5.0.1 (pinned version) by @pashagolub in #866[+]improve "Global Database Overview" dashboard by @pashagolub in #869[+]improvechange_eventsmetric processing by @pashagolub in #932[+]improve development experience with docker compose by @pashagolub in #927[+]update docs with new v12 dashboards screenshots by @pashagolub in #943[-]do not fail on db resolve error, just log an error, fixes #890 by @pashagolub in #899[-]fix assignment to entry in nil map, fixes #968 by @pashagolub in #969[-]fix dashboard links to single query details, fixes #961 by @pashagolub in #970[-]fix Patroni resolver, fixes #962 by @pashagolub in #973[-]fix source YAML test introduced by #900 by @pashagolub in #901[-]fix weekly partition naming at year boundaries by @pashagolub in #974[-]move to next envelope in Postgres sink ifCOPYfails, fixes #908 by @pashagolub in #911[-]prevent concurrent map read and write inSourceConby @pashagolub in #971[-]removehost_configquerying fromGetSources()by @0xgouda in #863[-]remove double "git checkout" from "README.md" by @smiyc in #942[-]use proper datasource id in Prometheus dashboards by @pashagolub in #972
New Contributors
- @smiyc made their first contribution in #942
- @kylorend3r made their first contribution in #960
Full Changelog: v3.7.0...v4.0.0
v3.7.0
What's Changed
[-]monitor all sources if--groupcmdopt is omitted, fixes #843 (#847)[*]improve stat-statements Grafana v11 Postgres dashboards by @f9n in #846
Full Changelog: v3.6.0...v3.7.0
What to do next?
- Star the repository
- Read the documentation
- Check out the blog
- Follow us on Linkedin
v3.6.0
What's Changed
[+]add "default" group processing by @pashagolub in #798[+]addmeasurements writtenlog message to RPC sink by @0xgouda in #829[+]add TLS encryption to RPC channel by @0xgouda in #796[+]bumpgo.etcd.io/etcd/v3from 3.6.0 to 3.6.2 by @dependabot[bot] in #789 #837[+]bumppashagolub/pgxmock/v4from 4.7.0 to 4.8.0 by @dependabot[bot] in #806[+]bumpshirou/gopsutil/v4from 4.25.5 to 4.25.6 by @dependabot[bot] in #827[+]bumptestcontainers/testcontainers-gofrom 0.37.0 to 0.38.0 by @dependabot[bot] in #839[+]optimize the size ofMeasurementEnvelopeby @pashagolub in #793[*]excludeMetricDeffromMeasurementEnvelopeby @pashagolub in #787[*]improve--batching-delayparameter description, closes #821 by @pashagolub in #828[-]fix--groupcommand-line option, closes #792 by @pashagolub in #794[-]fixinstance_upmetric, closes #759 by @pashagolub in #791[-]fixmaster onlypostgres source shutdown due to catchedInRecoverystate logic by @0xgouda in #813[-]fixReap()method to update Recovery cache after processing the previous value by @0xgouda in #815[-]fixReap()to not requireSource.MinDbSizeMbto be >= 8 by @0xgouda in #818[-]fixSource.Equal()presets comparison, closes #830 by @0xgouda in #831[-]fix typo inreapMetricMeasurements()log message by @0xgouda in #807[-]fix JSONB null casting errors inpostgres/v11dashboards by @f9n in #838[-]fix JSONB null casting errors in "Top Tables" and "Health-check" dashboards by @kmoppel in #833[-]improve Prometheus scrapping, fixes #749 by @pashagolub in #790[-]remove unnecessary check fromFetchMetric()by @0xgouda in #808
New Contributors
Full Changelog: v3.5.0...v3.6.0
What to do next?
- Star the repository
- Read the documentation
- Check out the blog
- Follow us on Linkedin
v3.5.0
What's Changed
[+]addpprofbuild profile for debugging by @pashagolub in #779[+]bumpshirou/gopsutil/v4from 4.25.4 to 4.25.5 by @dependabot in #774[+]decrease memory allocations formetrics.MeasurementEnvelopeby @pashagolub in #768[+]define sync metric operations types as constants by @0xgouda in #781 #782[+]move sources sync to the reaper by @pashagolub in #769[+]rewriteParseLogs()with timers and eliminate extra checks by @pashagolub in #770[+]switch tojson-iterator/gofromencoding/jsonby @pashagolub in #776[*]change json sink to use one global encoder by @0xgouda in #772[*]remove metrics definitions from Postgres sink by @pashagolub in #773[*]usepgx.Rowsdirectly inDetectConfigurationChanges()by @pashagolub in #775[-]add additional checks toLogParse()by @pashagolub in #784[-]remove misleadingVOLUME /var/lib/postgresqldeclaration by @pashagolub in #780
New Contributors
Full Changelog: v3.4.0...v3.5.0
What to do next?
- Star the repository
- Read the documentation
- Check out the blog
- Follow us on Linkedin
v3.4.0
What's Changed
[+]bumpjackc/pgx/v5from 5.7.4 to 5.7.5 by @dependabot in #763[+]bumpgo.etcd.io/etcd/v3from 3.5.21 to 3.6.0 by @dependabot in #762[*]use consistent password in install docs by @df7cb in #765[-]fixdbSourcesReaderWriter.updateDatabase()to includeis_enabledby @pashagolub in #760[-]fixQueryMeasurementsnil pointer dereference, fixes #766 by @pashagolub in #767
New Contributors
Full Changelog: v3.3.0...v3.4.0
What to do next?
- Star the repository
- Read the documentation
- Check out the blog
- Follow us on Linkedin
v3.3.0
What's Changed
[+]addpgwatch source resolvecommand by @pashagolub in #723[+]add a SystemD service template by @kmoppel in #704[+]add pgpool service to docker compose files by @pashagolub in #739[+]add replication node to docker compose file by @pashagolub in #734[+]add tests forpgwatch metric printcommands by @pashagolub in #708[+]add tests forconvert_metricsutility by @pashagolub in #744[+]add tests forpgwatchby @pashagolub in #748[+]add tests forwebserverby @pashagolub in #754[+]add tests for etcd-based Patroni clusters resolver by @pashagolub in #751[+]bumpcybertec-postgresql/pgx-migratorfrom 1.0.2 to 1.2.0 by @dependabot in #695 #727[+]bumpgo.etcd.io/etcd/client/v3from 3.5.20 to 3.5.21 by @dependabot in #700[+]bumpgolang-jwt/jwtto v5.2.2 by @pashagolub in #717[+]bumpgolangci/golangci-lint-actionfrom 6 to 7 by @dependabot in #690[+]bumphttp-proxy-middlewarefrom 2.0.7 to 2.0.9 by @dependabot in #742[+]bumppashagolub/pgxmock/v4from 4.6.0 to 4.7.0 by @dependabot in #726[+]bumpprometheus/client_golangfrom 1.21.1 to 1.22.0 by @dependabot in #715[+]bumpshirou/gopsutil/v4from 4.25.2 to 4.25.4 by @dependabot in #705 #753[+]bumptestcontainers/testcontainers-gofrom 0.35.0 to 0.37.0 by @dependabot in #701 #746[+]bump Go to v1.24 by @pashagolub in #698[+]improvesourcestest coverage by @pashagolub in #721[+]use newInstanceMetricCacheimplementation in theReaperby @pashagolub in #716[+]use new concurrent metric definitions implementation by @pashagolub in #709[-]fixpgwatcg source pingcommand by @pashagolub in #718[-]fix anonymous Grafana access in Docker, fixes #724 by @iuuuuan in #725[-]fix duplicated definition of symboldlopenin #758[-]fix growing measurement cache introduced in #716 by @pashagolub in #737[-]fix log message for rows written inJSONWriterby @pashagolub in #738[-]fix--metricscommand-option description, fixes #756 in #757[-]fix Pgpool-II support, closes #730 by @pashagolub in #740[*]deprecateIsSuperusersource option by @pashagolub in #706[*]drop support for discontinued Azure Single Server by @pashagolub in #736[*]fix hard codedepoch_nsmeasurement field name by @pashagolub in #712[*]fix oldarchives.format_overrides.formatgoreleaser option by @pashagolub in #694[*]movepsutilfunctionality toreaperpackage by @pashagolub in #714[*]refactorTryCreateMetricsFetchingHelpersby @pashagolub in #743[*]remove unuseddb.GetTableColumns()by @pashagolub in #707[*]replaceMetricFetchConfigwithSourceConninFetchMetrics()by @pashagolub in #741
New Contributors
Full Changelog: v3.2.0...v3.3.0
What to do next?
- Star the repository
- Read the documentation
- Check out the blog
- Follow us on Linkedin
v3.2.0
What's Changed
[!]refactorreaperpackage andsinks.MultiWriterby @pashagolub in #667[+]addReaper.WriteMonitoredSources()andQueryMeasurents()by @pashagolub in #678[+]add migration instructions for configuration database, closes #654 by @pashagolub in #655[+]allow to add EDB Postgres under monitoring, closes #649 by @pashagolub in #650[+]bump@babel/helpersfrom 7.20.13 to 7.26.10 by @dependabot in #669[+]bump@babel/runtimefrom 7.20.13 to 7.26.10 by @dependabot in #666[+]bumpaxiosfrom 1.7.4 to 1.8.2 by @dependabot in #668[+]bumpgo.etcd.io/etcd/client/v3from 3.5.18 to 3.5.20 by @dependabot in #662 #687[+]bumpjackc/pgx/v5from 5.7.2 to 5.7.4 by @dependabot in #688 #691[+]bumppashagolub/pgxmock/v4from 4.5.0 to 4.6.0 by @dependabot in #683[+]bumpprometheus/client_golangfrom 1.20.5 to 1.21.1 by @dependabot in #656 #660[+]bumpshirou/gopsutil/v4from 4.25.1 to 4.25.2 by @dependabot in #659[+]install Grafana withaptin Docker and bump to v10.4.15 by @pashagolub in #647[*]fix typo in documentation by @mookie- in #686[*]remove deprecated reaper constants by @pashagolub in #670[*]remove obsolete unreachable map by @pashagolub in #672[*]renamesources.MonitoredDatabasetoSourceConnby @pashagolub in #671[*]replace configMap arguments with interval by @pashagolub in #674[*]updating non-functional links in docs by @shubham-j-sde in #681[*]use dark style logo by @pashagolub in #651[*]use logging source field for log parsing instead of fmt modifiers by @pashagolub in #658[-]fix adding new metric to configuration db via web UI, fixes #664 by @pashagolub in #665[-]fix connection issues for discovered quoted db names, fixes #675 by @pashagolub in #676[-]fix datasource uid for Grafana v11 dashboards by @pashagolub in #689[-]fix duplicate object key inpostgres/v11/system-stats.jsonby @AjayPawarExist in #685[-]fix linter warning "impossible condition: nil != nil" by @pashagolub in #652[-]removepg_stat_file()dependencies from metrics by @pashagolub in #677[-]remove obsoleteundersizedDBsandrecoveryIgnoredDBsmaps by @pashagolub in #673
New Contributors
- @mookie- made their first contribution in #686
- @shubham-j-sde made their first contribution in #681
- @AjayPawarExist made their first contribution in #685
Full Changelog: v3.1.0...v3.2.0
What to do next?
- Star the repository
- Read the documentation
- Check out the blog
- Follow us on Linkedin