• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cybertec-postgresql / pgwatch
86%

Build:
DEFAULT BRANCH: master
Repo Added 20 Aug 2024 11:37AM UTC
Token ejuh6e6AAfSXPIriQzeASMY4rzhL8zukh regen
Build 1722 Last
Files 46
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • 1049-add-web-base-path
  • 1050-sort-presets-with-desc
  • 1110-apply-postgres-sink-schema-migrations
  • 1114-fix-upgrade
  • 1156-fix-config-upgrade
  • 1158-fix-instance_up
  • 1198-fix-yaml-race-conditions
  • 1212-pw-writer-non-block-lasterr
  • 1368-fix-YAML-folder-load
  • 1412-fix-deadlock-in-batch
  • 512-add-arm64-binaries
  • 518-restructure-code-tree
  • 524-pgwatch3-ui-not-working
  • 526-fix-webui-remote-host
  • 532-fix-update-metrics-in-postgres
  • 547-metric-docs
  • 553-fix-docker-demo
  • 554-fix-postgres-resolver
  • 557-replace-no-helper-functions-with-create-helpers-command-line-option
  • 562_fix_docker_demo
  • 567-howto_metrics_db_bootstrap
  • 594-sources-are-not-updated-from-config
  • 611-add-readiness-liveness-endpoints
  • 612-masking-passwords-in-pgwatch-logs
  • 622-ensure-partition-metric-time-error
  • 625-pgbouncer-could-not-init-connection
  • 644-fix-update-metric
  • 649-fix-edb
  • 664-fix-db-config-add-metric
  • 675-fix-postgres-discovery-for-quoted-names
  • 730-fix-pgpool
  • 749-fix-prometheus-scrapping
  • 756-m-option-cannot-use-directory-path
  • 759-fix-instance-up-metric
  • 764_improve_reco_metrics
  • 766-nil-pointer-dereference
  • 786-detach-deleted-partitions
  • 786_optimize_pgsink_maintenance
  • 792-add-default-group
  • 792-fix-group-cmdopts
  • 821-improve-batching-delay-description
  • 843-fix-no-groups
  • 879-fix-docker-compose-docs
  • 890-unblock-db-resolve
  • 908-panic-copy-postgres-sink
  • 958-retention-as-interval
  • 958-variable-partition-intervals
  • 961-fix-dashboard-links
  • 962-fix-patroni-resolver
  • 968_fix_nil_map_access
  • 981-fix-bitnami-hub
  • 990-fix-patroni-resolving
  • 994-maintenance-interval
  • 997-resolver-log-typo
  • add-QueryMeasurements
  • add-basic-auth-to-grpc-sink
  • add-cmd-pgwatch-tests
  • add-config-commands
  • add-dir-add-update-logic
  • add-docker-compose-pg-replication
  • add-etcd-resolver-tests
  • add-git-blame-ignore-revs
  • add-grafana-prometheus-dashboards
  • add-greanteagc
  • add-maintain_unique_sources-to-pg-sink
  • add-metric-intervals-type
  • add-metric-list-command
  • add-patroni-docker-compose
  • add-pg-sink-migration
  • add-pg18-support
  • add-plpython3u-to-timescaledb-image
  • add-prometheus-unit-tests
  • add-query-performance-pg-dashboard
  • add-settings-num-metric
  • add-source-conn
  • add-source-name-rule
  • add-source-resolve
  • add-sources-runtime-info
  • add-stat-statements-jit-metric
  • add-syncreq-to-api
  • add-systemd-service-template
  • add-tables-overview-pg-dashboard
  • add-test-for-metrics-folder
  • add-tests-for-reaper-fetchmetric
  • add-tests-for-reaper-loadmetrics
  • add-tls-to-grpc
  • add-total-index-size-panel
  • add-web-disable-cmdopt
  • add-webserver-tests
  • add-written-log-to-rpc
  • add-yamls-to-release-assets
  • adjust-reco-drop=index-metric
  • ai-policy
  • align-webui-grids
  • api-consts
  • apply-min-retention
  • backends-metrics-time-resolution
  • bad_pg_dashboards_path_demo
  • batch_metric_fetching
  • bug
  • bugfix/datarace-monitoredsources
  • bugfix/enabled-refresh
  • bugfix/global-db-overview-queryLogic
  • bugfix/logs-race
  • bugfix/recourse-leak
  • bump-Go-v1.26
  • bump-axios-1.18.1
  • bump-docker-postgres-image-to-v18
  • bump-go-1.23
  • bump-go-v1.24
  • bump-grafana-10.4.15
  • bump-grafana-v12.3
  • bump-jwt
  • bump-logo-panel
  • bump-mui-data-grid-to-v7
  • bump-nodejs
  • bump-react-19
  • bump-react-scripts
  • bump-testcontainers
  • bump-to-v5
  • bump-vite
  • bump-vite-v8
  • bump-webui-core
  • bump-yaml-webui
  • bump_go_1.25
  • check-privilege-before-local-parsing
  • chore-final-typo-sweep
  • chore-housekeeping-typos
  • claude/postgres-lock-timeout-config-01CV6RHcoPstQMGhREGnNE8r
  • clean-up-integration-tests
  • cmd-metric-tests
  • concurrent-metric-defs
  • const-sync-operations
  • convert-metric-tests
  • copilot/improve-error-reporting-metrics
  • dashboard/v13-global-database-overview
  • dashboard/v13-health-check
  • delete-dropped-tables-from-listing-table
  • dependabot/github_actions/actions/cache-5
  • dependabot/github_actions/actions/cache-6
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/checkout-7
  • dependabot/github_actions/actions/download-artifact-5
  • dependabot/github_actions/actions/download-artifact-6
  • dependabot/github_actions/actions/download-artifact-7
  • dependabot/github_actions/actions/setup-go-6
  • dependabot/github_actions/actions/setup-go-7
  • dependabot/github_actions/actions/setup-node-5
  • dependabot/github_actions/actions/setup-node-6
  • dependabot/github_actions/actions/setup-node-7
  • dependabot/github_actions/actions/setup-python-6
  • dependabot/github_actions/actions/setup-python-7
  • dependabot/github_actions/actions/stale-10
  • dependabot/github_actions/actions/upload-artifact-5
  • dependabot/github_actions/actions/upload-artifact-6
  • dependabot/github_actions/golangci/golangci-lint-action-7
  • dependabot/github_actions/golangci/golangci-lint-action-8
  • dependabot/github_actions/golangci/golangci-lint-action-9
  • dependabot/github_actions/goreleaser/goreleaser-action-7
  • dependabot/go_modules/github.com/cybertec-postgresql/pgx-migrator-1.1.0
  • dependabot/go_modules/github.com/cybertec-postgresql/pgx-migrator-1.2.0
  • dependabot/go_modules/github.com/cybertec-postgresql/pgx-migrator-1.4.0
  • dependabot/go_modules/github.com/docker/docker-28.3.3incompatible
  • dependabot/go_modules/github.com/golang-jwt/jwt/v5-5.3.0
  • dependabot/go_modules/github.com/golang-jwt/jwt/v5-5.3.1
  • dependabot/go_modules/github.com/jackc/pgx/v5-5.10.0
  • dependabot/go_modules/github.com/jackc/pgx/v5-5.7.0
  • dependabot/go_modules/github.com/jackc/pgx/v5-5.7.1
  • dependabot/go_modules/github.com/jackc/pgx/v5-5.7.2
  • dependabot/go_modules/github.com/jackc/pgx/v5-5.7.3
  • dependabot/go_modules/github.com/jackc/pgx/v5-5.7.4
  • dependabot/go_modules/github.com/jackc/pgx/v5-5.7.5
  • dependabot/go_modules/github.com/jackc/pgx/v5-5.7.6
  • dependabot/go_modules/github.com/jackc/pgx/v5-5.8.0
  • dependabot/go_modules/github.com/jackc/pgx/v5-5.9.1
  • dependabot/go_modules/github.com/jackc/pgx/v5-5.9.2
  • dependabot/go_modules/github.com/pashagolub/pgxmock/v4-4.3.0
  • dependabot/go_modules/github.com/pashagolub/pgxmock/v4-4.5.0
  • dependabot/go_modules/github.com/pashagolub/pgxmock/v4-4.6.0
  • dependabot/go_modules/github.com/pashagolub/pgxmock/v4-4.7.0
  • dependabot/go_modules/github.com/pashagolub/pgxmock/v4-4.8.0
  • dependabot/go_modules/github.com/pashagolub/pgxmock/v4-4.9.0
  • dependabot/go_modules/github.com/prometheus/client_golang-1.20.3
  • dependabot/go_modules/github.com/prometheus/client_golang-1.20.4
  • dependabot/go_modules/github.com/prometheus/client_golang-1.20.5
  • dependabot/go_modules/github.com/prometheus/client_golang-1.21.0
  • dependabot/go_modules/github.com/prometheus/client_golang-1.21.1
  • dependabot/go_modules/github.com/prometheus/client_golang-1.22.0
  • dependabot/go_modules/github.com/prometheus/client_golang-1.23.0
  • dependabot/go_modules/github.com/prometheus/client_golang-1.23.1
  • dependabot/go_modules/github.com/prometheus/client_golang-1.23.2
  • dependabot/go_modules/github.com/prometheus/client_golang-1.24.0
  • dependabot/go_modules/github.com/prometheus/client_golang-1.24.1
  • dependabot/go_modules/github.com/sethvargo/go-retry-0.4.0
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.24.10
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.24.11
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.24.12
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.24.8
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.24.9
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.25.1
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.25.10
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.25.11
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.25.12
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.25.2
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.25.3
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.25.4
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.25.5
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.25.6
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.25.7
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.25.8
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.25.9
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.26.1
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.26.2
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.26.3
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.26.4
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.26.5
  • dependabot/go_modules/github.com/shirou/gopsutil/v4-4.26.6
  • dependabot/go_modules/github.com/sirupsen/logrus-1.9.4
  • dependabot/go_modules/github.com/stretchr/testify-1.10.0
  • dependabot/go_modules/github.com/stretchr/testify-1.11.0
  • dependabot/go_modules/github.com/stretchr/testify-1.11.1
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.34.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.35.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.36.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.37.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.38.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.39.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.40.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.41.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.42.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go-0.43.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go/modules/etcd-0.39.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go/modules/etcd-0.40.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go/modules/etcd-0.41.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go/modules/etcd-0.42.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go/modules/etcd-0.43.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go/modules/postgres-0.34.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go/modules/postgres-0.35.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go/modules/postgres-0.36.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go/modules/postgres-0.37.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go/modules/postgres-0.38.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go/modules/postgres-0.39.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go/modules/postgres-0.40.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go/modules/postgres-0.41.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go/modules/postgres-0.42.0
  • dependabot/go_modules/github.com/testcontainers/testcontainers-go/modules/postgres-0.43.0
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.5.16
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.5.17
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.5.18
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.5.19
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.5.20
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.5.21
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.6.0
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.6.1
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.6.10
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.6.11
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.6.12
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.6.13
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.6.2
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.6.3
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.6.4
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.6.5
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.6.6
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.6.7
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.6.8
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.6.9
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.7.0
  • dependabot/go_modules/go.etcd.io/etcd/client/v3-3.7.1
  • dependabot/go_modules/go.etcd.io/etcd/server/v3-3.6.0
  • dependabot/go_modules/go.etcd.io/etcd/server/v3-3.6.1
  • dependabot/go_modules/go.etcd.io/etcd/server/v3-3.6.2
  • dependabot/go_modules/go.etcd.io/etcd/server/v3-3.6.3
  • dependabot/go_modules/go.uber.org/zap-1.27.1
  • dependabot/go_modules/go.uber.org/zap-1.28.0
  • dependabot/go_modules/golang.org/x/crypto-0.31.0
  • dependabot/go_modules/golang.org/x/crypto-0.45.0
  • dependabot/go_modules/google.golang.org/grpc-1.74.2
  • dependabot/go_modules/google.golang.org/grpc-1.75.0
  • dependabot/go_modules/google.golang.org/grpc-1.75.1
  • dependabot/go_modules/google.golang.org/grpc-1.76.0
  • dependabot/go_modules/google.golang.org/grpc-1.77.0
  • dependabot/go_modules/google.golang.org/grpc-1.78.0
  • dependabot/go_modules/google.golang.org/grpc-1.79.0
  • dependabot/go_modules/google.golang.org/grpc-1.79.1
  • dependabot/go_modules/google.golang.org/grpc-1.79.2
  • dependabot/go_modules/google.golang.org/grpc-1.79.3
  • dependabot/go_modules/google.golang.org/grpc-1.80.0
  • dependabot/go_modules/google.golang.org/grpc-1.81.0
  • dependabot/go_modules/google.golang.org/grpc-1.81.1
  • dependabot/go_modules/google.golang.org/grpc-1.82.0
  • dependabot/go_modules/google.golang.org/grpc-1.82.1
  • dependabot/go_modules/google.golang.org/protobuf-1.36.10
  • dependabot/go_modules/google.golang.org/protobuf-1.36.11
  • dependabot/go_modules/google.golang.org/protobuf-1.36.7
  • dependabot/go_modules/google.golang.org/protobuf-1.36.8
  • dependabot/go_modules/google.golang.org/protobuf-1.36.9
  • dependabot/go_modules/src/github.com/prometheus/client_golang-1.20.1
  • dependabot/go_modules/src/github.com/prometheus/client_golang-1.20.2
  • dependabot/go_modules/src/github.com/testcontainers/testcontainers-go-0.33.0
  • dependabot/go_modules/src/github.com/testcontainers/testcontainers-go/modules/postgres-0.33.0
  • dependabot/npm_and_yarn/internal/webui/ajv-6.14.0
  • dependabot/npm_and_yarn/internal/webui/axios-1.12.0
  • dependabot/npm_and_yarn/internal/webui/axios-1.13.5
  • dependabot/npm_and_yarn/internal/webui/axios-1.15.0
  • dependabot/npm_and_yarn/internal/webui/axios-1.15.2
  • dependabot/npm_and_yarn/internal/webui/axios-1.16.0
  • dependabot/npm_and_yarn/internal/webui/axios-1.18.0
  • dependabot/npm_and_yarn/internal/webui/axios-1.7.4
  • dependabot/npm_and_yarn/internal/webui/axios-1.8.2
  • dependabot/npm_and_yarn/internal/webui/babel/core-7.29.7
  • dependabot/npm_and_yarn/internal/webui/babel/helpers-7.26.10
  • dependabot/npm_and_yarn/internal/webui/babel/runtime-7.26.10
  • dependabot/npm_and_yarn/internal/webui/cross-spawn-7.0.6
  • dependabot/npm_and_yarn/internal/webui/express-4.21.0
  • dependabot/npm_and_yarn/internal/webui/flatted-3.4.2
  • dependabot/npm_and_yarn/internal/webui/follow-redirects-1.16.0
  • dependabot/npm_and_yarn/internal/webui/form-data-4.0.6
  • dependabot/npm_and_yarn/internal/webui/http-proxy-middleware-2.0.7
  • dependabot/npm_and_yarn/internal/webui/http-proxy-middleware-2.0.9
  • dependabot/npm_and_yarn/internal/webui/js-yaml-4.2.0
  • dependabot/npm_and_yarn/internal/webui/js-yaml-4.3.0
  • dependabot/npm_and_yarn/internal/webui/lodash-4.17.23
  • dependabot/npm_and_yarn/internal/webui/nanoid-3.3.8
  • dependabot/npm_and_yarn/internal/webui/node-forge-1.3.2
  • dependabot/npm_and_yarn/internal/webui/picomatch-4.0.4
  • dependabot/npm_and_yarn/internal/webui/postcss-8.5.12
  • dependabot/npm_and_yarn/internal/webui/rollup-2.79.2
  • dependabot/npm_and_yarn/internal/webui/vite-7.3.2
  • dependabot/npm_and_yarn/internal/webui/vite-8.0.16
  • dependabot/npm_and_yarn/internal/webui/webpack-5.94.0
  • dependabot/npm_and_yarn/internal/webui/yaml-2.8.3
  • dependabot/npm_and_yarn/src/webui/micromatch-4.0.8
  • deprecate-configured-dbs
  • deprecate-convert_metrics
  • deprecate-direct-os-stats
  • deprecate-realtime-metrics
  • deprecate-stat-stmt-panels
  • deprecate_db_stats_aurora
  • deps/replace-bitnami-images
  • disable-web-ui
  • docker-compose-readme
  • docker-compose-tweaks
  • docker-demo-tweaks
  • docker-restructure
  • docs-devel-gha
  • docs-sinks-typos
  • docs-versioning
  • drop-v13-sqls
  • dsm-registry-allocations
  • duplicate-yaml-sources-fix
  • enhance-buffercache_by_type
  • enhance-db-overview-pg-dashboard
  • enhance-metric-form
  • fallback-logger
  • feat-drop-source-partitions
  • feat/Initsql-popup-readability-improvement
  • feat/add-single-query-details-prometheus-dashboard
  • feat/ai-copilot-tui
  • feat/ai-copilot-ui-integration
  • feat/query-linking-query-perf-analysis
  • feat/refactor-prom-01-isolated-registry
  • feat/reset-column-sizes
  • feat/reset-column-sizes-all-grids
  • feat/sql-editor-syntax-highlighting
  • feat/sql-popup-readability-improvement
  • feature/copilot-configuration
  • feature/copilot-consolidation
  • feature/copilot-go-integration
  • feature/metrics-sqls-ui
  • fetch-metric
  • fix-JSONWriter
  • fix-LogParse
  • fix-archives.format_overrides.format-option
  • fix-batching-delay
  • fix-bugs
  • fix-checkpointer-metric
  • fix-collect-data-race
  • fix-column-resize
  • fix-config-upgrade-2
  • fix-config-upgrade-loop
  • fix-dashboards-logo-links
  • fix-dashboards-missing-cybertec-panel
  • fix-datasource-id-prom-dashboards
  • fix-dbsourcereaderwriter-updatedatabase
  • fix-define-metrics-err-msg
  • fix-docker-names
  • fix-docker-volume
  • fix-docs
  • fix-duplicated-dlopen-darwin
  • fix-ensure-partition-postgres
  • fix-exec-mode
  • fix-expand-env-vars
  • fix-flag-typo-in-timescaledb-docker
  • fix-grafana-datasources
  • fix-grafana-v11-datasource
  • fix-hardcoded-epoch-consts
  • fix-health-check-dashboard
  • fix-last-recovery-check
  • fix-log-broker-hook-entry-usage
  • fix-log-message
  • fix-log-parser
  • fix-logger-fields-usage
  • fix-login-handler
  • fix-logparse-log
  • fix-max-parellel-cons-per-db
  • fix-metric-init
  • fix-metrics-data-race
  • fix-metrics-dir-logic
  • fix-mindbsize-handling
  • fix-non-latin-field
  • fix-overly-long-qrs-panel
  • fix-package-name
  • fix-partition-precreation
  • fix-pg-compose
  • fix-pg-sink-flush
  • fix-pg-v11-dashboards
  • fix-pg_buffercache-metrics
  • fix-pg_stat_file-dependencies
  • fix-pgsrc-rm
  • fix-preset-sorting
  • fix-prometheus-gauges-race
  • fix-prometheus-lazy-init
  • fix-prometheus-sink-init
  • fix-query-perf-dashboard
  • fix-query-perf-prom-dash
  • fix-reapMetricMeasurements
  • fix-revive-var-naming
  • fix-schedule-job
  • fix-shared-bf-hits-panel
  • fix-single-query-details-pg-dashboard
  • fix-sink-only-upgrade-1114
  • fix-sink-upgrade-warn
  • fix-source-ping
  • fix-source-reaper-deadlock
  • fix-source-yaml-test
  • fix-sources-migration
  • fix-src-equal
  • fix-src-update-logic
  • fix-stat-statements-metric
  • fix-table-details-dashboard
  • fix-timescaledb-compose-file
  • fix-typo
  • fix-update-srcs
  • fix-webui-password-hide
  • fix-widespread-typos
  • fix-yaml-marshal-data-loss
  • fix/1152-sync-pg-with-prom-updates
  • fix/column-resize-glitch-1242
  • fix/enabled-toggle
  • fix/flex-column-resize
  • fix/local-logparser-resume-offsets
  • fix/log-parser-offset-tracking-1089
  • fix/pgbench-script-executable
  • fix/postgres-writer-deadlock-1212
  • fix/preset-order
  • fix/remove-redundant-source-name-issue-1134
  • fix/settings-metric-numeric-values
  • fix/sql-popup-readability-1241
  • fix/sql-queries-syntax-highlighting
  • fix/stat-activity-query
  • fix/typo
  • fix/web-ui-assest-path
  • fix/yaml-robust-error-handling
  • fix_default_dashboard_path
  • fix_patroni_etcd
  • fixture/fix-pg-null-errors-on-grafana-dashboards
  • fixture/support-podman
  • fixture/update-stat-statements-dashboards-on-postgresql-v11
  • global-db-overview-v12-postgres
  • grafana-12
  • grafana-prom-health-check-add-wal-archiving-status
  • grafana-top-tables-pg-fix-null-handling
  • grafana-v12
  • grafana-v12-p2
  • grafana-v12-p3
  • handle-metric-interval-update
  • handle-sink-schemas
  • hyd/enable-postgres-partition-interval
  • hyd/introduce-detaching-for-postgresql
  • improve-dev-compose
  • improve-docker-compose
  • improve-docker-gha
  • improve-index-dashboard
  • improve-index-overview-dashboard
  • improve-index-overview-dashboard-2
  • improve-logparser
  • improve-memory-usage
  • improve-pg-query-perf-analysis-dashboard
  • improve-query-perf-prom-dash
  • improve-reco-add-index
  • improve-source-reaper-error-logging
  • improve-vacuum-panels
  • improve-webui
  • improve_change_events_metric
  • imprv-qry-perf-dshbrd
  • instance-metric-cache
  • internal-to-pkg
  • json-sink
  • jsonb-issue
  • linter-nilness
  • make-maintenance-in-plpgsql
  • master
  • mention-demo-site
  • metrics-sync
  • migrate-all-helpers-to-testutil
  • migrate-rpc-sink-to-grpc
  • migrate-webui-vite
  • misc-minor-update-to-docs
  • monitor-btree-bloat
  • move-ext-helpers-creation-to-sources
  • move-psutil-to-reaper
  • move-src-sync-to-reaper
  • move-v10-dashboards-to-contrib
  • nan-inf-float-serialization-postgres-sink
  • optimize-MeasurementEnvelope
  • packages-docs
  • parallel-source-discovery
  • parse-remote-logs
  • patch-1
  • pg-stat-autovacuum-scores
  • pg17-checkpoint-metrics
  • pgbouncer-dashboard
  • prevent-concurrent-map-rw
  • prom-dashboards/index-bloat
  • prom-refactor
  • prom-sources
  • prometheus-grafana-v11-dashboard-fixes
  • psutil-fixes
  • recreate-aurora-preset
  • refactor-FetchMetrics
  • refactor-ParseLogs
  • refactor-SourceConn-GetMetricInterval
  • refactor-TryCreateMetricsFetchingHelpers
  • refactor-TryCreateMissingExtensions
  • refactor-cmd-config
  • refactor-db-pkg
  • refactor-logparser
  • refactor-object-changes-tracking
  • refactor-prometheus-cache-to-struct
  • refactor-reco-drop-index-metric
  • refactor-recommendations
  • refactor/update_syncmetric
  • refactor_reaper
  • remove-default-group
  • remove-deprecated-db-types
  • remove-eol-grafana-v11
  • remove-metricdef-from-measurement
  • remove-metrics-from-pg-sink
  • remove-reaper-consts
  • remove-source-issuperuser
  • remove-undersized-map
  • remove_host_config
  • remove_source_name
  • rename-batching-delay
  • renormalize
  • reorder-health-check-panel
  • replace-configmap-arg
  • rest-compliant-entpoints
  • rest-path-value
  • rewmove-unreachable-map
  • rm-host-cfg
  • simplify-pg-partitioing-scheme
  • sources-conn-tests
  • sql_text_data_source
  • test-reaper
  • test-rpc-servers
  • testcoverage_reaper
  • testing
  • tls-client
  • uid
  • update-migration-01180
  • update-readme
  • update-test-main
  • update-v12-dashboards-gallery
  • use-testutil-in-main-integration-test
  • v3-docs
  • v4
  • wal-fpi

28 Jul 2026 01:40AM UTC coverage: 86.472% (+0.4%) from 86.085%
30320966560

push

github

web-flow
[*] migrate to time-only partitioning in pg sink (#1408)

* [*] remove partitionMapMetricDbname map and simplify EnsureMetricDbnameTime to EnsureMetricTimePartsExist

* [*] rename ensure_partition_metric_dbname_time to ensure_partition_metric_time and simplify to 2-level partitioning

* [-] remove drop_source_partitions function as dbname-level partitioning is removed

* [*] update README to reflect metric-time schema instead of metric-dbname-time

* [*] update partition tests to use metric-time schema (2-level partitioning)

* Implement the migration from LIST-partitioned metric to RANGE

Metrics tables created by older versions used LIST partitioning on the dbname
column. Since we now only use RANGE partitioning by time, we need to detect and
drop any LIST-partitioned table so the standard logic can recreate it with
the new partitioning strategy.

* Fix test

* rename migration

* simplify condition

* more test fixes

* Change `--partition-interval`'s default to `1 day`

* Use `admin.drop_all_metric_tables()` in the migration

instead of the old drop-on-write behaviour

* Preserve metric data during time-only partitioning migration

* add missing `FROM` keyword

* use `tx` instead of `conn` and make sure row is always returned

* bump the number of migrations

* try not to mix outer err with in-place err just in case

* list columns explicitly for future reference

* make `suffix` a const instead of reintroducing it at each iteration

* use explicit internal var for error in `BeginFunc`

* use one multi-statement query instead of several `tx.Exec` calls

* define consts for sql queries for easy reading

* use one multi-statement query instead of several `tx.Exec` calls

* add test case for migration

* handle identifiers safely

* Continue directly after finding an already migrated table

Instead of sending 2 additional unecessary queries.

---------

Co-authored-by: Pavlo Golub <pavlo.golub@gmail.com>

97 of 116 new or added lines in 1 file covered. (83.62%)

6 existing lines in 2 files now uncovered.

4775 of 5522 relevant lines covered (86.47%)

0.99 hits per line

Relevant lines Covered
Build:
Build:
5522 RELEVANT LINES 4775 COVERED LINES
0.99 HITS PER LINE
Source Files on master
  • Tree
  • List 46
  • Changed 3
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
30320966560 master [*] migrate to time-only partitioning in pg sink (#1408) * [*] remove partitionMapMetricDbname map and simplify EnsureMetricDbnameTime to EnsureMetricTimePartsExist * [*] rename ensure_partition_metric_dbname_time to ensure_partition_metric_time... push 28 Jul 2026 01:44AM UTC web-flow github
86.47
30320457446 simplify-pg-partitioing-scheme Merge afe6c0b64 into 8755986b8 Pull #1408 28 Jul 2026 01:33AM UTC web-flow github
86.54
30236274381 dependabot/go_modules/github.com/prometheus/client_golang-1.24.1 Merge 6925af338 into 8755986b8 Pull #1473 27 Jul 2026 04:12AM UTC web-flow github
85.94
30099724138 master [+] bump `go.etcd.io/etcd/client/v3` from 3.7.0 to 3.7.1 (#1472) Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd) from 3.7.0 to 3.7.1. - [Release notes](https://github.com/etcd-io/etcd/releases) - [Commits](https://github.com/et... push 24 Jul 2026 02:11PM UTC web-flow github
86.09
30065977294 dependabot/go_modules/go.etcd.io/etcd/client/v3-3.7.1 Merge a55b82324 into 88da04ebe Pull #1472 24 Jul 2026 04:13AM UTC web-flow github
86.01
30010010505 simplify-pg-partitioing-scheme Merge af6c9c10e into 88da04ebe Pull #1408 23 Jul 2026 01:12PM UTC web-flow github
86.54
30002783922 simplify-pg-partitioing-scheme Merge 3eaed07f8 into 88da04ebe Pull #1408 23 Jul 2026 11:23AM UTC web-flow github
84.89
30001454897 simplify-pg-partitioing-scheme Merge 48c3eca07 into 88da04ebe Pull #1408 23 Jul 2026 11:03AM UTC web-flow github
85.09
30000786493 simplify-pg-partitioing-scheme Merge bb1a32da1 into 88da04ebe Pull #1408 23 Jul 2026 10:52AM UTC web-flow github
84.92
30000528018 simplify-pg-partitioing-scheme Merge af7b29658 into 88da04ebe Pull #1408 23 Jul 2026 10:49AM UTC web-flow github
85.04
See All Builds (1716)
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc