7474 "fiscalYearStartMonth" : 0 ,
7575 "graphTooltip" : 0 ,
7676 "id" : null ,
77- "iteration" : 1653401831290 ,
77+ "iteration" : 1657624501089 ,
7878 "links" : [],
7979 "liveNow" : false ,
8080 "panels" : [
216216 "type" : " loki" ,
217217 "uid" : " ${DS_LOKI}"
218218 },
219- "expr" : " sum(count_over_time({job=\" flows\" , Type=\" Cortex\" , Api=\" Cortex.ServiceFabric.Service.ApiGateway.Controllers.ExecutionsController.ExecuteFlowSync\" , Tenant=~\" $Tenant\" , System=~\" $System\" , Node=~\" $Node\" , PackageName=~\" $PackageName\" , FlowName=~\" $FlowName\" , StatusCode=~\" $StatusCode\" , Result=~\" $Result\" , InitiatorIpAddress=~\" $Initiator\" } |= \" Error \" [$__range]))" ,
219+ "expr" : " sum(count_over_time({job=\" flows\" , RequestStatus= \" Error \" , Type=\" Cortex\" , Api=\" Cortex.ServiceFabric.Service.ApiGateway.Controllers.ExecutionsController.ExecuteFlowSync\" , Tenant=~\" $Tenant\" , System=~\" $System\" , Node=~\" $Node\" , PackageName=~\" $PackageName\" , FlowName=~\" $FlowName\" , StatusCode=~\" $StatusCode\" , Result=~\" $Result\" , InitiatorIpAddress=~\" $Initiator\" } [$__range]))" ,
220220 "hide" : false ,
221221 "legendFormat" : " Total Errored Requests" ,
222222 "queryType" : " instant" ,
739739 "type" : " loki" ,
740740 "uid" : " ${DS_LOKI}"
741741 },
742- "expr" : " sum(count_over_time({job=\" flows\" , Type=\" Cortex\" , Api=\" Cortex.ServiceFabric.Service.ApiGateway.Controllers.ExecutionsController.ExecuteFlowSync\" , Tenant=~\" $Tenant\" , System=~\" $System\" , Node=~\" $Node\" , PackageName=~\" $PackageName\" , FlowName=~\" $FlowName\" , StatusCode=~\" $StatusCode\" , Result=~\" $Result\" , InitiatorIpAddress=~\" $Initiator\" } |= \" Error \" [$Interval]))" ,
742+ "expr" : " sum(count_over_time({job=\" flows\" , Type=\" Cortex\" , RequestStatus= \" Error \" , Api=\" Cortex.ServiceFabric.Service.ApiGateway.Controllers.ExecutionsController.ExecuteFlowSync\" , Tenant=~\" $Tenant\" , System=~\" $System\" , Node=~\" $Node\" , PackageName=~\" $PackageName\" , FlowName=~\" $FlowName\" , StatusCode=~\" $StatusCode\" , Result=~\" $Result\" , InitiatorIpAddress=~\" $Initiator\" } [$Interval]))" ,
743743 "hide" : false ,
744744 "legendFormat" : " Errored Requests" ,
745745 "refId" : " E"
746+ },
747+ {
748+ "datasource" : {
749+ "type" : " loki" ,
750+ "uid" : " ${DS_LOKI}"
751+ },
752+ "expr" : " avg by (Type) (avg_over_time({job=\" flows\" , Type=\" Cortex\" , RequestStatus=\" Error\" , Api=\" Cortex.ServiceFabric.Service.ApiGateway.Controllers.ExecutionsController.ExecuteFlowSync\" , Tenant=~\" $Tenant\" , System=~\" $System\" , Node=~\" $Node\" , PackageName=~\" $PackageName\" , FlowName=~\" $FlowName\" , StatusCode=~\" $StatusCode\" , Result=~\" $Result\" , InitiatorIpAddress=~\" $Initiator\" } | json | unwrap Event_Duration_InMs [$Interval]))" ,
753+ "hide" : false ,
754+ "legendFormat" : " Errored Requests Mean Duration (ms)" ,
755+ "refId" : " F"
746756 }
747757 ],
748758 "title" : " Requests" ,
770780 "Average Duration in ms" : true ,
771781 "Average duration in ms" : true ,
772782 "Average duration in seconds" : false ,
783+ "Errored Request Mean Duration (ms)" : true ,
773784 "Errored Requests" : true ,
785+ "Errored Requests Mean Duration (ms)" : true ,
774786 "Max Duration (ms)" : true ,
775787 "Max duration in ms" : true ,
776788 "Mean Duration (ms)" : true ,
817829 "mode" : " absolute" ,
818830 "steps" : [
819831 {
820- "color" : " green"
832+ "color" : " green" ,
833+ "value" : null
821834 },
822835 {
823836 "color" : " red" ,
977990 "type" : " loki" ,
978991 "uid" : " ${DS_LOKI}"
979992 },
980- "expr" : " sum by (FlowName) (count_over_time({job=\" flows\" , Type=\" Cortex\" , Api=\" Cortex.ServiceFabric.Service.ApiGateway.Controllers.ExecutionsController.ExecuteFlowSync\" , Tenant=~\" $Tenant\" , System=~\" $System\" , Node=~\" $Node\" , PackageName=~\" $PackageName\" , FlowName=~\" $FlowName\" , StatusCode=~\" $StatusCode\" , Result=~\" $Result\" , InitiatorIpAddress=~\" $Initiator\" } |= \" Error \" | json [$__range]))" ,
993+ "expr" : " sum by (FlowName) (count_over_time({job=\" flows\" , Type=\" Cortex\" , RequestStatus= \" Error \" , Api=\" Cortex.ServiceFabric.Service.ApiGateway.Controllers.ExecutionsController.ExecuteFlowSync\" , Tenant=~\" $Tenant\" , System=~\" $System\" , Node=~\" $Node\" , PackageName=~\" $PackageName\" , FlowName=~\" $FlowName\" , StatusCode=~\" $StatusCode\" , Result=~\" $Result\" , InitiatorIpAddress=~\" $Initiator\" } | json [$__range]))" ,
981994 "hide" : false ,
982995 "legendFormat" : " Error Count" ,
983996 "queryType" : " instant" ,
10101023 "type" : " loki" ,
10111024 "uid" : " ${DS_LOKI}"
10121025 },
1013- "expr" : " max by (FlowName) (min_over_time ({job=\" flows\" , Type=\" Cortex\" , Api=\" Cortex.ServiceFabric.Service.ApiGateway.Controllers.ExecutionsController.ExecuteFlowSync\" , Tenant=~\" $Tenant\" , System=~\" $System\" , Node=~\" $Node\" , PackageName=~\" $PackageName\" , FlowName=~\" $FlowName\" , StatusCode=~\" $StatusCode\" , Result=~\" $Result\" , InitiatorIpAddress=~\" $Initiator\" } | json | unwrap Event_Duration_InMs [$__range]))" ,
1026+ "expr" : " max by (FlowName) (max_over_time ({job=\" flows\" , Type=\" Cortex\" , Api=\" Cortex.ServiceFabric.Service.ApiGateway.Controllers.ExecutionsController.ExecuteFlowSync\" , Tenant=~\" $Tenant\" , System=~\" $System\" , Node=~\" $Node\" , PackageName=~\" $PackageName\" , FlowName=~\" $FlowName\" , StatusCode=~\" $StatusCode\" , Result=~\" $Result\" , InitiatorIpAddress=~\" $Initiator\" } | json | unwrap Event_Duration_InMs [$__range]))" ,
10141027 "hide" : false ,
10151028 "legendFormat" : " Max Duration (ms)" ,
10161029 "queryType" : " instant" ,
11721185 "mode" : " absolute" ,
11731186 "steps" : [
11741187 {
1175- "color" : " green"
1188+ "color" : " green" ,
1189+ "value" : null
11761190 },
11771191 {
11781192 "color" : " red" ,
14781492 "mode" : " absolute" ,
14791493 "steps" : [
14801494 {
1481- "color" : " green"
1495+ "color" : " green" ,
1496+ "value" : null
14821497 }
14831498 ]
14841499 },
15931608 ],
15941609 "title" : " Errored Requests" ,
15951610 "transformations" : [
1611+ {
1612+ "id" : " filterByRefId" ,
1613+ "options" : {
1614+ "include" : " E|F"
1615+ }
1616+ },
15961617 {
15971618 "id" : " calculateField" ,
15981619 "options" : {
1599- "alias" : " Mean Duration (s)" ,
1620+ "alias" : " Errored Requests Mean Duration (s)" ,
16001621 "binary" : {
1601- "left" : " Mean Duration (ms)" ,
1622+ "left" : " Errored Requests Mean Duration (ms)" ,
16021623 "operator" : " /" ,
16031624 "reducer" : " sum" ,
16041625 "right" : " 1000"
16141635 "options" : {
16151636 "excludeByName" : {
16161637 "Average duration in ms" : true ,
1638+ "Errored Request Mean Duration (ms)" : true ,
1639+ "Errored Requests Mean Duration (ms)" : true ,
16171640 "Max Duration (ms)" : true ,
16181641 "Mean Duration (ms)" : true ,
16191642 "Min Duration (ms)" : true ,
16611684 "mode" : " absolute" ,
16621685 "steps" : [
16631686 {
1664- "color" : " green"
1687+ "color" : " green" ,
1688+ "value" : null
16651689 },
16661690 {
16671691 "color" : " red" ,
17111735 "type" : " loki" ,
17121736 "uid" : " ${DS_LOKI}"
17131737 },
1714- "expr" : " topk(10, sum by (FlowName, StatusCode, Result) (count_over_time({job=\" flows\" , Type=\" Cortex\" , Api=\" Cortex.ServiceFabric.Service.ApiGateway.Controllers.ExecutionsController.ExecuteFlowSync\" , Tenant=~\" $Tenant\" , System=~\" $System\" , Node=~\" $Node\" , PackageName=~\" $PackageName\" , FlowName=~\" $FlowName\" , StatusCode=~\" $StatusCode\" , Result=~\" $Result\" , InitiatorIpAddress=~\" $Initiator\" } |= \" Error \" | json [$__range])))" ,
1738+ "expr" : " topk(10, sum by (FlowName, StatusCode, Result) (count_over_time({job=\" flows\" , Type=\" Cortex\" , RequestStatus= \" Error \" , Api=\" Cortex.ServiceFabric.Service.ApiGateway.Controllers.ExecutionsController.ExecuteFlowSync\" , Tenant=~\" $Tenant\" , System=~\" $System\" , Node=~\" $Node\" , PackageName=~\" $PackageName\" , FlowName=~\" $FlowName\" , StatusCode=~\" $StatusCode\" , Result=~\" $Result\" , InitiatorIpAddress=~\" $Initiator\" } | json [$__range])))" ,
17151739 "hide" : false ,
17161740 "legendFormat" : " Top10 Errored Requests" ,
17171741 "queryType" : " instant" ,
17221746 "type" : " loki" ,
17231747 "uid" : " ${DS_LOKI}"
17241748 },
1725- "expr" : " avg by (FlowName, StatusCode, Result) (avg_over_time({job=\" flows\" , Type=\" Cortex\" , Api=\" Cortex.ServiceFabric.Service.ApiGateway.Controllers.ExecutionsController.ExecuteFlowSync\" , Tenant=~\" $Tenant\" , System=~\" $System\" , Node=~\" $Node\" , PackageName=~\" $PackageName\" , FlowName=~\" $FlowName\" , StatusCode=~\" $StatusCode\" , Result=~\" $Result\" , InitiatorIpAddress=~\" $Initiator\" } |= \" Error \" | json | unwrap Event_Duration_InMs [$__range]))" ,
1749+ "expr" : " avg by (FlowName, StatusCode, Result) (avg_over_time({job=\" flows\" , Type=\" Cortex\" , RequestStatus= \" Error \" , Api=\" Cortex.ServiceFabric.Service.ApiGateway.Controllers.ExecutionsController.ExecuteFlowSync\" , Tenant=~\" $Tenant\" , System=~\" $System\" , Node=~\" $Node\" , PackageName=~\" $PackageName\" , FlowName=~\" $FlowName\" , StatusCode=~\" $StatusCode\" , Result=~\" $Result\" , InitiatorIpAddress=~\" $Initiator\" } | json | unwrap Event_Duration_InMs [$__range]))" ,
17261750 "hide" : false ,
17271751 "legendFormat" : " Mean Duration (ms)" ,
17281752 "queryType" : " instant" ,
17331757 "type" : " loki" ,
17341758 "uid" : " ${DS_LOKI}"
17351759 },
1736- "expr" : " min by (FlowName, StatusCode, Result) (min_over_time({job=\" flows\" , Type=\" Cortex\" , Api=\" Cortex.ServiceFabric.Service.ApiGateway.Controllers.ExecutionsController.ExecuteFlowSync\" , Tenant=~\" $Tenant\" , System=~\" $System\" , Node=~\" $Node\" , PackageName=~\" $PackageName\" , FlowName=~\" $FlowName\" , StatusCode=~\" $StatusCode\" , Result=~\" $Result\" , InitiatorIpAddress=~\" $Initiator\" } |= \" Error \" | json | unwrap Event_Duration_InMs [$__range]))" ,
1760+ "expr" : " min by (FlowName, StatusCode, Result) (min_over_time({job=\" flows\" , Type=\" Cortex\" , RequestStatus= \" Error \" , Api=\" Cortex.ServiceFabric.Service.ApiGateway.Controllers.ExecutionsController.ExecuteFlowSync\" , Tenant=~\" $Tenant\" , System=~\" $System\" , Node=~\" $Node\" , PackageName=~\" $PackageName\" , FlowName=~\" $FlowName\" , StatusCode=~\" $StatusCode\" , Result=~\" $Result\" , InitiatorIpAddress=~\" $Initiator\" } | json | unwrap Event_Duration_InMs [$__range]))" ,
17371761 "hide" : false ,
17381762 "legendFormat" : " Min Duration (ms)" ,
17391763 "queryType" : " instant" ,
17441768 "type" : " loki" ,
17451769 "uid" : " ${DS_LOKI}"
17461770 },
1747- "expr" : " max by (FlowName, StatusCode, Result) (max_over_time({job=\" flows\" , Type=\" Cortex\" , Api=\" Cortex.ServiceFabric.Service.ApiGateway.Controllers.ExecutionsController.ExecuteFlowSync\" , Tenant=~\" $Tenant\" , System=~\" $System\" , Node=~\" $Node\" , PackageName=~\" $PackageName\" , FlowName=~\" $FlowName\" , StatusCode=~\" $StatusCode\" , Result=~\" $Result\" , InitiatorIpAddress=~\" $Initiator\" } |= \" Error \" | json | unwrap Event_Duration_InMs [$__range]))" ,
1771+ "expr" : " max by (FlowName, StatusCode, Result) (max_over_time({job=\" flows\" , Type=\" Cortex\" , RequestStatus= \" Error \" , Api=\" Cortex.ServiceFabric.Service.ApiGateway.Controllers.ExecutionsController.ExecuteFlowSync\" , Tenant=~\" $Tenant\" , System=~\" $System\" , Node=~\" $Node\" , PackageName=~\" $PackageName\" , FlowName=~\" $FlowName\" , StatusCode=~\" $StatusCode\" , Result=~\" $Result\" , InitiatorIpAddress=~\" $Initiator\" } | json | unwrap Event_Duration_InMs [$__range]))" ,
17481772 "hide" : false ,
17491773 "legendFormat" : " Max Duration (ms)" ,
17501774 "queryType" : " instant" ,
19501974 "mode" : " absolute" ,
19511975 "steps" : [
19521976 {
1953- "color" : " green"
1977+ "color" : " green" ,
1978+ "value" : null
19541979 },
19551980 {
19561981 "color" : " red" ,
21082133 "excludeByName" : {
21092134 "Average duration in ms" : true ,
21102135 "Errored Requests" : true ,
2136+ "Errored Requests Mean Duration (ms)" : true ,
21112137 "Flow executions" : true ,
21122138 "Max Duration (ms)" : true ,
21132139 "Max duration in ms" : true ,
21562182 "mode" : " absolute" ,
21572183 "steps" : [
21582184 {
2159- "color" : " green"
2185+ "color" : " green" ,
2186+ "value" : null
21602187 },
21612188 {
21622189 "color" : " red" ,
24292456 "mode" : " absolute" ,
24302457 "steps" : [
24312458 {
2432- "color" : " green"
2459+ "color" : " green" ,
2460+ "value" : null
24332461 },
24342462 {
24352463 "color" : " red" ,
29522980 ]
29532981 },
29542982 "time" : {
2955- "from" : " now-6h " ,
2983+ "from" : " now-3h " ,
29562984 "to" : " now"
29572985 },
29582986 "timepicker" : {},
29592987 "timezone" : " " ,
29602988 "title" : " Flow Execution Requests" ,
29612989 "uid" : " o2QeoKQ7z" ,
2962- "version" : 40 ,
2990+ "version" : 57 ,
29632991 "weekStart" : " "
29642992}
0 commit comments