I'm looking at writing a custom script to monitor an application (memcached in this case). The script is easy - have that resolved no problem. What I don't know is if I can return multiple data points in a single script to be processed with the "run 3rd party script" style of plugin.
I've read through the APM administrators guide, and it seems to imply that I can return multiple values, but I wasn't sure of the format.
Would the format look something like
onemetric: 73
twometric: 234
threemetric: 23
Or would it look like:
Message: onemetric
Statistic: 73
Message: twometric
Statistic: 234
All of the example scripts listed in the docs show only a single return value.