-
Notifications
You must be signed in to change notification settings - Fork 198
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
Returns metrics enabled for standalone mode. #529
Conversation
pkg/standalone/list.go
Outdated
HTTPPort int `csv:"HTTP PORT"` | ||
GRPCPort int `csv:"GRPC PORT"` | ||
AppPort int `csv:"APP PORT"` | ||
MetricsEnabled bool `csv:"-"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is on purpose, so it does not pollute the stdout.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We just need this property in the Dashboard.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add this explanation into the code (comment) itself? Thanks
Codecov Report
@@ Coverage Diff @@
## master #529 +/- ##
==========================================
- Coverage 13.91% 13.86% -0.06%
==========================================
Files 27 27
Lines 1272 1277 +5
==========================================
Hits 177 177
- Misses 1065 1070 +5
Partials 30 30
Continue to review full report at Codecov.
|
pkg/standalone/list.go
Outdated
HTTPPort int `csv:"HTTP PORT"` | ||
GRPCPort int `csv:"GRPC PORT"` | ||
AppPort int `csv:"APP PORT"` | ||
MetricsEnabled bool `csv:"-"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add this explanation into the code (comment) itself? Thanks
e8e6aa8
to
46f8f18
Compare
Done. Please, approve again. |
Description
Requirement to detect metrics enabled for standalone mode in Dashboard.
Does not output new property.
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: dapr/dashboard#103
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: