718aa7bbb6461f76a233983b550bc3ab31694e67
[openwrt-luci.git] /
1 /*
2  * Copyright 2018 Chizhong Jin <pjincz@gmail.com>
3  * Licensed to the public under the BSD 3-clause license
4  */
5
6 'use strict';
7 'require baseclass';
8
9 return baseclass.extend({
10         title: _('cUrl'),
11
12         rrdargs: function(graph, host, plugin, plugin_instance, dtype) {
13                 return {
14                         title: "%H: cUrl Response Time for #%pi",
15                         y_min: "0",
16                         alt_autoscale_max: true,
17                         vlabel: "Response Time",
18                         number_format: "%5.1lf%Ss",
19                         data: {
20                                 types: [ "response_time" ],
21                                 options: {
22                                         response_time: {
23                                                 title: ""
24                                         }
25                                 }
26                         }
27                 };
28         }
29 });
git clone https://git.99rst.org/PROJECT