-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Metrics disable not working #2163
Comments
@mukundansundar , it is to be noted that this metric disable option flag is only for dapr runtime metrics. This flag will not affect dapr system metrics. So if the metrics are still emitted for runtime then this need to be fixed otherwise not. |
@mukundansundar, I verified You may need to watch the logger output to check if
appears or not. |
There may also be some clarification required as to what qualifies as a runtime/system metric. Running the hello-world quickstart with metrics disabled, I can confirm that I don't see
In addition to what appear to be more system level metrics:
It's unclear to me whether the |
@shalabhms From the previous comment it is seen that runtime metrics is not disabled as expected. |
The current implementation is not adding middleware for http and grpc. I found that Dapr still emits appchannel metrics. I made the fix to disable entire metrics by delaying metrics intiailization. in #2295 |
In what area(s)?
/area runtime
What version of Dapr?
0.11.0-rc.4
Expected Behavior
Metrics to be disabled if the configuration is added to disable it.
Actual Behavior
Metrics still visible.
Steps to Reproduce the Problem
Add configuration in either self hosted or kubernetes mode.
Run any of the quick starts with this configuration enabled
dapr.io/config
annotation for kubernetes or--config
flag for self hosted.For self hosted --- see logs for metrics server port and visit that port.
For kubernetes --- port-forward 9090 and visit localhost:9090.
RELEASE NOTE: FIX disabling metrics configuration.
The text was updated successfully, but these errors were encountered: