Supported OS Linux Windows

Versión de la integración2.2.0

Información general

Este check monitoriza Tekton a través del Datadog Agent. Tekton es un marco de código abierto robusto y flexible para la creación de sistemas CI/CD, que permite a los desarrolladores crear, probar y desplegar en proveedores de nube y sistemas on-premise.

Configuración

Sigue las instrucciones a continuación para instalar y configurar este check para un Agent que se ejecuta en un host. Para entornos contenedorizados, consulta las plantillas de integración de Autodiscovery para obtener orientación sobre la aplicación de estas instrucciones.

Instalación

A partir del Agent versión 7.53.0, el check de Tekton está incluido en el paquete del Datadog Agent. No es necesaria ninguna instalación adicional en tu servidor.

Este check utiliza OpenMetrics para recopilar métricas del endpoint expuesto por Tekton, que requiere Python v3.

Configuración

  1. Edita el archivo tekton.d/conf.yaml, en la carpeta conf.d/ en la raíz del directorio de configuración de tu Agent para empezar a recopilar tus datos de rendimiento de Tekton. Consulta el tekton.d/conf.yaml de ejemplo para ver todas las opciones de configuración disponibles.

  2. Reinicia el Agent.

Validación

Ejecuta el subcomando de estado del Agent y busca tekton en la sección Checks.

Datos recopilados

Métricas

tekton.pipelines_controller.client.latency.bucket
(count)
Duration of Kubernetes API requests.
tekton.pipelines_controller.client.latency.count
(count)
Duration of Kubernetes API requests.
tekton.pipelines_controller.client.latency.sum
(count)
Duration of Kubernetes API requests.
Shown as second
tekton.pipelines_controller.client.results.count
(count)
Total number of API requests (broken down by status code).
Shown as request
tekton.pipelines_controller.go.alloc
(gauge)
The number of bytes of allocated heap objects.
Shown as byte
tekton.pipelines_controller.go.bucket_hash_sys
(gauge)
The number of bytes of memory in profiling bucket hash tables.
Shown as byte
tekton.pipelines_controller.go.frees
(gauge)
The number of heap objects freed.
Shown as object
tekton.pipelines_controller.go.gc_cpu_fraction
(gauge)
The fraction of this program’s available CPU time used by the GC since the program started.
Shown as fraction
tekton.pipelines_controller.go.gc_sys
(gauge)
The number of bytes of memory in garbage collection metadata.
Shown as byte
tekton.pipelines_controller.go.heap_alloc
(gauge)
The number of bytes of allocated heap objects.
Shown as byte
tekton.pipelines_controller.go.heap_idle
(gauge)
The number of bytes in idle (unused) spans.
Shown as byte
tekton.pipelines_controller.go.heap_in_use
(gauge)
The number of bytes in in-use spans.
Shown as byte
tekton.pipelines_controller.go.heap_objects
(gauge)
The number of allocated heap objects.
Shown as object
tekton.pipelines_controller.go.heap_released
(gauge)
The number of bytes of physical memory returned to the OS.
Shown as byte
tekton.pipelines_controller.go.heap_sys
(gauge)
The number of bytes of heap memory obtained from the OS.
Shown as byte
tekton.pipelines_controller.go.last_gc
(gauge)
The time the last garbage collection finished, as nanoseconds since 1970 (the UNIX epoch).
Shown as nanosecond
tekton.pipelines_controller.go.lookups
(gauge)
The number of pointer lookups performed by the runtime.
Shown as operation
tekton.pipelines_controller.go.mallocs
(gauge)
The number of heap objects allocated.
Shown as object
tekton.pipelines_controller.go.mcache_in_use
(gauge)
The number of bytes of allocated mcache structures.
Shown as byte
tekton.pipelines_controller.go.mcache_sys
(gauge)
The number of bytes of memory obtained from the OS for mcache structures.
Shown as byte
tekton.pipelines_controller.go.mspan_in_use
(gauge)
The number of bytes of allocated mspan structures.
Shown as byte
tekton.pipelines_controller.go.mspan_sys
(gauge)
The number of bytes of memory obtained from the OS for mspan structures.
Shown as byte
tekton.pipelines_controller.go.next_gc
(gauge)
The target heap size of the next GC cycle.
Shown as byte
tekton.pipelines_controller.go.num_forced_gc
(gauge)
The number of GC cycles that were forced by the application calling the GC function.
tekton.pipelines_controller.go.num_gc
(gauge)
The number of completed GC cycles.
tekton.pipelines_controller.go.other_sys
(gauge)
The number of bytes of memory in miscellaneous off-heap runtime allocations.
Shown as byte
tekton.pipelines_controller.go.stack_in_use
(gauge)
The number of bytes in stack spans.
Shown as byte
tekton.pipelines_controller.go.stack_sys
(gauge)
The number of bytes of stack memory obtained from the OS.
Shown as byte
tekton.pipelines_controller.go.sys
(gauge)
The total bytes of memory obtained from the OS.
Shown as byte
tekton.pipelines_controller.go.total_alloc
(gauge)
The cumulative bytes allocated for heap objects.
Shown as byte
tekton.pipelines_controller.go.total_gc_pause
(gauge)
The duration in GC stop-the-world pauses since the program started.
Shown as nanosecond
tekton.pipelines_controller.pipelinerun.count
(count)
Total number of PipelineRun triggered.
tekton.pipelines_controller.pipelinerun.duration.bucket
(count)
Duration of the PipelineRun.
Shown as second
tekton.pipelines_controller.pipelinerun.duration.count
(count)
Duration of the PipelineRun.
tekton.pipelines_controller.pipelinerun.duration.sum
(count)
Duration of the PipelineRun.
Shown as second
tekton.pipelines_controller.pipelinerun.taskrun.duration.bucket
(count)
Duration of the TaskRun for the PipelineRun.
Shown as second
tekton.pipelines_controller.pipelinerun.taskrun.duration.count
(count)
Duration of the TaskRun for the PipelineRun.
tekton.pipelines_controller.pipelinerun.taskrun.duration.sum
(count)
Duration of the TaskRun for the PipelineRun.
Shown as second
tekton.pipelines_controller.running_pipelineruns
(gauge)
Number of running pipelineruns.
tekton.pipelines_controller.running_pipelineruns_waiting_on_pipeline_resolution
(gauge)
Number of pipelineruns waiting on pipeline resolution.
tekton.pipelines_controller.running_pipelineruns_waiting_on_task_resolution
(gauge)
Number of pipelineruns waiting on task resolution.
tekton.pipelines_controller.running_taskruns
(gauge)
Number of running taskruns.
tekton.pipelines_controller.running_taskruns_throttled_by_node
(gauge)
Number of taskruns throttled by node.
tekton.pipelines_controller.running_taskruns_throttled_by_quota
(gauge)
Number of taskruns throttled by quota.
tekton.pipelines_controller.running_taskruns_waiting_on_task_resolution
(gauge)
Number of taskruns waiting on task resolution.
tekton.pipelines_controller.taskrun.count
(count)
Total number of TaskRun triggered.
tekton.pipelines_controller.taskrun_duration.bucket
(count)
Duration of the TaskRun.
Shown as second
tekton.pipelines_controller.taskrun_duration.count
(count)
Duration of the TaskRun.
tekton.pipelines_controller.taskrun_duration.sum
(count)
Duration of the TaskRun.
Shown as second
tekton.pipelines_controller.taskruns_pod_latency
(gauge)
The scheduling latency for the taskruns pods.
Shown as millisecond
tekton.pipelines_controller.workqueue.longest_running_processor.bucket
(count)
Longest outstanding workqueue item has been in flight.
Shown as second
tekton.pipelines_controller.workqueue.longest_running_processor.count
(count)
Longest outstanding workqueue item has been in flight.
tekton.pipelines_controller.workqueue.longest_running_processor.sum
(count)
Longest outstanding workqueue item has been in flight.
Shown as second
tekton.pipelines_controller.workqueue.unfinished_work.bucket
(count)
Duration an item from workqueue takes to get processed.
Shown as second
tekton.pipelines_controller.workqueue.unfinished_work.count
(count)
Duration an item from workqueue takes to get processed.
tekton.pipelines_controller.workqueue.unfinished_work.sum
(count)
Duration an item from workqueue takes to get processed.
Shown as second
tekton.triggers_controller.client.latency.bucket
(count)
Duration of Kubernetes API requests.
Shown as second
tekton.triggers_controller.client.latency.count
(count)
Duration of Kubernetes API requests.
tekton.triggers_controller.client.latency.sum
(count)
Duration of Kubernetes API requests.
Shown as second
tekton.triggers_controller.client.results.count
(count)
Total number of API requests (broken down by status code).
Shown as request
tekton.triggers_controller.clusterinterceptor
(gauge)
The number of clusterinterceptor.
tekton.triggers_controller.clustertriggerbinding
(gauge)
The number of clustertriggerbinding.
tekton.triggers_controller.eventlistener
(gauge)
The number of eventlistener.
tekton.triggers_controller.go.alloc
(gauge)
The number of bytes of allocated heap objects.
Shown as byte
tekton.triggers_controller.go.bucket_hash_sys
(gauge)
The number of bytes of memory in profiling bucket hash tables.
Shown as byte
tekton.triggers_controller.go.frees
(gauge)
The number of heap objects freed.
Shown as object
tekton.triggers_controller.go.gc_cpu_fraction
(gauge)
The fraction of this program’s available CPU time used by the GC since the program started.
Shown as fraction
tekton.triggers_controller.go.gc_sys
(gauge)
The number of bytes of memory in garbage collection metadata.
Shown as byte
tekton.triggers_controller.go.heap_alloc
(gauge)
The number of bytes of allocated heap objects.
Shown as byte
tekton.triggers_controller.go.heap_idle
(gauge)
The number of bytes in idle (unused) spans.
Shown as byte
tekton.triggers_controller.go.heap_in_use
(gauge)
The number of bytes in in-use spans.
Shown as byte
tekton.triggers_controller.go.heap_objects
(gauge)
The number of allocated heap objects.
Shown as object
tekton.triggers_controller.go.heap_released
(gauge)
The number of bytes of physical memory returned to the OS.
Shown as byte
tekton.triggers_controller.go.heap_sys
(gauge)
The number of bytes of heap memory obtained from the OS.
Shown as byte
tekton.triggers_controller.go.last_gc
(gauge)
The time the last garbage collection finished, as nanoseconds since 1970 (the UNIX epoch).
Shown as nanosecond
tekton.triggers_controller.go.lookups
(gauge)
The number of pointer lookups performed by the runtime.
tekton.triggers_controller.go.mallocs
(gauge)
The number of heap objects allocated.
Shown as object
tekton.triggers_controller.go.mcache_in_use
(gauge)
The number of bytes of allocated mcache structures.
Shown as byte
tekton.triggers_controller.go.mcache_sys
(gauge)
The number of bytes of memory obtained from the OS for mcache structures.
Shown as byte
tekton.triggers_controller.go.mspan_in_use
(gauge)
The number of bytes of allocated mspan structures.
Shown as byte
tekton.triggers_controller.go.mspan_sys
(gauge)
The number of bytes of memory obtained from the OS for mspan structures.
Shown as byte
tekton.triggers_controller.go.next_gc
(gauge)
The target heap size of the next GC cycle.
Shown as byte
tekton.triggers_controller.go.num_forced_gc
(gauge)
The number of GC cycles that were forced by the application calling the GC function.
tekton.triggers_controller.go.num_gc
(gauge)
The number of completed GC cycles.
tekton.triggers_controller.go.other_sys
(gauge)
The number of bytes of memory in miscellaneous off-heap runtime allocations.
Shown as byte
tekton.triggers_controller.go.stack_in_use
(gauge)
The number of bytes in stack spans.
Shown as byte
tekton.triggers_controller.go.stack_sys
(gauge)
The number of bytes of stack memory obtained from the OS.
Shown as byte
tekton.triggers_controller.go.sys
(gauge)
The total bytes of memory obtained from the OS.
Shown as byte
tekton.triggers_controller.go.total_alloc
(gauge)
The cumulative bytes allocated for heap objects.
Shown as byte
tekton.triggers_controller.go.total_gc_pause
(gauge)
The duration in GC stop-the-world pauses since the program started.
Shown as nanosecond
tekton.triggers_controller.reconcile.count
(count)
Number of reconcile operations.
Shown as operation
tekton.triggers_controller.reconcile_latency.bucket
(count)
Latency of reconcile operations.
tekton.triggers_controller.reconcile_latency.count
(count)
Latency of reconcile operations.
tekton.triggers_controller.reconcile_latency.sum
(count)
Latency of reconcile operations.
Shown as second
tekton.triggers_controller.triggerbinding
(gauge)
Number of triggerbinding.
tekton.triggers_controller.triggertemplate
(gauge)
number of triggertemplate.
tekton.triggers_controller.work_queue_depth
(gauge)
Depth of the work queue.
tekton.triggers_controller.workqueue.adds.count
(count)
Total number of adds handled by workqueue.
tekton.triggers_controller.workqueue.depth
(gauge)
Current depth of workqueue.
tekton.triggers_controller.workqueue.longest_running_processor.bucket
(count)
Longest outstanding workqueue item has been in flight.
tekton.triggers_controller.workqueue.longest_running_processor.count
(count)
Longest outstanding workqueue item has been in flight.
tekton.triggers_controller.workqueue.longest_running_processor.sum
(count)
Longest outstanding workqueue item has been in flight.
Shown as second
tekton.triggers_controller.workqueue.queue_latency.bucket
(count)
Duration an item stays in workqueue before being requested.
tekton.triggers_controller.workqueue.queue_latency.count
(count)
Duration an item stays in workqueue before being requested.
tekton.triggers_controller.workqueue.queue_latency.sum
(count)
Duration an item stays in workqueue before being requested.
Shown as second
tekton.triggers_controller.workqueue.unfinished_work.bucket
(count)
Duration the outstanding workqueue items have been in flight.
tekton.triggers_controller.workqueue.unfinished_work.count
(count)
Duration the outstanding workqueue items have been in flight.
tekton.triggers_controller.workqueue.unfinished_work.sum
(count)
Duration the outstanding workqueue items have been in flight.
tekton.triggers_controller.workqueue.work_duration.bucket
(count)
Duration an item from workqueue takes to get processed.
tekton.triggers_controller.workqueue.work_duration.count
(count)
Duration an item from workqueue takes to get processed.
tekton.triggers_controller.workqueue.work_duration.sum
(count)
Duration an item from workqueue takes to get processed.

Eventos

La integración Tekton no incluye eventos.

Checks de servicio

tekton.pipelines_controller.openmetrics.health

Returns CRITICAL if the check cannot access the OpenMetrics metrics endpoint of Tekton Pipelines.

Statuses: ok, critical

tekton.triggers_controller.openmetrics.health

Returns CRITICAL if the check cannot access the OpenMetrics metrics endpoint of Tekton Triggers.

Statuses: ok, critical

Solucionar problemas

¿Necesitas ayuda? Ponte en contacto con el equipo de asistencia de Datadog.

Referencias adicionales

Más enlaces, artículos y documentación útiles: