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

이 한글 문서는 사용자의 편의를 위해 기계 번역되었습니다.

영문본과 번역본이 일치하지 않는 경우 영문본이 우선합니다. 보다 자세한 내용은 이 페이지를 방문하시기 바랍니다.

문제 신고

커스텀 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.