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.
개요
본 점검은 제어 및 상태 서버에서 제공하는 Puma 메트릭 엔드포인트를 사용하여 Datadog 에이전트로 Puma를 모니터링합니다.
설정
Puma 점검은 Datadog 에이전트 패키지에 포함되어 있지 않기 때문에 설치해야 합니다.
설치
에이전트 v7.21+/v6.21+의 경우, 하단 지침에 따라 호스트에 Puma 점검을 설치하세요. 도커(Docker) 에이전트 또는 이전 버전의 에이전트와 같이 설치하려면 커뮤니티 통합을 참고하세요.
다음 명령어를 실행해 에이전트 통합을 설치하세요.
datadog-agent integration install -t datadog-puma==<INTEGRATION_VERSION>
통합을 코어 통합과 유사하게 설정하세요.
설정
에이전트의 설정 디렉토리 루트의 conf.d/ 폴더에 있는 puma.d/conf.yaml 파일을 편집하여 Puma 성능 데이터 수집을 시작합니다. 사용 가능한 모든 설정 옵션은 puma.d/conf.yaml 샘플을 참조하세요.
에이전트를 다시 시작합니다.
검증
에이전트 상태 하위 명령을 실행하고 점검 섹션에서 puma를 찾습니다.
수집한 데이터
메트릭
| |
|---|
puma.backlog (gauge) | Pending request backlog Shown as unit |
puma.booted_workers (gauge) | Number of booted puma workers Shown as unit |
puma.busy_threads (gauge) | Number of threads that are running, including requests waiting on a thread, but excluding requests waiting for work. Shown as unit |
puma.max_threads (gauge) | Maximum threads Shown as unit |
puma.pool_capacity (gauge) | Pool capacity Shown as unit |
puma.requests_count (gauge) | Request count Shown as unit |
puma.running (gauge) | Running threads Shown as unit |
puma.workers (gauge) | Total number of puma workers Shown as unit |
이벤트
Puma는 이벤트를 포함하지 않습니다.
서비스 점검
puma.connection
Returns CRITICAL if the Agent is unable to connect to the monitored Puma instance. Returns OK otherwise.
Statuses: ok, critical
트러블슈팅
도움이 필요하신가요? Datadog 고객 지원팀에 문의하세요.