DOKK / manpages / debian 11 / trafficserver-dev / TSRecords.3ts.en
TRAFFIC SERVER RECORDS(3ts) Apache Traffic Server TRAFFIC SERVER RECORDS(3ts)

Traffic Server Records - traffic Server maintains a set of records which cover both configuration values and statistics

#include <ts/ts.h>



TSMgmtStringCreate() registers name as a configuration name and sets its various properties. If check_type is TS_RECORDCHECK_STR then check_reg must be point to a valid regular expression to use to check the string value.

If a plugin uses a value from records.config that is not built in to Traffic Server it must use this function or the value will be inaccessible and a warning for that name will be generated.

TSMgmtStringCreate() and TSMgmtIntCreate() return TS_SUCCESS if the management value was created and TS_ERROR if not.

TSAPI(3ts)

2023, dev@trafficserver.apache.org

November 2, 2023 8.1