Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure visibility metrics #1073

Open
wants to merge 23 commits into
base: dev
Choose a base branch
from

Conversation

omerzi
Copy link
Member

@omerzi omerzi commented Jan 14, 2025

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • All static analysis checks passed.
  • This pull request is on the dev branch.
  • I used gofmt for formatting the code before submitting the pull request.

This pull request introduces a refactor of the visibility code. The previous code was tightly coupled with the JFrog CLI Commands Count metric schema. The new code structure now allows for the reception of other metric schemas.

The decision to place the JFrog CLI schema, and potentially others in the future, within this package ensures that developers send the correct fields and schema names. This approach prevents the receipt of incorrect values that may arise from external inputs.

@omerzi omerzi added the improvement Automatically generated release notes label Jan 15, 2025
@sverdlov93 sverdlov93 added the ignore for release Automatically generated release notes label Jan 15, 2025
@omerzi omerzi removed the improvement Automatically generated release notes label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore for release Automatically generated release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants