what's missing in the doc is, if name is not configured, the name setting defaults to the type-setting. That is name is optional (but should be used if multiple monitors of same time are configured).
You finding this unintuitive, how would you like it to work?
I am aware of the documentation.
However, in my understanding it's a bit unintuitive that the name field overwrites the type.
I would expect a field name in the result set.
Furthermore, if I want to have the value of name and the type, I would have to parse the monitor field to extract the corresponding type again.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.