Cloudsmith

Supported OS Linux Windows Mac OS

통합 버전0.0.2

개요

본 점검은 Datadog 에이전트로 Cloudsmith를 모니터링합니다.

  • Cloudsmith 계정의 스토리지, 대역폭 및 토큰 사용량을 모니터링합니다.

설정

Datadog 에이전트 패키지에는 Cloudsmith 점검이 포함되어 있지 않으므로 설치해야 합니다.

설치

에이전트 v7.21+/v6.21+의 경우, 하단 지침에 따라 호스트에 Cloudsmith 점검을 설치하세요. 도커(Docker) 에이전트 또는 이전 버전의 에이전트와 같이 설치하려면 커뮤니티 통합을 참조하세요.

  1. 다음 명령어를 실행해 에이전트 통합을 설치하세요.

    datadog-agent integration install -t datadog-cloudsmith==<INTEGRATION_VERSION>
    
  2. 통합을 코어 통합과 유사하게 설정하세요.

설정

  1. 에이전트의 설정 디렉터리 루트에서 conf.d/ 폴더에 있는 cloudsmith.d/conf.yaml 파일을 편집하여 Cloudsmith 성능 데이터 수집을 시작하세요. 사용 가능한 모든 설정 옵션은 샘플 cloudsmith.d/conf.yaml을 참조하세요.

  2. 에이전트를 재시작합니다.

검증

에이전트 상태 하위 명령을 실행하고 점검 섹션에서 cloudsmith를 찾으세요.

수집한 데이터

메트릭

cloudsmith.storage_used
(gauge)
The percentage of storage used
Shown as percent
cloudsmith.bandwidth_used
(gauge)
The percentage of bandwidth used
Shown as percent
cloudsmith.token_count
(gauge)
The number of tokens in an organization
Shown as item
cloudsmith.token_bandwidth_total
(gauge)
The total bandwidth used by tokens
Shown as byte
cloudsmith.token_download_total
(gauge)
The total downloads used by tokens
Shown as item
cloudsmith.storage_used_bytes
(gauge)
The amount of storage used in bytes
Shown as byte
cloudsmith.bandwidth_used_bytes
(gauge)
The amount of bandwidth used in bytes
Shown as byte
cloudsmith.member.active
(gauge)
The number of active members in the organization
Shown as item
cloudsmith.license_policy_violation.count
(gauge)
The number of license policy violations
Shown as item
cloudsmith.vulnerability_policy_violation.count
(gauge)
The number of vulnerability policy violations
Shown as item
cloudsmith.member.has_2fa.count
(gauge)
The number of members with 2FA enabled
Shown as item
cloudsmith.member.saml.count
(gauge)
The number of members who logged in with SAML
Shown as item
cloudsmith.member.password.count
(gauge)
The number of members who logged in with password
Shown as item
cloudsmith.member.owner.count
(gauge)
The number of users with role 'Owner'
Shown as item
cloudsmith.member.manager.count
(gauge)
The number of users with role 'Manager'
Shown as item
cloudsmith.member.readonly.count
(gauge)
The number of users with role 'ReadOnly'
Shown as item
cloudsmith.member.admin.count
(gauge)
The number of users with role 'Admin'
Shown as item
cloudsmith.bandwidth_plan_limit_bytes
(gauge)
The bandwidth limit in bytes defined by the plan
Shown as byte
cloudsmith.bandwidth_plan_limit_gb
(gauge)
The bandwidth limit in gigabytes defined by the plan
Shown as byte
cloudsmith.bandwidth_used_gb
(gauge)
The bandwidth used in gigabytes
Shown as byte
cloudsmith.storage_plan_limit_bytes
(gauge)
The storage limit in bytes defined by the plan
Shown as byte
cloudsmith.storage_plan_limit_gb
(gauge)
The storage limit in gigabytes defined by the plan
Shown as byte
cloudsmith.storage_used_gb
(gauge)
The storage used in gigabytes
Shown as byte

이벤트

수집한 모든 Cloudsmith 관련 이벤트는 Datadog 이벤트 스트림 내에 source:cloudsmith 속성과 함께 표시됩니다. Cloudsmith API로 전송되는 요청의 수를 줄일 목적으로 5분마다 수집합니다.

이벤트에는 두 가지 유형이 있습니다.

  • 보안 스캔 이벤트
  • 감사 로그 이벤트

@aggregation_key:audit_log, @aggregation_key:vulnerabilities 집계 키로 접근할 수 있습니다.

트러블슈팅

도움이 필요하신가요? Cloudsmith 고객 지원팀에 문의해주세요.

PREVIEWING: hannahkm/clarify-v2-docs