(PECL rrd >= 0.9.0)
RRDCreator::addDataSource — Adds data source definition for RRD database.
RRD can accept input from several data sources (DS), e.g incomming and outgoing traffic. This method adds data source by description. You need call this method for each data source.
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.
Não há valor retornado.