Concourse-CI

Supported OS Linux Mac OS Windows

Présentation

Configurez l’émetteur de métriques Datadog dans Concourse CI pour :

  • Afficher la durée des pipelines, le nombre de conteneurs et les volumes montés de travail
  • Identifier des requêtes lentes afin d’élaborer des itinéraires

Configuration

Installation

Concourse CI est fourni avec un émetteur de métriques Datadog. Pour que l’ATC envoie des métriques au démarrage, l’Agent Datadog doit être installé.

Configuration

Paramétrez les options suivantes de sorte que l’ATC puisse utiliser l’émetteur Datadog. Il est important d’utiliser un préfixe de concourse.ci pour éviter d’envoyer des métriques custom.

Options de l’émetteur de métriques

Consultez la section de la documentation Concourse CI relative à la configuration des métriques (en anglais) pour en savoir plus.

Metric Emitter (Datadog):
    --datadog-agent-host=       Le host de l'Agent Datadog pour exposer des métriques dogstatsd [$CONCOURSE_DATADOG_AGENT_HOST]
    --datadog-agent-port=       Le port de l'Agent Datadog pour exposer des métriques dogstatsd [$CONCOURSE_DATADOG_AGENT_PORT]
    --datadog-prefix=           Le préfixe de toutes les métriques permettant de les trouver facilement dans Datadog [$CONCOURSE_DATADOG_PREFIX]

Données collectées

Métriques

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

Événements

Cette intégration ne prend en charge aucun événement.

Service

Cette intégration ne recueille aucun check de service.

Dépannage

Besoin d’aide ? Contactez l’assistance Datadog.