TODO:
generate the metrics for the vault- test the content of the exported file
- add an info field containing the result of the test to help the diagnosis in the monitoring
Related to T3129
Differential D6926
First iteration of prometheus export of the e2e metrics vsellier on Jan 12 2022, 3:07 PM. Authored by
Details
TODO:
Related to T3129 Example of generated metrics:
# HELP swh_e2e_duration_seconds # TYPE swh_e2e_duration_seconds gauge swh_e2e_duration_seconds{application="scn",status="succeeded"} 30.0 # HELP swh_e2e_status # TYPE swh_e2e_status gauge swh_e2e_status{application="scn"} 0.0
# HELP swh_e2e_duration_seconds # TYPE swh_e2e_duration_seconds gauge swh_e2e_duration_seconds{application="deposit",stage="validation",status="ok"} 10.0 swh_e2e_duration_seconds{application="deposit",stage="loading",status="failed"} 20.0 swh_e2e_duration_seconds{application="deposit",stage="total",status="failed"} 30.0 # HELP swh_e2e_status # TYPE swh_e2e_status gauge swh_e2e_status{application="deposit"} 2.0
# HELP swh_e2e_status # TYPE swh_e2e_status gauge swh_e2e_status{application="vault"} 2.0 # HELP swh_e2e_duration_seconds # TYPE swh_e2e_duration_seconds gauge swh_e2e_duration_seconds{application="vault",status="failed",step="end"} 10.0
Diff Detail
Event TimelineComment Actions Build has FAILED Patch application report for D6926 (id=25102)Rebasing onto c4f025e849... Current branch diff-target is up to date. Changes applied before testcommit d4d2c0449bc279618cab1f5198f8e81f52002b33 Author: Vincent SELLIER <vincent.sellier@softwareheritage.org> Date: Wed Jan 12 15:03:06 2022 +0100 WIP - First iteration of prometheus export of the e2e metrics TODO: - generate the metrics for the vault - test the content of the exported file - add an info field containing the result of the test to help the diagnosis in the monitoring Related to T3129 Link to build: https://jenkins.softwareheritage.org/job/DICP/job/tests-on-diff/38/ Comment Actions Build has FAILED Patch application report for D6926 (id=25104)Rebasing onto c4f025e849... Current branch diff-target is up to date. Changes applied before testcommit 54f100898bd6a925a02a1733d4aae187bf44d738 Author: Vincent SELLIER <vincent.sellier@softwareheritage.org> Date: Wed Jan 12 15:03:06 2022 +0100 WIP - First iteration of prometheus export of the e2e metrics TODO: - generate the metrics for the vault - test the content of the exported file - add an info field containing the result of the test to help the diagnosis in the monitoring Related to T3129 Link to build: https://jenkins.softwareheritage.org/job/DICP/job/tests-on-diff/39/ Comment Actions Build has FAILED Patch application report for D6926 (id=25555)Rebasing onto c4f025e849... Current branch diff-target is up to date. Changes applied before testcommit e4bb1261ec2c4fbfd7adf9ccf63c5004e35ae321 Author: Vincent SELLIER <vincent.sellier@softwareheritage.org> Date: Wed Jan 12 15:03:06 2022 +0100 WIP - First iteration of prometheus export of the e2e metrics TODO: - generate the metrics for the vault - test the content of the exported file - add an info field containing the result of the test to help the diagnosis in the monitoring Related to T3129 Link to build: https://jenkins.softwareheritage.org/job/DICP/job/tests-on-diff/40/ Comment Actions Build has FAILED Patch application report for D6926 (id=25556)Rebasing onto c4f025e849... Current branch diff-target is up to date. Changes applied before testcommit 24f1afe34b0be999c26eadbb2359460d4ce5cffb Author: Vincent SELLIER <vincent.sellier@softwareheritage.org> Date: Wed Jan 12 15:03:06 2022 +0100 WIP - First iteration of prometheus export of the e2e metrics TODO: - generate the metrics for the vault - test the content of the exported file - add an info field containing the result of the test to help the diagnosis in the monitoring Related to T3129 Link to build: https://jenkins.softwareheritage.org/job/DICP/job/tests-on-diff/41/ Comment Actions Build has FAILED Patch application report for D6926 (id=25559)Rebasing onto 742053536f... Current branch diff-target is up to date. Changes applied before testcommit 7c6d921180322ccef54ddec337366808c7f5e61f Author: Vincent SELLIER <vincent.sellier@softwareheritage.org> Date: Wed Jan 12 15:03:06 2022 +0100 WIP - First iteration of prometheus export of the e2e metrics TODO: - generate the metrics for the vault - test the content of the exported file - add an info field containing the result of the test to help the diagnosis in the monitoring Related to T3129 Link to build: https://jenkins.softwareheritage.org/job/DICP/job/tests-on-diff/43/ Comment Actions Build is green Patch application report for D6926 (id=25560)Rebasing onto 742053536f... Current branch diff-target is up to date. Changes applied before testcommit 04ba6906d071a045c4f2a10edb7956283f112f45 Author: Vincent SELLIER <vincent.sellier@softwareheritage.org> Date: Wed Jan 12 15:03:06 2022 +0100 WIP - First iteration of prometheus export of the e2e metrics TODO: - generate the metrics for the vault - test the content of the exported file - add an info field containing the result of the test to help the diagnosis in the monitoring Related to T3129 See https://jenkins.softwareheritage.org/job/DICP/job/tests-on-diff/44/ for more details. Comment Actions Build is green Patch application report for D6926 (id=27348)Rebasing onto 95df818bb8... First, rewinding head to replay your work on top of it... Applying: WIP - First iteration of prometheus export of the e2e metrics Using index info to reconstruct a base tree... M swh/icinga_plugins/cli.py M swh/icinga_plugins/deposit.py M swh/icinga_plugins/tests/test_deposit.py M swh/icinga_plugins/tests/test_save_code_now.py M swh/icinga_plugins/tests/test_vault.py Falling back to patching base and 3-way merge... Auto-merging swh/icinga_plugins/tests/test_vault.py Auto-merging swh/icinga_plugins/tests/test_save_code_now.py Auto-merging swh/icinga_plugins/tests/test_deposit.py Auto-merging swh/icinga_plugins/deposit.py Auto-merging swh/icinga_plugins/cli.py CONFLICT (content): Merge conflict in swh/icinga_plugins/cli.py Patch failed at 0001 WIP - First iteration of prometheus export of the e2e metrics Resolve all conflicts manually, mark them as resolved with "git add/rm <conflicted_files>", then run "git rebase --continue". You can instead skip this commit: run "git rebase --skip". To abort and get back to the state before "git rebase", run "git rebase --abort". Rebase failed (ret=1)! Could not rebase; Attempt merge onto 95df818bb8... Already up to date. Changes applied before testcommit 9f80eac01aeeeabb4924455d8006927c58a7f471 Author: Vincent SELLIER <vincent.sellier@softwareheritage.org> Date: Fri Apr 8 16:17:13 2022 +0200 WIP - First iteration of prometheus export of the e2e metrics Summary: TODO: - ~~generate the metrics for the vault~~ - test the content of the exported file - add an info field containing the result of the test to help the diagnosis in the monitoring Related to T3129 Test Plan: Example of generated metrics: - scn: swh_e2e_duration_seconds{application="scn",status="succeeded"} 30.0 swh_e2e_status{application="scn"} 0.0 ``` - deposit: ``` swh_e2e_duration_seconds{application="deposit",stage="validation",status="ok"} 10.0 swh_e2e_duration_seconds{application="deposit",stage="loading",status="failed"} 20.0 swh_e2e_duration_seconds{application="deposit",stage="total",status="failed"} 30.0 swh_e2e_status{application="deposit"} 2.0 ``` - vault ``` swh_e2e_status{application="vault"} 2.0 swh_e2e_duration_seconds{application="vault",status="failed",step="end"} 10.0 ``` Reviewers: #system_administrators Maniphest Tasks: T3129 Differential Revision: https://forge.softwareheritage.org/D6926 See https://jenkins.softwareheritage.org/job/DICP/job/tests-on-diff/68/ for more details. Comment Actions Build is green Patch application report for D6926 (id=27559)Rebasing onto 95df818bb8... Current branch diff-target is up to date. Changes applied before testcommit d7330f61231c9005b740133ec859a894445e039a Author: Vincent SELLIER <vincent.sellier@softwareheritage.org> Date: Fri Apr 8 16:17:13 2022 +0200 WIP - First iteration of prometheus export of the e2e metrics Summary: TODO: - ~~generate the metrics for the vault~~ - test the content of the exported file - add an info field containing the result of the test to help the diagnosis in the monitoring Related to T3129 Test Plan: Example of generated metrics: - scn: swh_e2e_duration_seconds{application="scn",status="succeeded"} 30.0 swh_e2e_status{application="scn"} 0.0 ``` - deposit: ``` swh_e2e_duration_seconds{application="deposit",stage="validation",status="ok"} 10.0 swh_e2e_duration_seconds{application="deposit",stage="loading",status="failed"} 20.0 swh_e2e_duration_seconds{application="deposit",stage="total",status="failed"} 30.0 swh_e2e_status{application="deposit"} 2.0 ``` - vault ``` swh_e2e_status{application="vault"} 2.0 swh_e2e_duration_seconds{application="vault",status="failed",step="end"} 10.0 ``` Reviewers: #system_administrators Maniphest Tasks: T3129 Differential Revision: https://forge.softwareheritage.org/D6926 See https://jenkins.softwareheritage.org/job/DICP/job/tests-on-diff/69/ for more details. Comment Actions Build is green Patch application report for D6926 (id=27945)Rebasing onto f1804f1cab... Current branch diff-target is up to date. Changes applied before testcommit e3be943d0c98beffb5f2a1fb3f68f5fcc909f94b Author: Vincent SELLIER <vincent.sellier@softwareheritage.org> Date: Fri Apr 8 16:17:13 2022 +0200 WIP - First iteration of prometheus export of the e2e metrics Summary: TODO: - ~~generate the metrics for the vault~~ - test the content of the exported file - add an info field containing the result of the test to help the diagnosis in the monitoring Related to T3129 Test Plan: Example of generated metrics: - scn: swh_e2e_duration_seconds{application="scn",status="succeeded"} 30.0 swh_e2e_status{application="scn"} 0.0 ``` - deposit: ``` swh_e2e_duration_seconds{application="deposit",stage="validation",status="ok"} 10.0 swh_e2e_duration_seconds{application="deposit",stage="loading",status="failed"} 20.0 swh_e2e_duration_seconds{application="deposit",stage="total",status="failed"} 30.0 swh_e2e_status{application="deposit"} 2.0 ``` - vault ``` swh_e2e_status{application="vault"} 2.0 swh_e2e_duration_seconds{application="vault",status="failed",step="end"} 10.0 ``` Reviewers: #system_administrators Maniphest Tasks: T3129 Differential Revision: https://forge.softwareheritage.org/D6926 See https://jenkins.softwareheritage.org/job/DICP/job/tests-on-diff/71/ for more details.
Comment Actions lgtm A couple of suggestions inline. Comment Actions Build is green Patch application report for D6926 (id=28160)Rebasing onto 3e33ab9f97... Current branch diff-target is up to date. Changes applied before testcommit 9812ac8f7b1d82003f95b90640bf1c5a26a944e6 Author: Vincent SELLIER <vincent.sellier@softwareheritage.org> Date: Fri Apr 8 16:17:13 2022 +0200 First iteration of prometheus export of the e2e metrics Related to T3129 See https://jenkins.softwareheritage.org/job/DICP/job/tests-on-diff/73/ for more details. |