Configuration validation
aadamovich opened this issue · 2 comments
aadamovich commented
It would be benefitial if JMXtrans reported non-valid configuration and invalid property names
cyrille-leclerc commented
It's a kind of drawback of json over xml. It is very hard to identify the json nodes that are ignored.
I would not want to raise an exception in case of unexpected node because suffixing json node names is a common way to comment blocks in json (json does not have an equivalent for ).
Cyrille
aadamovich commented
I agree, exception would probably be too much, but a validation notice on debug or warning output will be beneficial. This will help catching misspelled configuration property names. Probably. JSON shema validator can be used for this or some simpler approach.