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
rafctor LookupCluster #44468
rafctor LookupCluster #44468
Conversation
) | ||
} | ||
|
||
var providerLookupClusterFailures = monitoring.NewSum( |
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.
I think Gauge is better, we can record which cluster look up failed rather than always increasing the num
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.
when to decrease the count?
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.
Please refer to envoyfilter patching metric, the sum number here is meaningless, it oculd be unlimited big
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.
For a counter, user should care about rate
or increase
.
if you are talking about pilot_envoy_filter_status
, it's disabled by default.
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.
cc @ramaraochavali , do you know why it's disabled?
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.
It is disabled because of possible performance impact. People who want will only enable it in dev envs
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.
After take a look at istio.io/pkg/monitoring
, it's impossible to reset all metrics to 0
when services or telemetries chaged.
cc @hzxuzhonghu
Please provide a description of this PR: