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

Refactor labels used in realtime package #167

Closed
wants to merge 1 commit into from
Closed

Refactor labels used in realtime package #167

wants to merge 1 commit into from

Conversation

mikelorant
Copy link
Contributor

Previously, each metric had a static list of labels to be applied. By changing this to a variable, we can now define a default set of labels plus any extra labels.

These changes are preparation work for introducing a feature allowing for the removal of the datacenter label.

@mikelorant
Copy link
Contributor Author

@leklund Taking a different approach of smaller pull requests working towards the feature of being able to remove the datacenter label. This should significantly help with reducing the size of the next pull request and hopefully speed up the approval process.

Previously, each metric had a static list of labels to be applied. By
changing this to a variable, we can now define a default set of labels
plus any extra labels.

These changes are preparation work for introducing a feature allowing
for the removal of the `datacenter` label.

Signed-off-by: Michael Lorant <michael.lorant@nine.com.au>
@mikelorant
Copy link
Contributor Author

If you are happy with these results, I will put up 2 more pull requests to refactor the domain and origin packages to use the same approach.

@mikelorant
Copy link
Contributor Author

Branches for:

@leklund leklund self-assigned this May 20, 2024
@leklund
Copy link
Member

leklund commented May 29, 2024

@mikelorant This can be closed, correct?

@mikelorant
Copy link
Contributor Author

Closing this one as an alternative approach was taken in #169.

@mikelorant mikelorant closed this May 29, 2024
@mikelorant mikelorant deleted the refactor/labels branch May 29, 2024 22:46
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