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

Rate limit metrics #40

Merged
merged 12 commits into from Mar 22, 2022
Merged

Rate limit metrics #40

merged 12 commits into from Mar 22, 2022

Conversation

zhaohuabing
Copy link
Member

Relate issue: aeraki-mesh/aeraki#179

*_rate_limit_ok counter: requests enforced rate limiting but are not rate limited
*_rate_limit_rate_limited counter: requests are rate limited

➜  ~ aerakictl_sidecar_stats v1 meta-thrift|grep thrift|grep local_rate_limit
# TYPE envoy_meta_protocol_thrift_sample_server_meta_thrift_svc_cluster_local_local_rate_limit_ok counter
envoy_meta_protocol_thrift_sample_server_meta_thrift_svc_cluster_local_local_rate_limit_ok{} 25
# TYPE envoy_meta_protocol_thrift_sample_server_meta_thrift_svc_cluster_local_local_rate_limit_rate_limited counter
envoy_meta_protocol_thrift_sample_server_meta_thrift_svc_cluster_local_local_rate_limit_rate_limited{} 19

Signed-off-by: zhaohuabing <zhaohuabing@gmail.com>
Signed-off-by: zhaohuabing <zhaohuabing@gmail.com>
Signed-off-by: zhaohuabing <zhaohuabing@gmail.com>
Signed-off-by: zhaohuabing <zhaohuabing@gmail.com>
Signed-off-by: zhaohuabing <zhaohuabing@gmail.com>
Signed-off-by: zhaohuabing <zhaohuabing@gmail.com>
Signed-off-by: zhaohuabing <zhaohuabing@gmail.com>
Signed-off-by: zhaohuabing <zhaohuabing@gmail.com>
Signed-off-by: zhaohuabing <zhaohuabing@gmail.com>
Signed-off-by: zhaohuabing <zhaohuabing@gmail.com>
Signed-off-by: zhaohuabing <zhaohuabing@gmail.com>
Signed-off-by: zhaohuabing <zhaohuabing@gmail.com>
@zhaohuabing
Copy link
Member Author

Support tate limit metrics

Relate issue: aeraki-mesh/aeraki#179

*_rate_limit_ok counter: requests enforced rate limiting but are not rate limited
*_rate_limit_rate_limited counter: requests are rate limited

@zhaohuabing zhaohuabing merged commit 84af0f0 into master Mar 22, 2022
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

1 participant