jmx.yaml error, Include Section

이 페이지는 아직 영어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.

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 https://docs.datadoghq.com/integrations/java/ 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.

incorrect_jmx_include

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.

correct_jmx_include

PREVIEWING: brett.blue/embedded-collector-release