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

style: more intention-revealing microservice monitoring setup #1240

Merged
merged 2 commits into from
Apr 3, 2023

Conversation

levb
Copy link
Contributor

@levb levb commented Mar 27, 2023

Summary

Refactored the code for setting up the monitoring verb handlers for microservices. Made the naming more intention-revealing, the code more table-driven.

NOTE: This is my first PR to this repo, I am filing it largely for learning the process.

@levb levb requested a review from piotrpio March 27, 2023 19:10
@coveralls
Copy link

coveralls commented Mar 27, 2023

Coverage Status

Coverage: 85.141%. Remained the same when pulling 9d2e03a on lev-style into 9f57f78 on main.

Copy link
Collaborator

@piotrpio piotrpio left a comment

Choose a reason for hiding this comment

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

Really good changes! Just one nit, other than that looks great.

micro/service.go Outdated Show resolved Hide resolved
@levb levb requested a review from piotrpio March 30, 2023 12:20
Copy link
Collaborator

@piotrpio piotrpio left a comment

Choose a reason for hiding this comment

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

LGTM

@piotrpio piotrpio merged commit 8de687a into main Apr 3, 2023
@piotrpio piotrpio mentioned this pull request May 23, 2023
@piotrpio piotrpio deleted the lev-style branch June 12, 2023 12:06
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.

None yet

3 participants