2020-12-04 07:00:02 +00:00
{
"annotations" : {
"list" : [ ]
} ,
"editable" : true ,
"gnetId" : null ,
"graphTooltip" : 0 ,
"hideControls" : false ,
2021-10-02 03:22:48 +00:00
"links" : [
{
"asDropdown" : true ,
"icon" : "external link" ,
"includeVars" : true ,
"keepTime" : true ,
"tags" : [
"loki"
] ,
"targetBlank" : false ,
"title" : "Loki Dashboards" ,
"type" : "dashboards"
}
] ,
2020-12-04 07:00:02 +00:00
"refresh" : "10s" ,
"rows" : [
{
"collapse" : false ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : {
"1xx" : "#EAB839" ,
"2xx" : "#7EB26D" ,
"3xx" : "#6ED0E0" ,
"4xx" : "#EF843C" ,
"5xx" : "#E24D42" ,
"error" : "#E24D42" ,
"success" : "#7EB26D"
} ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 10 ,
"id" : 1 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2021-10-08 03:23:48 +00:00
"expr" : "sum by (status) (\n label_replace(label_replace(rate(loki_request_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/(gateway|loki-gw|loki-gw-internal)\", route=~\"api_prom_push|loki_api_v1_push\"}[$__rate_interval]),\n \"status\", \"${1}xx\", \"status_code\", \"([0-9])..\"),\n \"status\", \"${1}\", \"status_code\", \"([a-z]+)\"))\n" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{status}}" ,
"refId" : "A" ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "QPS" ,
"tooltip" : {
2021-10-08 03:23:48 +00:00
"shared" : false ,
"sort" : 0 ,
2020-12-04 07:00:02 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 1 ,
"id" : 2 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2021-10-08 03:23:48 +00:00
"expr" : "histogram_quantile(0.99, sum by (le) (cluster_job_route:loki_request_duration_seconds_bucket:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/(gateway|loki-gw|loki-gw-internal)\", route=~\"api_prom_push|loki_api_v1_push\"})) * 1e3" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "99th Percentile" ,
"refId" : "A" ,
"step" : 10
} ,
{
2021-10-08 03:23:48 +00:00
"expr" : "histogram_quantile(0.50, sum by (le) (cluster_job_route:loki_request_duration_seconds_bucket:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/(gateway|loki-gw|loki-gw-internal)\", route=~\"api_prom_push|loki_api_v1_push\"})) * 1e3" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "50th Percentile" ,
"refId" : "B" ,
"step" : 10
} ,
{
2021-10-08 03:23:48 +00:00
"expr" : "1e3 * sum(cluster_job_route:loki_request_duration_seconds_sum:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/(gateway|loki-gw|loki-gw-internal)\", route=~\"api_prom_push|loki_api_v1_push\"}) / sum(cluster_job_route:loki_request_duration_seconds_count:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/(gateway|loki-gw|loki-gw-internal)\", route=~\"api_prom_push|loki_api_v1_push\"})" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "Average" ,
"refId" : "C" ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Latency" ,
"tooltip" : {
2021-10-08 03:23:48 +00:00
"shared" : false ,
"sort" : 0 ,
2020-12-04 07:00:02 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "ms" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
}
] ,
"repeat" : null ,
"repeatIteration" : null ,
"repeatRowId" : null ,
"showTitle" : true ,
"title" : "Frontend (cortex_gw)" ,
"titleSize" : "h6"
} ,
{
"collapse" : false ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : {
"1xx" : "#EAB839" ,
"2xx" : "#7EB26D" ,
"3xx" : "#6ED0E0" ,
"4xx" : "#EF843C" ,
"5xx" : "#E24D42" ,
"error" : "#E24D42" ,
"success" : "#7EB26D"
} ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 10 ,
"id" : 3 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2021-10-08 03:23:48 +00:00
"expr" : "sum by (status) (\n label_replace(label_replace(rate(loki_request_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/(distributor.*|loki$)\"}[$__rate_interval]),\n \"status\", \"${1}xx\", \"status_code\", \"([0-9])..\"),\n \"status\", \"${1}\", \"status_code\", \"([a-z]+)\"))\n" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{status}}" ,
"refId" : "A" ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "QPS" ,
"tooltip" : {
2021-10-08 03:23:48 +00:00
"shared" : false ,
"sort" : 0 ,
2020-12-04 07:00:02 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 1 ,
"id" : 4 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2021-10-08 03:23:48 +00:00
"expr" : "histogram_quantile(0.99, sum by (le) (cluster_job:loki_request_duration_seconds_bucket:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/(distributor.*|loki$)\"})) * 1e3" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "99th Percentile" ,
"refId" : "A" ,
"step" : 10
} ,
{
2021-10-08 03:23:48 +00:00
"expr" : "histogram_quantile(0.50, sum by (le) (cluster_job:loki_request_duration_seconds_bucket:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/(distributor.*|loki$)\"})) * 1e3" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "50th Percentile" ,
"refId" : "B" ,
"step" : 10
} ,
{
2021-10-08 03:23:48 +00:00
"expr" : "1e3 * sum(cluster_job:loki_request_duration_seconds_sum:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/(distributor.*|loki$)\"}) / sum(cluster_job:loki_request_duration_seconds_count:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/(distributor.*|loki$)\"})" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "Average" ,
"refId" : "C" ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Latency" ,
"tooltip" : {
2021-10-08 03:23:48 +00:00
"shared" : false ,
"sort" : 0 ,
2020-12-04 07:00:02 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "ms" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
}
] ,
"repeat" : null ,
"repeatIteration" : null ,
"repeatRowId" : null ,
"showTitle" : true ,
"title" : "Distributor" ,
"titleSize" : "h6"
} ,
{
"collapse" : false ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : {
"1xx" : "#EAB839" ,
"2xx" : "#7EB26D" ,
"3xx" : "#6ED0E0" ,
"4xx" : "#EF843C" ,
"5xx" : "#E24D42" ,
"error" : "#E24D42" ,
"success" : "#7EB26D"
} ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 10 ,
"id" : 5 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2021-10-08 03:23:48 +00:00
"expr" : "sum by (status) (\n label_replace(label_replace(rate(loki_request_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/(ingester.*|loki$)\", route=\"/logproto.Pusher/Push\"}[$__rate_interval]),\n \"status\", \"${1}xx\", \"status_code\", \"([0-9])..\"),\n \"status\", \"${1}\", \"status_code\", \"([a-z]+)\"))\n" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{status}}" ,
"refId" : "A" ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "QPS" ,
"tooltip" : {
2021-10-08 03:23:48 +00:00
"shared" : false ,
"sort" : 0 ,
2020-12-04 07:00:02 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 1 ,
"id" : 6 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2021-10-08 03:23:48 +00:00
"expr" : "histogram_quantile(0.99, sum by (le) (cluster_job_route:loki_request_duration_seconds_bucket:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/(ingester.*|loki$)\", route=\"/logproto.Pusher/Push\"})) * 1e3" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "99th Percentile" ,
"refId" : "A" ,
"step" : 10
} ,
{
2021-10-08 03:23:48 +00:00
"expr" : "histogram_quantile(0.50, sum by (le) (cluster_job_route:loki_request_duration_seconds_bucket:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/(ingester.*|loki$)\", route=\"/logproto.Pusher/Push\"})) * 1e3" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "50th Percentile" ,
"refId" : "B" ,
"step" : 10
} ,
{
2021-10-08 03:23:48 +00:00
"expr" : "1e3 * sum(cluster_job_route:loki_request_duration_seconds_sum:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/(ingester.*|loki$)\", route=\"/logproto.Pusher/Push\"}) / sum(cluster_job_route:loki_request_duration_seconds_count:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/(ingester.*|loki$)\", route=\"/logproto.Pusher/Push\"})" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "Average" ,
"refId" : "C" ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Latency" ,
"tooltip" : {
2021-10-08 03:23:48 +00:00
"shared" : false ,
"sort" : 0 ,
2020-12-04 07:00:02 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "ms" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
}
] ,
"repeat" : null ,
"repeatIteration" : null ,
"repeatRowId" : null ,
"showTitle" : true ,
"title" : "Ingester" ,
"titleSize" : "h6"
} ,
{
"collapse" : false ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : {
"1xx" : "#EAB839" ,
"2xx" : "#7EB26D" ,
"3xx" : "#6ED0E0" ,
"4xx" : "#EF843C" ,
"5xx" : "#E24D42" ,
"error" : "#E24D42" ,
"success" : "#7EB26D"
} ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 10 ,
"id" : 7 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2021-10-08 03:23:48 +00:00
"expr" : "sum by (status) (\n label_replace(label_replace(rate(cortex_bigtable_request_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/(ingester.*|loki$)\", operation=\"/google.bigtable.v2.Bigtable/MutateRows\"}[$__rate_interval]),\n \"status\", \"${1}xx\", \"status_code\", \"([0-9])..\"),\n \"status\", \"${1}\", \"status_code\", \"([a-z]+)\"))\n" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{status}}" ,
"refId" : "A" ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "QPS" ,
"tooltip" : {
2021-10-08 03:23:48 +00:00
"shared" : false ,
"sort" : 0 ,
2020-12-04 07:00:02 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 1 ,
"id" : 8 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2021-10-08 03:23:48 +00:00
"expr" : "histogram_quantile(0.99, sum by (le) (cluster_job_operation:cortex_bigtable_request_duration_seconds_bucket:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/(ingester.*|loki$)\", operation=\"/google.bigtable.v2.Bigtable/MutateRows\"})) * 1e3" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "99th Percentile" ,
"refId" : "A" ,
"step" : 10
} ,
{
2021-10-08 03:23:48 +00:00
"expr" : "histogram_quantile(0.50, sum by (le) (cluster_job_operation:cortex_bigtable_request_duration_seconds_bucket:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/(ingester.*|loki$)\", operation=\"/google.bigtable.v2.Bigtable/MutateRows\"})) * 1e3" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "50th Percentile" ,
"refId" : "B" ,
"step" : 10
} ,
{
2021-10-08 03:23:48 +00:00
"expr" : "1e3 * sum(cluster_job_operation:cortex_bigtable_request_duration_seconds_sum:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/(ingester.*|loki$)\", operation=\"/google.bigtable.v2.Bigtable/MutateRows\"}) / sum(cluster_job_operation:cortex_bigtable_request_duration_seconds_count:sum_rate{cluster=~\"$cluster\", job=~\"($namespace)/(ingester.*|loki$)\", operation=\"/google.bigtable.v2.Bigtable/MutateRows\"})" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "Average" ,
"refId" : "C" ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Latency" ,
"tooltip" : {
2021-10-08 03:23:48 +00:00
"shared" : false ,
"sort" : 0 ,
2020-12-04 07:00:02 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "ms" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
}
] ,
"repeat" : null ,
"repeatIteration" : null ,
"repeatRowId" : null ,
"showTitle" : true ,
"title" : "BigTable" ,
"titleSize" : "h6"
} ,
{
"collapse" : false ,
"height" : "250px" ,
"panels" : [
{
"aliasColors" : {
"1xx" : "#EAB839" ,
"2xx" : "#7EB26D" ,
"3xx" : "#6ED0E0" ,
"4xx" : "#EF843C" ,
"5xx" : "#E24D42" ,
"error" : "#E24D42" ,
"success" : "#7EB26D"
} ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 10 ,
"id" : 9 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 0 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : true ,
"steppedLine" : false ,
"targets" : [
{
2021-10-08 03:23:48 +00:00
"expr" : "sum by (status) (\n label_replace(label_replace(rate(loki_boltdb_shipper_request_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/(ingester.*|loki$)\", operation=\"WRITE\"}[$__rate_interval]),\n \"status\", \"${1}xx\", \"status_code\", \"([0-9])..\"),\n \"status\", \"${1}\", \"status_code\", \"([a-z]+)\"))\n" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "{{status}}" ,
"refId" : "A" ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "QPS" ,
"tooltip" : {
2021-10-08 03:23:48 +00:00
"shared" : false ,
"sort" : 0 ,
2020-12-04 07:00:02 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
} ,
{
"aliasColors" : { } ,
"bars" : false ,
"dashLength" : 10 ,
"dashes" : false ,
"datasource" : "$datasource" ,
"fill" : 1 ,
"id" : 10 ,
"legend" : {
"avg" : false ,
"current" : false ,
"max" : false ,
"min" : false ,
"show" : true ,
"total" : false ,
"values" : false
} ,
"lines" : true ,
"linewidth" : 1 ,
"links" : [ ] ,
"nullPointMode" : "null as zero" ,
"percentage" : false ,
"pointradius" : 5 ,
"points" : false ,
"renderer" : "flot" ,
"seriesOverrides" : [ ] ,
"spaceLength" : 10 ,
"span" : 6 ,
"stack" : false ,
"steppedLine" : false ,
"targets" : [
{
2021-10-08 03:23:48 +00:00
"expr" : "histogram_quantile(0.99, sum(rate(loki_boltdb_shipper_request_duration_seconds_bucket{cluster=~\"$cluster\", job=~\"($namespace)/(ingester.*|loki$)\", operation=\"WRITE\"}[$__rate_interval])) by (le)) * 1e3" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "99th Percentile" ,
"refId" : "A" ,
"step" : 10
} ,
{
2021-10-08 03:23:48 +00:00
"expr" : "histogram_quantile(0.50, sum(rate(loki_boltdb_shipper_request_duration_seconds_bucket{cluster=~\"$cluster\", job=~\"($namespace)/(ingester.*|loki$)\", operation=\"WRITE\"}[$__rate_interval])) by (le)) * 1e3" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "50th Percentile" ,
"refId" : "B" ,
"step" : 10
} ,
{
2021-10-08 03:23:48 +00:00
"expr" : "sum(rate(loki_boltdb_shipper_request_duration_seconds_sum{cluster=~\"$cluster\", job=~\"($namespace)/(ingester.*|loki$)\", operation=\"WRITE\"}[$__rate_interval])) * 1e3 / sum(rate(loki_boltdb_shipper_request_duration_seconds_count{cluster=~\"$cluster\", job=~\"($namespace)/(ingester.*|loki$)\", operation=\"WRITE\"}[$__rate_interval]))" ,
2020-12-04 07:00:02 +00:00
"format" : "time_series" ,
"intervalFactor" : 2 ,
"legendFormat" : "Average" ,
"refId" : "C" ,
"step" : 10
}
] ,
"thresholds" : [ ] ,
"timeFrom" : null ,
"timeShift" : null ,
"title" : "Latency" ,
"tooltip" : {
2021-10-08 03:23:48 +00:00
"shared" : false ,
"sort" : 0 ,
2020-12-04 07:00:02 +00:00
"value_type" : "individual"
} ,
"type" : "graph" ,
"xaxis" : {
"buckets" : null ,
"mode" : "time" ,
"name" : null ,
"show" : true ,
"values" : [ ]
} ,
"yaxes" : [
{
"format" : "ms" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : 0 ,
"show" : true
} ,
{
"format" : "short" ,
"label" : null ,
"logBase" : 1 ,
"max" : null ,
"min" : null ,
"show" : false
}
]
}
] ,
"repeat" : null ,
"repeatIteration" : null ,
"repeatRowId" : null ,
"showTitle" : true ,
"title" : "BoltDB Shipper" ,
"titleSize" : "h6"
}
] ,
"schemaVersion" : 14 ,
"style" : "dark" ,
2021-10-02 03:22:48 +00:00
"tags" : [
"loki"
] ,
2020-12-04 07:00:02 +00:00
"templating" : {
"list" : [
{
"current" : {
"text" : "default" ,
"value" : "default"
} ,
"hide" : 0 ,
"label" : null ,
"name" : "datasource" ,
"options" : [ ] ,
"query" : "prometheus" ,
"refresh" : 1 ,
"regex" : "" ,
"type" : "datasource"
} ,
2021-10-02 03:22:48 +00:00
{
2021-10-08 03:23:48 +00:00
"allValue" : ".+" ,
2021-10-02 03:22:48 +00:00
"current" : {
2021-10-08 03:23:48 +00:00
"selected" : true ,
"text" : "All" ,
"value" : "$__all"
2021-10-02 03:22:48 +00:00
} ,
"datasource" : "$datasource" ,
"hide" : 0 ,
2021-10-08 03:23:48 +00:00
"includeAll" : true ,
2021-10-02 03:22:48 +00:00
"label" : "cluster" ,
2021-10-08 03:23:48 +00:00
"multi" : true ,
2021-10-02 03:22:48 +00:00
"name" : "cluster" ,
"options" : [ ] ,
"query" : "label_values(loki_build_info, cluster)" ,
"refresh" : 1 ,
"regex" : "" ,
"sort" : 2 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
} ,
{
2021-10-08 03:23:48 +00:00
"allValue" : ".+" ,
2021-10-02 03:22:48 +00:00
"current" : {
2021-10-08 03:23:48 +00:00
"selected" : true ,
"text" : "All" ,
"value" : "$__all"
2021-10-02 03:22:48 +00:00
} ,
"datasource" : "$datasource" ,
"hide" : 0 ,
2021-10-08 03:23:48 +00:00
"includeAll" : true ,
2021-10-02 03:22:48 +00:00
"label" : "namespace" ,
2021-10-08 03:23:48 +00:00
"multi" : true ,
2021-10-02 03:22:48 +00:00
"name" : "namespace" ,
"options" : [ ] ,
"query" : "label_values(loki_build_info, namespace)" ,
"refresh" : 1 ,
"regex" : "" ,
"sort" : 2 ,
"tagValuesQuery" : "" ,
"tags" : [ ] ,
"tagsQuery" : "" ,
"type" : "query" ,
"useTags" : false
2020-12-04 07:00:02 +00:00
}
]
} ,
"time" : {
"from" : "now-1h" ,
"to" : "now"
} ,
"timepicker" : {
"refresh_intervals" : [
"5s" ,
"10s" ,
"30s" ,
"1m" ,
"5m" ,
"15m" ,
"30m" ,
"1h" ,
"2h" ,
"1d"
] ,
"time_options" : [
"5m" ,
"15m" ,
"1h" ,
"6h" ,
"12h" ,
"24h" ,
"2d" ,
"7d" ,
"30d"
]
} ,
"timezone" : "utc" ,
"title" : "Loki / Writes" ,
"uid" : "" ,
"version" : 0
}