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

Move the e2e histograms code to somewhere where it can be exported #9362

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zenador
Copy link
Contributor

@zenador zenador commented Sep 22, 2024

What this PR does

Minor refactor of integration/util.go to separate concerns more cleanly, moving the e2e histograms code to its own package, which will allow us to export it without exporting a lot of other unnecessary code.

Which issue(s) this PR fixes or relates to

N/A

Checklist

  • Tests updated.
  • Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • about-versioning.md updated with experimental features.

None as these are minor, non-user-facing changes.

@zenador zenador requested a review from a team as a code owner September 22, 2024 17:49
Copy link
Contributor

@narqo narqo left a comment

Choose a reason for hiding this comment

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

(nit) On nitpicking side of things, maybe we can name the new package e2eseries. I don't think it's worth it to have a dedicated E2E package of a single *.go file per-series type, should we ever add more such helpers.

Works for me otherwise 🔥

@@ -0,0 +1,142 @@
// SPDX-License-Identifier: AGPL-3.0-only
//go:build requires_docker
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this package still need this go:build directive?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants