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

refactoring monitor code, support prometheus #1668

Merged
merged 2 commits into from Mar 11, 2020
Merged

refactoring monitor code, support prometheus #1668

merged 2 commits into from Mar 11, 2020

Conversation

 fatedier
Copy link
Owner

 @fatedier fatedier commented Feb 20, 2020

Only care about first commit. Just remove vendor codes in second commit since we use go mod instead.

 @zyfdegh
Copy link

great job, nice code

Copy link

 @kingjcy kingjcy left a comment

Choose a reason for hiding this comment

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

LGFM

if cfg. EnablePrometheus {
modelmetrics. EnablePrometheus()
}
}

Choose a reason for hiding this comment

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

Are these two interdependent? Think about using it alone?

Copy link
Owner Author

Choose a reason for hiding this comment

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

The current configuration parameters are not suitable. I have done so for the time being, which has little impact.

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