• EnglishEspañol日本語한국어Português
  • 로그인지금 시작하기

사용자의 편의를 위해 제공되는 기계 번역입니다.

In the event of any inconsistency between the English version and the translated version, the English versionwill take priority. Please visit this page for more information.

문제 신고

커스텀 JMX YAML 예시

이것은 값 및 정의, MBean, 속성, 유형 및 메트릭, 개체 및 속성의 이름을 포함하는 New Relic의 Java 에이전트에 대한 사용자 정의 JMX YAML 파일의 예입니다. 비디오를 포함한 자세한 내용 은 YAML을 통한 사용자 지정 JMX 모니터링을 참조하세요.

YAML 예시

다음은 사용자 정의 JMX YAML 파일의 예입니다. YAML 파일은 공간에 민감합니다.

name: TomcatCustom
version: 1.0
enabled: true
jmx:
- object_name: Catalina:type=Cache,host=localhost,path=/examples
metrics:
- attributes: accessCount, cacheSize, hitsCount
type: simple
- object_name: Catalina:type=Connector,port=8009
metrics:
- attributes: bufferSize, maxHeaderCount
- object_name: java.nio:type=BufferPool,name=*
metrics:
- attributes: Count
type: monotonically_increasing

예시 설명

개체 및 속성 이름 찾기

사용 가능한 MBean 및 관련 속성을 찾는 가장 쉬운 방법 은 JDK 1.6용 JConsole 지침 을 사용하는 것입니다.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.