Docs on "lm.emit" module?
I just imported the new DataSource "SSL_Certificate_Chains" (lmLocator YCXL9M) and the Groovy has something I've never seen before....
The Active Discovery output is with
and the Collect script output is similarly new (to me) with
This seems like an exciting new mechanism! Has anyone seen docs on this?
All the googling I've tried only comes up with references to "emit" which are related to logging and/or APM traces.
Stefan Wuensch
Posted 4 years ago·Last reply 4 years ago
3 comments
Stefan Wuensch
OP4 years agoYep! Indeed it's Groovy script snippets.
I also find "lm.emit" as well as "lm.debug" in at least one of the new DataSources for Puppet monitoring.
Example: Puppet_Server_JRuby_Statistics lmLocator: TPG9RX
Then the collect is so simple and elegant....
So beautiful! It's going to be hard to wait for the docs!!
?
LM User
·4 years agoIt's probably part of the Snippets feature. As I understand it, this is available in the code base but only currently usable by our internal devs as we work out any issues. Presumably, they would be made available one day. I'm hoping for some API interaction shortcuts (sans creds).
Stefan Wuensch
OP4 years agoFYI - Looks like that module got yanked because of some issues. It's now showing up as Module Status: Deprecated.
Still, that "emit" functionality looks really powerful and I am looking forward to learning more about it!!