Supported OS
![Mac OS]()
To find out if this integration is available in your organization, see your Datadog Integrations page or ask your organization administrator.
To initiate an exception request to enable this integration for your organization, email support@ddog-gov.com.
개요
본 점검은 Datadog 에이전트를 통해 Resin을 모니터링합니다.
설정
설치
Datadog 에이전트 패키지에는 Resin 점검이 포함되어 있지 않으므로 설치해야 합니다.
설정
- Resin 기본 서버에 다음 JVM 인수를 추가하여 JMX를 활성화합니다.
<server-default>
<jvm-arg>-Dcom.sun.management.jmxremote</jvm-arg>
<jvm-arg>-Dcom.sun.management.jmxremote.port=7199</jvm-arg>
</server-default>
에이전트 설정 디렉토리 루트에 있는 conf.d/ 폴더에서 resin.d/conf.yaml 파일을 편집하여 Resin 성능 데이터 수집을 시작합니다. 사용 가능한 모든 설정 옵션은 resin.d/conf.yaml 샘플을 참조하세요.
에이전트를 재시작합니다.
검증
에이전트 상태 하위 명령을 실행하고 점검 섹션에서 resin를 찾습니다.
로그 수집
Linux 플랫폼의 /etc/datadog-agent/datadog.yaml에서 Datadog 에이전트가 로그를 수집할 수 있도록 활성화합니다. 다른 플랫폼의 경우 설정 파일 위치를 보려면 에이전트 설정 파일 가이드를 확인하세요.
resin.d/conf.yaml 파일에 이 설정 블록을 활성화하여 로그 수집을 시작하세요.logs:
- type: file
path: /var/opt/resin/log/*.log
source: resin
수집한 데이터
메트릭
| |
|---|
resin.connection_pool.connection_count (gauge) | The current connection count for a particular connection pool Shown as connection |
resin.connection_pool.connection_active_count (gauge) | The active connection count for a particular connection pool Shown as connection |
resin.connection_pool.connection_idle_count (gauge) | The idle connection count for a particular connection pool Shown as connection |
resin.connection_pool.connection_create_count (gauge) | The number of connections created for a particular connection pool Shown as connection |
resin.connection_pool.max_connections (gauge) | The max number of connections allowed for a particular connection pool Shown as connection |
resin.connection_pool.max_overflow_connections (gauge) | The max number of overflow connections allowed for a particular connection pool Shown as connection |
resin.connection_pool.max_create_connections (gauge) | The max number of connections allowed to be created at one time for a particular connection pool Shown as connection |
resin.thread_pool.thread_active_count (gauge) | The number of active threads Shown as thread |
resin.thread_pool.thread_count (gauge) | The number of threads Shown as thread |
resin.thread_pool.thread_idle_count (gauge) | The number of idle threads Shown as thread |
resin.thread_pool.thread_max (gauge) | The max number of threads Shown as thread |
resin.thread_pool.thread_wait_count (gauge) | The number of waiting threads Shown as thread |
이벤트
Resin은 이벤트를 포함하지 않습니다.
서비스 점검
resin.can_connect
Returns CRITICAL if the Agent is unable to connect to and collect metrics from the monitored Resin instance. Returns OK otherwise.
Statuses: ok, critical
트러블슈팅
도움이 필요하신가요? Datadog 지원팀에 문의하세요.