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

Returns metrics enabled for standalone mode. #529

Merged
merged 1 commit into from
Dec 1, 2020

Conversation

artursouza
Copy link
Member

@artursouza artursouza commented Dec 1, 2020

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:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

HTTPPort int `csv:"HTTP PORT"`
GRPCPort int `csv:"GRPC PORT"`
AppPort int `csv:"APP PORT"`
MetricsEnabled bool `csv:"-"`
Copy link
Member Author

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.

Copy link
Member Author

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.

Copy link
Member

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
Copy link

codecov bot commented Dec 1, 2020

Codecov Report

Merging #529 (46f8f18) into master (a60221e) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            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              
Impacted Files Coverage Δ
pkg/standalone/list.go 8.97% <0.00%> (-0.62%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a60221e...46f8f18. Read the comment docs.

tcnghia
tcnghia previously approved these changes Dec 1, 2020
HTTPPort int `csv:"HTTP PORT"`
GRPCPort int `csv:"GRPC PORT"`
AppPort int `csv:"APP PORT"`
MetricsEnabled bool `csv:"-"`
Copy link
Member

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

@artursouza
Copy link
Member Author

Done. Please, approve again.

@artursouza artursouza merged commit 378e047 into dapr:master Dec 1, 2020
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.

Show metrics setting in Configurations
3 participants