Concourse-CI

Supported OS Linux Windows Mac OS

개요

Concourse CI의 Datadog 메트릭 이미터(Emitter)를 다음과 같이 설정합니다.

  • 파이프라인의 기간, 컨테이너 수, 마운트된 워커의 볼륨을 시각화합니다.
  • 경로를 구축할 목적으로 느린 요청을 식별합니다.

설정

설치

Concourse CI는 Datadog 메트릭 이미터(emitter)와 함께 번들로 제공됩니다. 시작 시 메트릭을 전송하도록 ATC를 구성하기 위한 전제 조건으로 Datadog 에이전트가 설치되어 있어야 합니다.

설정

다음 옵션을 설정하여 ATC가 Datadog 이미터(emitter)를 사용하도록 설정합니다. concourse.ci 접두사를 사용하여 커스텀 메트릭을 전송하지 않도록 하는 것이 중요합니다.

메트릭 이미터(emitter) 옵션

자세한 내용을 확인하려면 Concourse CI 문서의 메트릭 구성하기를 참조하세요.

Metric Emitter (Datadog):
    --datadog-agent-host=       Datadog agent host to expose dogstatsd metrics [$CONCOURSE_DATADOG_AGENT_HOST]
    --datadog-agent-port=       Datadog agent port to expose dogstatsd metrics [$CONCOURSE_DATADOG_AGENT_PORT]
    --datadog-prefix=           Prefix for all metrics to easily find them in Datadog [$CONCOURSE_DATADOG_PREFIX]

수집한 데이터

메트릭

concourse.ci.build_finished
(gauge)
The duration of the build
Shown as millisecond
concourse.ci.build_started
(gauge)
The build ID of the build
Shown as build
concourse.ci.containers_created
(gauge)
The number of containers created
Shown as container
concourse.ci.containers_deleted
(gauge)
The number of containers deleted
Shown as container
concourse.ci.created_containers_to_be_garbage_collected
(gauge)
The number of containers to be garbage collected
Shown as container
concourse.ci.created_volumes_to_be_garbage_collected
(gauge)
The number of volumes to be garbage collected
Shown as volume
concourse.ci.creating_containers_to_be_garbage_collected
(gauge)
The number of containers being created to be garbage collected
Shown as container
concourse.ci.database_connections
(gauge)
The number of database connections
Shown as connection
concourse.ci.database_queries
(gauge)
The number of database queries
Shown as query
concourse.ci.destroying_containers_to_be_garbage_collected
(gauge)
The number of containers being destroyed to be garbage collected
Shown as container
concourse.ci.destroying_volumes_to_be_garbage_collected
(gauge)
The number of volumes being destroyed to be garbage collected
Shown as volume
concourse.ci.failed_containers
(gauge)
The number of failed containers
Shown as container
concourse.ci.failed_containers_to_be_garbage_collected
(gauge)
The number of failed containers to be garbage collected
Shown as container
concourse.ci.failed_volumes
(gauge)
The number of failed volumes
Shown as volume
concourse.ci.failed_volumes_to_be_garbage_collected
(gauge)
The number of failed volumes to be garbage collected
Shown as volume
concourse.ci.frees
(gauge)
The number of heap objects freed
Shown as heap
concourse.ci.gc_pause_total_duration
(gauge)
The total pause duration in garbage collection
Shown as nanosecond
concourse.ci.goroutines
(gauge)
The number of goroutines that exist
Shown as operation
concourse.ci.http_response_time
(gauge)
The duration for each request to an ATC
Shown as millisecond
concourse.ci.mallocs
(gauge)
The number of heap objects allocated
Shown as heap
concourse.ci.orphaned_volumes_to_be_garbage_collected
(gauge)
The number of orphaned volumes to be garbage collected
Shown as volume
concourse.ci.scheduling_full_duration_ms
(gauge)
The time taken to schedule an entire pipeline including the time taken to load the version information from the database and calculate the latest valid versions for each job
Shown as millisecond
concourse.ci.scheduling_job_duration_ms
(gauge)
The time taken to calculate the set of valid input versions when scheduling a job
Shown as millisecond
concourse.ci.scheduling_loading_versions_duration_ms
(gauge)
The time taken to load the version information from the database
Shown as millisecond
concourse.ci.volumes_created
(gauge)
The number of volumes created
Shown as volume
concourse.ci.volumes_deleted
(gauge)
The number of volumes deleted
Shown as volume
concourse.ci.worker_containers
(gauge)
The number of containers that are currently running on workers
Shown as container
concourse.ci.worker_volumes
(gauge)
The number of volumes that are currently present on workers
Shown as volume

이벤트

본 통합은 이벤트를 지원하지 않습니다.

서비스

본 통합은 서비스 점검을 수집하지 않습니다.

트러블슈팅

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