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 metrics registry and initialization to pkg/metricsconfig #2610

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

lambdanis
Copy link
Contributor

Before, metrics registry was defined in pkg/metrics and initialization functions in pkg/metrics/metricsconfig. It make sense to keep them together and outside of pkg/metrics, which contains a library for defining metrics. Now all code related to running the metrics server sits in pkg/metricsconfig.

I took this out of #2604 to make it easier to stack PRs.

Before, metrics registry was defined in pkg/metrics and initialization
functions in pkg/metrics/metricsconfig. It make sense to keep them together and
outside of pkg/metrics, which contains a library for defining metrics. Now all
code related to running the metrics server sits in pkg/metricsconfig.

Signed-off-by: Anna Kapuscinska <[email protected]>
@lambdanis lambdanis added area/metrics Related to prometheus metrics release-note/misc This PR makes changes that have no direct user impact. labels Jun 26, 2024
@lambdanis lambdanis requested a review from a team as a code owner June 26, 2024 22:11
@lambdanis lambdanis requested a review from kevsecurity June 26, 2024 22:11
Copy link
Contributor

@kevsecurity kevsecurity left a comment

Choose a reason for hiding this comment

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

Seems 😇

@lambdanis lambdanis merged commit af54bb6 into cilium:main Jun 27, 2024
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/metrics Related to prometheus metrics release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants