Cyral

Supported OS Linux

Integration version0.0.1

개요

이 점검은 Datadog 에이전트를 통해 Cyral MySQL 사이드카를 모니터링합니다.

설정

Datadog 에이전트 패키지에는 Cyral 점검이 포함되어 있지 않기 때문에 설치해야 합니다.

설치

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

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

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

설정

  1. 에이전트 구성 디렉터리의 루트 수준에 있는 conf.d/ 폴더에서 cyral.d/conf.yaml 파일을 편집해 cyral 성능 데이터 수집을 시작하세요. 사용할 수 있는 구성 옵션을 모두 보려면 sample cyral.d/conf.yaml을 참고하세요.

    init_config:
    
    instances:
     # url of the metrics endpoint of prometheus
     - prometheus_url: http://localhost:9018/metrics
    
  2. 에이전트를 재시작합니다.

검증

에이전트 상태 하위 명령을 실행하고 Checks 섹션 아래에서 cyral를 찾으세요.

수집한 데이터

메트릭

cyral.analysis_time
(count)
Time spent in just doing analysis
Shown as millisecond
cyral.authentication_failure_count
(count)
The number of authentication failures
cyral.catalog_query_count
(count)
cyral.closed_client_conns_count
(count)
cyral.closed_listeners_count
(count)
cyral.high_latency_query_count
(count)
Number of queries exceeding (configurable) threshold
cyral.open_client_conns_count
(count)
cyral.open_listeners_count
(count)
cyral.policy_eval_time
(count)
cyral.policy_eval_time_counter
(count)
cyral.policy_violation_count
(count)
The number of queries with policy violations
cyral.portscan_count
(count)
The number of detected portscan attempts
cyral.queries_with_errors
(count)
cyral.query_duration_count
(count)
Number of increments to query_duration
cyral.query_duration_sum
(count)
The total duration of queries in milliseconds
cyral.repo_dial_errors_count
(count)
cyral.row_count
(count)
The number of rows per query
cyral.sql_parse_time
(count)
Time spent doing parsing in milliseconds
cyral.sql_parse_time_counter
(count)
Number of increments to sqlparsetime
cyral.storage_watch_events_count
(count)
cyral.wire_dial_errors_count
(count)
cyral.wire_parse_duration
(count)
cyral.wire_parse_duration_increments
(count)

서비스 점검

Cyral에는 서비스 점검이 포함되어 있지 않습니다.

이벤트

Cyral에는 이벤트가 포함되어 있지 않습니다.

트러블슈팅

에이전트 연결 불가

    cyral
    -------
      - instance #0 [ERROR]: "('Connection aborted.', error(111, 'Connection refused'))"
      - Collected 0 metrics, 0 events & 0 service check

cyral.yaml 내의 url이 올바른지 확인하세요.

도움이 필요하신가요? Datadog 지원팀에 문의하세요.