Skip to content

Add db_primary_wal_cached_count and db_replica_wal_cached_count metrics

Nikola Milojevic requested to merge 333777-add-cached-wal-count-metric into master

What does this MR do?

This MR adds:

  • db_primary_wal_cached_count- this metric will show the number of cached write-ahead log location calls executed on the primary database
  • db_replica_wal_cached_count - this metric will show the number of cached write-ahead log location calls executed on the replica database

It will change:

  • db_primary_wal_count - it will show the total number of WAL queries executed on the primary database, including the caching ones
  • db_replica_wal_count - it will show the total number of WAL queries executed on the replica database, including the caching ones

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #333777 (closed)

Edited by Alexandru Croitor

Merge request reports