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

feat(kuma-cp) add chart for L7 metrcics #1786

Merged
merged 2 commits into from
Apr 9, 2021
Merged

feat(kuma-cp) add chart for L7 metrcics #1786

merged 2 commits into from
Apr 9, 2021

Conversation

lobkovilya
Copy link
Contributor

Summary

Kuma Dataplane

image

  • Latency

    sum(histogram_quantile(0.99, rate(envoy_cluster_upstream_rq_time_bucket{mesh="$mesh",envoy_cluster_name=~"localhost_.*",dataplane="$dataplane"}[1m])))
    
  • Traffic

    sum(rate(envoy_cluster_upstream_rq_total{mesh="$mesh",envoy_cluster_name=~"localhost_.*",dataplane="$dataplane"}[1m]))
    
    sum(rate(envoy_cluster_upstream_rq_total{mesh="$mesh",dataplane="$dataplane",envoy_cluster_name!~"localhost_.*", envoy_cluster_name!="kuma_envoy_admin"}[1m]))
    
  • Status codes

    sum(rate(envoy_cluster_external_upstream_rq_xx{mesh="$mesh",dataplane="$dataplane", envoy_cluster_name=~"localhost_.*"}[1m])) by (envoy_response_code_class)
    
    sum(rate(envoy_cluster_external_upstream_rq_xx{mesh="$mesh",dataplane="$dataplane", envoy_cluster_name!~"localhost_.*", envoy_cluster_name!="kuma_envoy_admin"}[1m])) by (envoy_response_code_class)
    

Kuma Service to Service

image

  • Latency

    max(histogram_quantile(0.99, rate(envoy_cluster_upstream_rq_time_bucket{kuma_io_service="$source_service",mesh="$mesh",envoy_cluster_name="$destination_cluster"}[1m])))
    
  • Traffic

     sum(rate(envoy_cluster_upstream_rq_total{mesh="$mesh",kuma_io_service="$source_service", envoy_cluster_name="$destination_cluster"}[1m]))
    
  • Status codes

    sum(rate(envoy_cluster_external_upstream_rq_xx{mesh="$mesh",kuma_io_service="$source_service", envoy_cluster_name="$destination_cluster"}[1m])) by (envoy_response_code_class)
    

Full changelog

  • new HTTP row for Kuma Dataplane dashboard
  • new HTTP row for Kuma Service to Service dashboard

Issues resolved

Fix #XXX

Documentation

Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
Signed-off-by: Ilya Lobkov <ilya.lobkov@konghq.com>
@lobkovilya lobkovilya requested a review from a team as a code owner April 8, 2021 19:22
@lobkovilya lobkovilya merged commit 20ef067 into master Apr 9, 2021
@lobkovilya lobkovilya deleted the feat/grafana-l7 branch April 9, 2021 06:08
mergify bot pushed a commit that referenced this pull request Apr 9, 2021
nickolaev pushed a commit that referenced this pull request Apr 9, 2021
(cherry picked from commit 20ef067)

Co-authored-by: Ilya Lobkov <ilya.lobkov@konghq.com>
austince pushed a commit that referenced this pull request Apr 9, 2021
Signed-off-by: austin ce <austin.cawley@gmail.com>
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

2 participants