jmx.yaml error, Include Section
Rapport de recherche Datadog : Bilan sur l'adoption de l'informatique sans serveur Rapport : Bilan sur l'adoption de l'informatique sans serveur

jmx.yaml error, Include Section

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

You may encounter the following error message when configuring your jmx.yaml file:

initialize check class [ERROR]: "Each configuration must have an 'include' section. See for more information"

In this case, the error is thrown because of incorrect indentation in the yaml file. For example, in the screenshot below you can see that there is no indentation of ‘domain’ after the ‘include’. This throws the error.

If you were to place the above code into the Online YAML Parser , you would get a JSON object in the right hand window in which you can see that the value of “include” comes out as null.

In order to correct this, indent the lines below ‘include’ two spaces to the right as depicted below. This ensures that ‘include’ is not registered as null.

Sur cette page