[ArgoCD] Openmetrics integration in Datadog times out after 10 seconds
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- kubernetes, python
調査の方向性
報告にはソースファイルもテストも記載されていません。まず、提供された Pod アノテーションを使ってスクレイプを再現し、ArgoCD のバージョン 2.9.7 から 2.11.0 までとラウンドロビン・シャーディング設定を比較してください。設定されたタイムアウトが依然として 10 秒と報告される理由を調査してください。完了の条件は、統合機能がタイムアウトせずにコントローラーメトリクスを収集することです。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Python
- スター
- 1.2k
- フォーク
- 1.6k
- 平均マージ
- 3日 4時間
- マージ済み PR(30日)
- 262
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DataDog/integrations-core のほかの issue
-
[redisdb] ZeroDivisionError when INFO keyspace reports a database with keys=0 (e.g. Dragonfly)対応中かも @caiotheodoro が 19 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
DataDog/integrations-core#25519 ·
メンテナーはふだん 1 日以内に返信
-
[prefect] Support `PREFECT_SERVER_API_AUTH_STRING` for authentication対応中かも @darshan-shanthveer-patil が 15 日前に担当しました。 オープンoss/0 pending team/agent-integrations
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
DataDog/integrations-core#25512 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Fix typo in Streamnative sink connector dashboard再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンteam/saas-integrations
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
DataDog/integrations-core#24222 ·
メンテナーはふだん 1 日以内に返信
-
Fix typo in Cisco Secure Firewall transparent firewall dashboard対応中かも @lntutor が 86 日前に担当しました。 オープンoss/0 team/agent-integrations
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
DataDog/integrations-core#24218 ·
メンテナーはふだん 1 日以内に返信
-
OOM Kill: documentation using not required Docker Mounts when kernel has BPF built in対応中かも @colinbjohnson が 34 日前に担当しました。 オープンoss/0 pending team/container-integrations
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
DataDog/integrations-core#24068 ·
メンテナーはふだん 1 日以内に返信
DataDog/integrations-core の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Arekkazu/sgpmp-backend#744 ·
メンテナーはふだん 1 日以内に返信
-
agent/reviewer
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
projectbluefin/utah-packages#634 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue help wanted
難易度 2/5 1〜2日 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
home-assistant/core#188613 ·
メンテナーはふだん 1 日以内に返信
-
Websiteオープンgood first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 91/100
TanbirRamim/open-source-radar#314 ·
メンテナーはふだん 1 日以内に返信