You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sample-dashboard/Ruby On Rails Performance.json
+68-13Lines changed: 68 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -634,7 +634,8 @@
634
634
{
635
635
"aliasColors": {
636
636
"Error": "dark-red",
637
-
"Success": "semi-dark-green"
637
+
"Success": "semi-dark-green",
638
+
"No Status": "#bebebe"
638
639
},
639
640
"bars": true,
640
641
"dashLength": 10,
@@ -677,7 +678,7 @@
677
678
"renderer": "flot",
678
679
"seriesOverrides": [],
679
680
"spaceLength": 10,
680
-
"stack": false,
681
+
"stack": true,
681
682
"steppedLine": false,
682
683
"targets": [
683
684
{
@@ -688,12 +689,6 @@
688
689
"$per"
689
690
],
690
691
"type": "time"
691
-
},
692
-
{
693
-
"params": [
694
-
"previous"
695
-
],
696
-
"type": "fill"
697
692
}
698
693
],
699
694
"measurement": "rails",
@@ -726,6 +721,12 @@
726
721
"key": "status",
727
722
"operator": "=",
728
723
"value": "200"
724
+
},
725
+
{
726
+
"condition": "OR",
727
+
"key": "status",
728
+
"operator": "=",
729
+
"value": "302"
729
730
}
730
731
]
731
732
},
@@ -737,18 +738,72 @@
737
738
"$per"
738
739
],
739
740
"type": "time"
741
+
}
742
+
],
743
+
"measurement": "rails",
744
+
"orderByTime": "ASC",
745
+
"policy": "default",
746
+
"query": "SELECT count(\"controller\") FROM \"rails\" WHERE (\"hook\" = 'process_action' AND \"status\" != '200' AND \"status\" != '302' AND \"status\" != '') AND $timeFilter GROUP BY time($per)",
747
+
"rawQuery": true,
748
+
"refId": "B",
749
+
"resultFormat": "time_series",
750
+
"select": [
751
+
[
752
+
{
753
+
"params": [
754
+
"controller"
755
+
],
756
+
"type": "field"
757
+
},
758
+
{
759
+
"params": [],
760
+
"type": "count"
761
+
}
762
+
]
763
+
],
764
+
"tags": [
765
+
{
766
+
"key": "hook",
767
+
"operator": "=",
768
+
"value": "process_action"
740
769
},
770
+
{
771
+
"condition": "AND",
772
+
"key": "status",
773
+
"operator": "!=",
774
+
"value": "200"
775
+
},
776
+
{
777
+
"condition": "AND",
778
+
"key": "status",
779
+
"operator": "!=",
780
+
"value": "302"
781
+
},
782
+
{
783
+
"condition": "AND",
784
+
"key": "status",
785
+
"operator": "!=",
786
+
"value": ""
787
+
}
788
+
]
789
+
},
790
+
{
791
+
"alias": "No Status",
792
+
"groupBy": [
741
793
{
742
794
"params": [
743
-
"previous"
795
+
"$per"
744
796
],
745
-
"type": "fill"
797
+
"type": "time"
746
798
}
747
799
],
800
+
"hide": false,
748
801
"measurement": "rails",
749
802
"orderByTime": "ASC",
750
803
"policy": "default",
751
-
"refId": "B",
804
+
"query": "SELECT count(\"controller\") FROM \"rails\" WHERE (\"hook\" = 'process_action' AND \"status\" = '') AND $timeFilter GROUP BY time($per)",
0 commit comments