PHP - Manual: RRDCreator::addDataSource
2024-11-23
(PECL rrd >= 0.9.0)
RRDCreator::addDataSource — Adds data source definition for RRD database
$description
): voidRRD can accept input from several data sources (DS), e.g incoming and outgoing traffic. This method adds data source by description. You need call this method for each data source.
description
Definition of data source - DS. This has same format as DS definition in rrd create command. See man page of rrd create for more details.
没有返回值。
官方地址:https://www.php.net/manual/en/rrdcreator.adddatasource.php