summaryrefslogtreecommitdiffstats
path: root/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/irq.js
blob: 150bc497f3eacd9ed592a52d3d92a3f94e420af4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Licensed to the public under the Apache License 2.0. */

'use strict';
'require baseclass';

return baseclass.extend({
	title: _('Interrupts'),

	rrdargs: function(graph, host, plugin, plugin_instance, dtype) {
		return {
			title: "%H: Interrupts",
			vlabel: "Issues/s",
			number_format: "%5.0lf",
			data: {
				types: [ "irq" ],
				options: {
					irq: { title: "IRQ %di", noarea: true }
				}
			}
		};
	}
});