Skip to content

protectedts: add metrics for stored protected timestamp state #104159

Description

@arulajmani

Describe the problem

In a recent support escalation (https://github.com/cockroachlabs/support/issues/2335) we found ourselves wanting metrics related to protected timestamp storage. In our case, all we wanted was a counter to track protected timestamps as they're set/removed. There's a more general TODO from @ajwerner1 about this, that we should address:

// TODO(ajwerner): Add metrics.

Jira issue: CRDB-28378

Footnotes

  1. Using this as an opportunity to unapologetically spam your mentions Andrew.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)E-easyEasy issue to tackle, requires little or no CockroachDB experienceO-supportWould prevent or help troubleshoot a customer escalation - bugs, missing observability/tooling, docsP-3Issues/test failures with no fix SLAT-kvKV Teamtarget-release-26.2.0v26.2.0-prerelease

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions