<?php

$name = 'squid';
$colours = 'mixed';
$unit_text = 'kB/s';
$unitlen = 10;
$bigdescrlen = 10;
$smalldescrlen = 10;
$dostack = 0;
$printtotal = 0;
$addarea = 1;
$transparency = 15;

$rrd_filename = Rrd::name($device['hostname'], ['app', $name, $app->app_id]);

$rrd_list = [
    [
        'filename' => $rrd_filename,
        'descr' => 'HTTP in',
        'ds' => 'httpinkb',
        'colour' => 'd46a6a',
    ],
    [
        'filename' => $rrd_filename,
        'descr' => 'HTTP out',
        'ds' => 'httpoutkb',
        'colour' => '28774f',
    ],
];

require 'includes/html/graphs/generic_v3_multiline.inc.php';
