Skip to content

Conversation

@akshya96
Copy link
Contributor

@akshya96 akshya96 commented May 9, 2025

Description

What does this PR do?
Jira: https://hashicorp.atlassian.net/browse/VAULT-34684

Updates internal/counters api, client count calculation, client count FAQ

TODO only if you're a HashiCorp employee

  • Backport Labels: If this fix needs to be backported, use the appropriate backport/ label that matches the desired release branch. Note that in the CE repo, the latest release branch will look like backport/x.x.x, but older release branches will be backport/ent/x.x.x+ent.
    • LTS: If this fixes a critical security vulnerability or severity 1 bug, it will also need to be backported to the current LTS versions of Vault. To ensure this, use all available enterprise labels.
  • ENT Breakage: If this PR either 1) removes a public function OR 2) changes the signature
    of a public function, even if that change is in a CE file, double check that
    applying the patch for this PR to the ENT repo and running tests doesn't
    break any tests. Sometimes ENT only tests rely on public functions in CE
    files.
  • Jira: If this change has an associated Jira, it's referenced either
    in the PR description, commit message, or branch name.
  • RFC: If this change has an associated RFC, please link it in the description.
  • ENT PR: If this change has an associated ENT PR, please link it in the
    description. Also, make sure the changelog is in this PR, not in your ENT PR.

@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label May 9, 2025
@github-actions
Copy link

github-actions bot commented May 9, 2025

CI Results:
All Go tests succeeded! ✅

@akshya96 akshya96 marked this pull request as ready for review May 9, 2025 22:32
@akshya96 akshya96 requested review from a team as code owners May 9, 2025 22:32
@akshya96 akshya96 requested review from anwittin and scellef May 9, 2025 22:32
@github-actions
Copy link

github-actions bot commented May 9, 2025

Build Results:
All builds succeeded! ✅

| 1.16 | All | Added synced secrets as a new category in client counting
| 1.17 | All | Separated PKI ACME certificates as their own category in client counting
| 1.20 | All | Get client count endpoint response excludes the current month and any future date
| 1.20+ent | All | Actual values are returned for `new_clients` counts for the current month and they are no longer an estimate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@schavis is this formatting ok? And is it alright that we call it 1.20 and 1.20+ent?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically "ent" isn't a version. If we need to differentiate between edition and version, we should probably add a third column for version with "Community", "Enterprise", or "All".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added edition column

divyaac
divyaac previously approved these changes May 12, 2025
Copy link
Contributor

@divyaac divyaac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Please make sure to check the formatting with @schavis

Copy link
Contributor

@aslamovamir aslamovamir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some nits and clarifying questions, otherwise looks great!

akshya96 and others added 2 commits May 12, 2025 14:40
Co-authored-by: Amir Aslamov <amir.aslamov@hashicorp.com>
Co-authored-by: Amir Aslamov <amir.aslamov@hashicorp.com>
@akshya96 akshya96 requested a review from aslamovamir May 12, 2025 21:43
Copy link
Contributor

@aslamovamir aslamovamir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you for addressing the questions!

@akshya96 akshya96 added the docs label May 14, 2025
@akshya96 akshya96 merged commit eb0043b into main May 14, 2025
39 checks passed
@akshya96 akshya96 deleted the vault-34684-estimations-removal-docs branch May 14, 2025 19:37
Erfankam pushed a commit to Erfankam/vault that referenced this pull request Sep 1, 2025
…rp#30572)

* removing estimates docs

* Update website/content/docs/concepts/client-count/counting.mdx

Co-authored-by: Amir Aslamov <amir.aslamov@hashicorp.com>

* Update website/content/partials/counters-api-wait-warning.mdx

Co-authored-by: Amir Aslamov <amir.aslamov@hashicorp.com>

* Update website/content/api-docs/system/internal-counters.mdx

Co-authored-by: Amir Aslamov <amir.aslamov@hashicorp.com>

* add edition column

---------

Co-authored-by: Amir Aslamov <amir.aslamov@hashicorp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed pr/no-changelog pr/no-milestone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants