[ArgoCD] Openmetrics integration in Datadog times out after 10 seconds
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- kubernetes, python
- Área
- devops, observability-sre
Línea de trabajo
En el informe no se menciona ningún archivo fuente ni ninguna prueba. Empieza reproduciendo el scrape con la anotación del pod proporcionada, comparando las versiones de ArgoCD de la 2.9.7 a la 2.11.0 y la configuración de sharding round-robin; investiga por qué el timeout configurado sigue informándose como 10 segundos. Se considera terminado cuando la integración recopila las métricas del controlador sin que se produzca un timeout.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hello,
We get the following error when the datadog agent is trying to scrape the ArgoCD controller openmetrics endpoint.
Additional environment details (Operating System, Cloud provider, etc):
Steps to reproduce the issue:
Configuration on the pod using the official ArgoCD helm chart:
podAnnotations:
ad.datadoghq.com/application-controller.checks: |
{
"argocd": {
"instances": [
{
"app_controller_endpoint": "http://%%host%%:8082/metrics"
}
]
}
}
We use the same configuration as described in the documentation for Datadog.
Describe the results you expected:
When using versions above 2.9.6 and below 2.11.0 of ArgoCD we get the following error shown above
I've tried to add the setting prometheus_timeout to the openmetrics configuration like described on the documentation:
https://docs.datadoghq.com/integrations/guide/prometheus-host-collection/
With the same configuration all the needed metrics are sent to Datadog and with the default ArgoCD dashboard it's possible to see them. After changing the ArgoCD version between v2.9.7 and 2.11.0, the error starts to appear and there are no metrics reaching Datadog.
The Datadog agent version is v7.53.0
Also after adding the prometheus_timeout to 30 the same error appears with the message that it timed out after 10s, seeming not to have any effect.
Is there something I'm missing? Also with the different versions of ArgoCD it wasn't supposed to stop sending metrics.
I'll be doing some more tests in order to try and check if any other middle version might work correctly
Fyi, found this issue while investigating another one with ArgoCD itself, more information can be found here
Thanks!
UPDATE
Hello,
Just to add some more information. It seems that the issue happens if the parameter controller.sharding.algorithm: "round-robin" documented here is added to the ArgoCD configuration.
I suppose that this different mode might generate alot more metrics than the legacy configuration and that might be causing the timeout after the 10 seconds.
If there is any setting to increase this timeout, I can try it out in the configuration.
Thanks
- Lenguaje dominante
- Python
- Estrellas
- 1.2k
- Forks
- 1.6k
- Merge medio
- 3 d 4 h
- PR fusionados (30 d)
- 262
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de DataDog/integrations-core
-
[redisdb] ZeroDivisionError when INFO keyspace reports a database with keys=0 (e.g. Dragonfly)Posiblemente ocupada @caiotheodoro la tomó hace 19 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
DataDog/integrations-core#25519 ·
Los mantenedores suelen responder en 1 día
-
[prefect] Support `PREFECT_SERVER_API_AUTH_STRING` for authenticationPosiblemente ocupada @darshan-shanthveer-patil la tomó hace 15 días. Abiertooss/0 pending team/agent-integrations
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
DataDog/integrations-core#25512 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Fix typo in Streamnative sink connector dashboardQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertoteam/saas-integrations
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
DataDog/integrations-core#24222 ·
Los mantenedores suelen responder en 1 día
-
Fix typo in Cisco Secure Firewall transparent firewall dashboardPosiblemente ocupada @lntutor la tomó hace 86 días. Abiertooss/0 team/agent-integrations
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
DataDog/integrations-core#24218 ·
Los mantenedores suelen responder en 1 día
-
OOM Kill: documentation using not required Docker Mounts when kernel has BPF built inPosiblemente ocupada @colinbjohnson la tomó hace 34 días. Abiertooss/0 pending team/container-integrations
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
DataDog/integrations-core#24068 ·
Los mantenedores suelen responder en 1 día
Todos los issues de DataDog/integrations-core
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
GoogleCloudPlatform/gce-rescue#195 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día
-
intake mcp-intake needs-ac needs-human-review priority:medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Ikalus1988/MisakaNet#3848 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
521xueweihan/HelloGitHub#4105 ·
-
bug size:XS
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 1 día