Proposing adding stat string support

TSReturnCode TSStatGetString(int id, char *string, int len);
TSReturnCode TSStatSetString(int id, char *string, int len);

This way we can store stat strings for retrieval by TS stats. Some examples of 
things we currently have work arounds for are the interface name that TS is 
running on, its negotiated speed, load averages, other proc values, etc.

I believe the stats will currently allow you to create a string stat, there is 
just no way to interface with it. I will create a plugin that uses the string 
functionality since the main reason of this is to be able to open source a 
currently proprietary plugin that uses this sort of functionality.

Reply via email to