File tree Expand file tree Collapse file tree 6 files changed +480
-1
lines changed
Expand file tree Collapse file tree 6 files changed +480
-1
lines changed Original file line number Diff line number Diff line change 1- # Sample application for tutorials
1+ # Sample application for tutorials (KillerCoda)
22
33This repository contains the environment for completing the tutorials at [ grafana.com/tutorials] ( https://grafana.com/tutorials ) .
4+ ** Note:** * This version of the tutorial is completed and used for deployment with our KillerCoda Interactive Training*
45
56## Prequisites
67
Original file line number Diff line number Diff line change @@ -49,6 +49,8 @@ services:
4949 - GF_FEATURE_TOGGLES_ENABLE=alertingSimplifiedRouting
5050 volumes :
5151 - ./grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
52+ - ./grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards
53+ - ./grafana/provisioning/alerting:/etc/grafana/provisioning/alerting
5254
5355 app :
5456 build : ./app
Original file line number Diff line number Diff line change 1+ apiVersion : 1
2+ groups :
3+ - orgId : 1
4+ name : fundamentals
5+ folder : fundamentals
6+ interval : 10s
7+ rules :
8+ - uid : c2c9d9dc-60f6-4eab-9742-4641f3e3da8d
9+ title : ' fundamentals-test '
10+ condition : C
11+ data :
12+ - refId : A
13+ relativeTimeRange :
14+ from : 600
15+ to : 0
16+ datasourceUid : PBFA97CFB590B2093
17+ model :
18+ editorMode : code
19+ expr : sum(rate(tns_request_duration_seconds_count[5m])) by(route)
20+ instant : true
21+ intervalMs : 1000
22+ legendFormat : __auto
23+ maxDataPoints : 43200
24+ range : false
25+ refId : A
26+ - refId : B
27+ relativeTimeRange :
28+ from : 600
29+ to : 0
30+ datasourceUid : __expr__
31+ model :
32+ conditions :
33+ - evaluator :
34+ params : []
35+ type : gt
36+ operator :
37+ type : and
38+ query :
39+ params :
40+ - B
41+ reducer :
42+ params : []
43+ type : last
44+ type : query
45+ datasource :
46+ type : __expr__
47+ uid : __expr__
48+ expression : A
49+ intervalMs : 1000
50+ maxDataPoints : 43200
51+ reducer : last
52+ refId : B
53+ type : reduce
54+ - refId : C
55+ relativeTimeRange :
56+ from : 600
57+ to : 0
58+ datasourceUid : __expr__
59+ model :
60+ conditions :
61+ - evaluator :
62+ params :
63+ - 0.2
64+ type : gt
65+ operator :
66+ type : and
67+ query :
68+ params :
69+ - C
70+ reducer :
71+ params : []
72+ type : last
73+ type : query
74+ datasource :
75+ type : __expr__
76+ uid : __expr__
77+ expression : B
78+ intervalMs : 1000
79+ maxDataPoints : 43200
80+ refId : C
81+ type : threshold
82+ dashboardUid : b98ede9d-e7e6-4706-b4d2-dd26fa22e66e
83+ panelId : 2
84+ noDataState : NoData
85+ execErrState : Error
86+ for : 0s
87+ annotations :
88+ __dashboardUid__ : b98ede9d-e7e6-4706-b4d2-dd26fa22e66e
89+ __panelId__ : " 2"
90+ summary : High Traffic!
91+ labels : {}
92+ isPaused : false
You can’t perform that action at this time.
0 commit comments