]> arthur.barton.de Git - netdata.git/blob - web/demo2.html
9530d914e44bb432238841d75e16d03c6b5b268f
[netdata.git] / web / demo2.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4         <title>NetData Dashboard</title>
5
6         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
7         <meta charset="utf-8">
8         <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
9         <meta name="viewport" content="width=device-width, initial-scale=1">
10         <meta name="apple-mobile-web-app-capable" content="yes">
11         <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
12         <meta name="author" content="costa@tsaousis.gr">
13
14         <script>var netdataTheme = 'slate';</script>
15         <script type="text/javascript" src="dashboard.js?v37"></script>
16 </head>
17 <body>
18
19 <div class="container" style="width: 90%; padding-top: 10px; text-align: center; color: #AAA">
20         <div style="font-size: 7vw;">why netdata?</div>
21         <br/>
22         <div style="font-size: 2vw; color: white;">These charts visualize the same data...</div>
23
24
25         <!-- Nav tabs -->
26         <ul class="nav nav-tabs" role="tablist">
27                 <li role="presentation" class="active"><a href="#gauge" aria-controls="gauge" role="tab" data-toggle="tab">Gauge.js</a></li>
28                 <li role="presentation"><a href="#easypiechart" aria-controls="easypiechart" role="tab" data-toggle="tab">Easy Pie Chart</a></li>
29         </ul>
30
31         <!-- Tab panes -->
32         <div class="tab-content">
33                 <div role="tabpanel" class="tab-pane active" id="gauge">
34
35                         <div style="display: inline-block; width: 35.8%">
36                                 <div style="font-size: 1.2vw; color: #666; padding-top: 10px;"><i class="fa fa-comment"></i> I can trace an issue like this</div>
37                                 <br/>
38                                 <div data-netdata="example.random2"
39                                                 data-dimensions="random"
40                                                 data-chart-library="gauge"
41                                                 data-gauge-max-value="32767"
42                                                 data-width="100%"
43                                                 data-after="-600"
44                                                 data-points="600"
45                                                 data-title="1/second (netdata&nbsp;default)"
46                                                 data-units="important metric"
47                                                 data-colors="#5A5"
48                                                 ></div>
49                         </div>
50                         <div style="display: inline-block; width: 50%">
51                                 <div style="font-size: 1.2vw; color: #666;"><i class="fa fa-comment"></i> Can you trace an issue like these?<br/>&nbsp;<br/></div>
52                                 <div data-netdata="example.random2"
53                                                 data-dimensions="random"
54                                                 data-chart-library="gauge"
55                                                 data-gauge-max-value="32767"
56                                                 data-width="45%"
57                                                 data-after="-600"
58                                                 data-points="40"
59                                                 data-title="Updates Every 15&nbsp;Sec"
60                                                 data-units="important metric"
61                                                 data-colors="#C55"
62                                                 ></div>
63                                 <div data-netdata="example.random2"
64                                                 data-dimensions="random"
65                                                 data-chart-library="gauge"
66                                                 data-gauge-max-value="32767"
67                                                 data-width="45%"
68                                                 data-after="-600"
69                                                 data-points="2"
70                                                 data-title="Updates Every 5&nbsp;Mins"
71                                                 data-units="important metric"
72                                                 data-colors="#C55"
73                                                 ></div>
74                         </div>
75                 </div>
76                 <div role="tabpanel" class="tab-pane" id="easypiechart">
77
78                         <div style="display: inline-block; width: 25%">
79                                 <div style="font-size: 1.2vw; color: #666; padding-top: 10px;"><i class="fa fa-comment"></i> I can trace an issue like this</div>
80                                 <br/>
81                                 <div data-netdata="example.random2"
82                                                 data-dimensions="random"
83                                                 data-chart-library="easypiechart"
84                                                 data-easypiechart-max-value="32767"
85                                                 data-width="100%"
86                                                 data-after="-600"
87                                                 data-points="600"
88                                                 data-title="1/second (netdata&nbsp;default)"
89                                                 data-units="important metric"
90                                                 data-colors="#5A5"
91                                                 ></div>
92                         </div>
93                         <div style="display: inline-block; width: 40%">
94                                 <div style="font-size: 1.2vw; color: #666;"><i class="fa fa-comment"></i> Can you trace an issue like these?<br/>&nbsp;<br/></div>
95                                 <div data-netdata="example.random2"
96                                                 data-dimensions="random"
97                                                 data-chart-library="easypiechart"
98                                                 data-easypiechart-max-value="32767"
99                                                 data-width="45%"
100                                                 data-after="-600"
101                                                 data-points="40"
102                                                 data-title="Updates Every 15&nbsp;Sec&nbsp;(<a href='https://github.com/OpenTSDB/opentsdb.net/blob/gh-pages/docs/source/user_guide/utilities/tcollector.rst#collecting-lots-of-metrics-with-tcollector' target='_blank'>OpenTSDB</a>)"
103                                                 data-units="important metric"
104                                                 data-colors="#C55"
105                                                 ></div>
106                                 <div data-netdata="example.random2"
107                                                 data-dimensions="random"
108                                                 data-chart-library="easypiechart"
109                                                 data-easypiechart-max-value="32767"
110                                                 data-width="45%"
111                                                 data-after="-600"
112                                                 data-points="2"
113                                                 data-title="Updates Every 5&nbsp;Mins&nbsp;(your&nbsp;NMS)"
114                                                 data-units="important metric"
115                                                 data-colors="#C55"
116                                                 ></div>
117                         </div>
118                 </div>
119         </div>
120         <div style="font-size: 1.5vw;">Hover on the chart below, to see the selected value on the charts above!</div>
121         <div data-netdata="example.random2"
122                         data-dimensions="random"
123                         data-dygraph-theme="sparkline"
124                         data-width="100%"
125                         data-height="20vh"
126                         data-after="-600"
127                         data-points="600"
128                         data-title="1/second (netdata&nbsp;default)"
129                         data-units="something"
130                         data-colors="#888"
131                         ></div>
132 </div>
133 </body>
134 </html>