Skip to content

Conversation

ZPascal
Copy link
Owner

@ZPascal ZPascal commented Sep 25, 2024

fix: #92

TODO:

  • Adapt the alerting API and support v9 of Grafana

@ZPascal ZPascal self-assigned this Sep 25, 2024
Copy link
Contributor

Coverage Report
FileStmtsMissCover
grafana_api
   \_\_init\_\_.py00100%
   admin.py1600100%
   alerting.py2810100%
   alerting_notifications.py910100%
   alerting_provisioning.py2280100%
   annotations.py1180100%
   api.py1220100%
   authentication.py310100%
   correlations.py620100%
   dashboard.py2490100%
   datasource.py2780100%
   external_group.py340100%
   folder.py1140100%
   legacy_alerting.py630100%
   legacy_playlist.py550100%
   library.py840100%
   licensing.py260100%
   model.py3720100%
   organisation.py1510100%
   other_http.py640100%
   playlist.py800100%
   preferences.py530100%
   query_history.py700100%
   rbac.py3880100%
   reporting.py1740100%
   search.py140100%
   service_account.py1150100%
   short_url.py160100%
   snapshot.py540100%
   sso_settings.py610100%
   team.py1380100%
   user.py1420100%
tests/unittests
   test_admin.py3460100%
   test_alerting.py4940100%
   test_alerting_notifications.py1750100%
   test_alerting_provisioning.py3670100%
   test_annotations.py1350100%
   test_api.py1760100%
   test_authentication.py600100%
   test_correlations.py1240100%
   test_dashboard.py4980100%
   test_datasource.py5390100%
   test_external_group.py650100%
   test_folder.py2180100%
   test_legacy_alerting.py890100%
   test_legacy_playlist.py1090100%
   test_library.py1560100%
   test_licensing.py520100%
   test_model.py360100%
   test_organisation.py2280100%
   test_other_http.py1030100%
   test_playlist.py1670100%
   test_preferences.py950100%
   test_query_history.py1290100%
   test_rbac.py6780100%
   test_reporting.py3150100%
   test_search.py250100%
   test_service_account.py1730100%
   test_short_url.py250100%
   test_snapshot.py1070100%
   test_sso_settings.py1030100%
   test_team.py2870100%
   test_user.py2990100%
TOTAL102610100%
Tests Skipped Failures Errors Time
986 0 💤 0 ❌ 0 🔥 4.570s ⏱️

@ZPascal ZPascal marked this pull request as ready for review September 29, 2024 14:24
Copy link
Contributor

Coverage Report
FileStmtsMissCoverMissing
grafana_api
   \_\_init\_\_.py00100% 
   admin.py1600100% 
   alerting.py299499%884–885, 945–946
   alerting_notifications.py910100% 
   alerting_provisioning.py2280100% 
   annotations.py1180100% 
   api.py1220100% 
   authentication.py310100% 
   correlations.py620100% 
   dashboard.py2490100% 
   datasource.py2780100% 
   external_group.py340100% 
   folder.py1140100% 
   legacy_alerting.py630100% 
   legacy_playlist.py550100% 
   library.py840100% 
   licensing.py260100% 
   model.py3720100% 
   organisation.py1510100% 
   other_http.py640100% 
   playlist.py800100% 
   preferences.py530100% 
   query_history.py700100% 
   rbac.py3880100% 
   reporting.py1740100% 
   search.py140100% 
   service_account.py1150100% 
   short_url.py160100% 
   snapshot.py540100% 
   sso_settings.py610100% 
   team.py1380100% 
   user.py1420100% 
tests/unittests
   test_admin.py3460100% 
   test_alerting.py5060100% 
   test_alerting_notifications.py1750100% 
   test_alerting_provisioning.py3670100% 
   test_annotations.py1350100% 
   test_api.py1760100% 
   test_authentication.py600100% 
   test_correlations.py1240100% 
   test_dashboard.py4980100% 
   test_datasource.py5390100% 
   test_external_group.py650100% 
   test_folder.py2180100% 
   test_legacy_alerting.py890100% 
   test_legacy_playlist.py1090100% 
   test_library.py1560100% 
   test_licensing.py520100% 
   test_model.py360100% 
   test_organisation.py2280100% 
   test_other_http.py1030100% 
   test_playlist.py1670100% 
   test_preferences.py950100% 
   test_query_history.py1290100% 
   test_rbac.py6780100% 
   test_reporting.py3150100% 
   test_search.py250100% 
   test_service_account.py1730100% 
   test_short_url.py250100% 
   test_snapshot.py1070100% 
   test_sso_settings.py1030100% 
   test_team.py2870100% 
   test_user.py2990100% 
TOTAL10291499% 
Tests Skipped Failures Errors Time
988 0 💤 0 ❌ 0 🔥 4.691s ⏱️

Copy link
Contributor

Coverage Report
FileStmtsMissCoverMissing
grafana_api
   \_\_init\_\_.py00100% 
   admin.py1600100% 
   alerting.py299499%884–885, 945–946
   alerting_notifications.py910100% 
   alerting_provisioning.py2280100% 
   annotations.py1180100% 
   api.py1220100% 
   authentication.py310100% 
   correlations.py620100% 
   dashboard.py2490100% 
   datasource.py2780100% 
   external_group.py340100% 
   folder.py1140100% 
   legacy_alerting.py630100% 
   legacy_playlist.py550100% 
   library.py840100% 
   licensing.py260100% 
   model.py3720100% 
   organisation.py1510100% 
   other_http.py640100% 
   playlist.py800100% 
   preferences.py530100% 
   query_history.py700100% 
   rbac.py3880100% 
   reporting.py1740100% 
   search.py140100% 
   service_account.py1150100% 
   short_url.py160100% 
   snapshot.py540100% 
   sso_settings.py610100% 
   team.py1380100% 
   user.py1420100% 
tests/unittests
   test_admin.py3460100% 
   test_alerting.py5060100% 
   test_alerting_notifications.py1750100% 
   test_alerting_provisioning.py3670100% 
   test_annotations.py1350100% 
   test_api.py1760100% 
   test_authentication.py600100% 
   test_correlations.py1240100% 
   test_dashboard.py4980100% 
   test_datasource.py5390100% 
   test_external_group.py650100% 
   test_folder.py2180100% 
   test_legacy_alerting.py890100% 
   test_legacy_playlist.py1090100% 
   test_library.py1560100% 
   test_licensing.py520100% 
   test_model.py360100% 
   test_organisation.py2280100% 
   test_other_http.py1030100% 
   test_playlist.py1670100% 
   test_preferences.py950100% 
   test_query_history.py1290100% 
   test_rbac.py6780100% 
   test_reporting.py3150100% 
   test_search.py250100% 
   test_service_account.py1730100% 
   test_short_url.py250100% 
   test_snapshot.py1070100% 
   test_sso_settings.py1030100% 
   test_team.py2870100% 
   test_user.py2990100% 
TOTAL10291499% 
Tests Skipped Failures Errors Time
988 0 💤 0 ❌ 0 🔥 4.652s ⏱️

Copy link
Contributor

Coverage Report
FileStmtsMissCoverMissing
grafana_api
   \_\_init\_\_.py00100% 
   admin.py1600100% 
   alerting.py299499%884–885, 945–946
   alerting_notifications.py910100% 
   alerting_provisioning.py2280100% 
   annotations.py1180100% 
   api.py1220100% 
   authentication.py310100% 
   correlations.py620100% 
   dashboard.py2490100% 
   datasource.py2780100% 
   external_group.py340100% 
   folder.py1140100% 
   legacy_alerting.py630100% 
   legacy_playlist.py550100% 
   library.py840100% 
   licensing.py260100% 
   model.py3720100% 
   organisation.py1510100% 
   other_http.py640100% 
   playlist.py800100% 
   preferences.py530100% 
   query_history.py700100% 
   rbac.py3880100% 
   reporting.py1740100% 
   search.py140100% 
   service_account.py1150100% 
   short_url.py160100% 
   snapshot.py540100% 
   sso_settings.py610100% 
   team.py1380100% 
   user.py1420100% 
tests/unittests
   test_admin.py3460100% 
   test_alerting.py5060100% 
   test_alerting_notifications.py1750100% 
   test_alerting_provisioning.py3670100% 
   test_annotations.py1350100% 
   test_api.py1760100% 
   test_authentication.py600100% 
   test_correlations.py1240100% 
   test_dashboard.py4980100% 
   test_datasource.py5390100% 
   test_external_group.py650100% 
   test_folder.py2180100% 
   test_legacy_alerting.py890100% 
   test_legacy_playlist.py1090100% 
   test_library.py1560100% 
   test_licensing.py520100% 
   test_model.py360100% 
   test_organisation.py2280100% 
   test_other_http.py1030100% 
   test_playlist.py1670100% 
   test_preferences.py950100% 
   test_query_history.py1290100% 
   test_rbac.py6780100% 
   test_reporting.py3150100% 
   test_search.py250100% 
   test_service_account.py1730100% 
   test_short_url.py250100% 
   test_snapshot.py1070100% 
   test_sso_settings.py1030100% 
   test_team.py2870100% 
   test_user.py2990100% 
TOTAL10291499% 
Tests Skipped Failures Errors Time
988 0 💤 0 ❌ 0 🔥 4.618s ⏱️

Copy link
Contributor

Coverage Report
FileStmtsMissCoverMissing
grafana_api
   \_\_init\_\_.py00100% 
   admin.py1600100% 
   alerting.py299499%884–885, 945–946
   alerting_notifications.py910100% 
   alerting_provisioning.py2280100% 
   annotations.py1180100% 
   api.py1220100% 
   authentication.py310100% 
   correlations.py620100% 
   dashboard.py2490100% 
   datasource.py2780100% 
   external_group.py340100% 
   folder.py1140100% 
   legacy_alerting.py630100% 
   legacy_playlist.py550100% 
   library.py840100% 
   licensing.py260100% 
   model.py3720100% 
   organisation.py1510100% 
   other_http.py640100% 
   playlist.py800100% 
   preferences.py530100% 
   query_history.py700100% 
   rbac.py3880100% 
   reporting.py1740100% 
   search.py140100% 
   service_account.py1150100% 
   short_url.py160100% 
   snapshot.py540100% 
   sso_settings.py610100% 
   team.py1380100% 
   user.py1420100% 
tests/unittests
   test_admin.py3460100% 
   test_alerting.py5060100% 
   test_alerting_notifications.py1750100% 
   test_alerting_provisioning.py3670100% 
   test_annotations.py1350100% 
   test_api.py1760100% 
   test_authentication.py600100% 
   test_correlations.py1240100% 
   test_dashboard.py4980100% 
   test_datasource.py5390100% 
   test_external_group.py650100% 
   test_folder.py2180100% 
   test_legacy_alerting.py890100% 
   test_legacy_playlist.py1090100% 
   test_library.py1560100% 
   test_licensing.py520100% 
   test_model.py360100% 
   test_organisation.py2280100% 
   test_other_http.py1030100% 
   test_playlist.py1670100% 
   test_preferences.py950100% 
   test_query_history.py1290100% 
   test_rbac.py6780100% 
   test_reporting.py3150100% 
   test_search.py250100% 
   test_service_account.py1730100% 
   test_short_url.py250100% 
   test_snapshot.py1070100% 
   test_sso_settings.py1030100% 
   test_team.py2870100% 
   test_user.py2990100% 
TOTAL10291499% 
Tests Skipped Failures Errors Time
988 0 💤 0 ❌ 0 🔥 4.575s ⏱️

Copy link
Contributor

Coverage Report
FileStmtsMissCoverMissing
grafana_api
   \_\_init\_\_.py00100% 
   admin.py1600100% 
   alerting.py299499%884–885, 945–946
   alerting_notifications.py910100% 
   alerting_provisioning.py2280100% 
   annotations.py1180100% 
   api.py1220100% 
   authentication.py310100% 
   correlations.py620100% 
   dashboard.py2490100% 
   datasource.py2780100% 
   external_group.py340100% 
   folder.py1140100% 
   legacy_alerting.py630100% 
   legacy_playlist.py550100% 
   library.py840100% 
   licensing.py260100% 
   model.py3720100% 
   organisation.py1510100% 
   other_http.py640100% 
   playlist.py800100% 
   preferences.py530100% 
   query_history.py700100% 
   rbac.py3880100% 
   reporting.py1740100% 
   search.py140100% 
   service_account.py1150100% 
   short_url.py160100% 
   snapshot.py540100% 
   sso_settings.py610100% 
   team.py1380100% 
   user.py1420100% 
tests/unittests
   test_admin.py3460100% 
   test_alerting.py5060100% 
   test_alerting_notifications.py1750100% 
   test_alerting_provisioning.py3670100% 
   test_annotations.py1350100% 
   test_api.py1760100% 
   test_authentication.py600100% 
   test_correlations.py1240100% 
   test_dashboard.py4980100% 
   test_datasource.py5390100% 
   test_external_group.py650100% 
   test_folder.py2180100% 
   test_legacy_alerting.py890100% 
   test_legacy_playlist.py1090100% 
   test_library.py1560100% 
   test_licensing.py520100% 
   test_model.py360100% 
   test_organisation.py2280100% 
   test_other_http.py1030100% 
   test_playlist.py1670100% 
   test_preferences.py950100% 
   test_query_history.py1290100% 
   test_rbac.py6780100% 
   test_reporting.py3150100% 
   test_search.py250100% 
   test_service_account.py1730100% 
   test_short_url.py250100% 
   test_snapshot.py1070100% 
   test_sso_settings.py1030100% 
   test_team.py2870100% 
   test_user.py2990100% 
TOTAL10291499% 
Tests Skipped Failures Errors Time
988 0 💤 0 ❌ 0 🔥 4.736s ⏱️

Copy link
Contributor

Coverage Report
FileStmtsMissCoverMissing
grafana_api
   \_\_init\_\_.py00100% 
   admin.py1600100% 
   alerting.py299499%884–885, 945–946
   alerting_notifications.py910100% 
   alerting_provisioning.py2280100% 
   annotations.py1180100% 
   api.py1220100% 
   authentication.py310100% 
   correlations.py620100% 
   dashboard.py2490100% 
   datasource.py2780100% 
   external_group.py340100% 
   folder.py1140100% 
   legacy_alerting.py630100% 
   legacy_playlist.py550100% 
   library.py840100% 
   licensing.py260100% 
   model.py3720100% 
   organisation.py1510100% 
   other_http.py640100% 
   playlist.py800100% 
   preferences.py530100% 
   query_history.py700100% 
   rbac.py3880100% 
   reporting.py1740100% 
   search.py140100% 
   service_account.py1150100% 
   short_url.py160100% 
   snapshot.py540100% 
   sso_settings.py610100% 
   team.py1380100% 
   user.py1420100% 
tests/unittests
   test_admin.py3460100% 
   test_alerting.py5060100% 
   test_alerting_notifications.py1750100% 
   test_alerting_provisioning.py3670100% 
   test_annotations.py1350100% 
   test_api.py1760100% 
   test_authentication.py600100% 
   test_correlations.py1240100% 
   test_dashboard.py4980100% 
   test_datasource.py5390100% 
   test_external_group.py650100% 
   test_folder.py2180100% 
   test_legacy_alerting.py890100% 
   test_legacy_playlist.py1090100% 
   test_library.py1560100% 
   test_licensing.py520100% 
   test_model.py360100% 
   test_organisation.py2280100% 
   test_other_http.py1030100% 
   test_playlist.py1670100% 
   test_preferences.py950100% 
   test_query_history.py1290100% 
   test_rbac.py6780100% 
   test_reporting.py3150100% 
   test_search.py250100% 
   test_service_account.py1730100% 
   test_short_url.py250100% 
   test_snapshot.py1070100% 
   test_sso_settings.py1030100% 
   test_team.py2870100% 
   test_user.py2990100% 
TOTAL10291499% 
Tests Skipped Failures Errors Time
988 0 💤 0 ❌ 0 🔥 4.582s ⏱️

Copy link
Contributor

Coverage Report
FileStmtsMissCoverMissing
grafana_api
   \_\_init\_\_.py00100% 
   admin.py1600100% 
   alerting.py299499%884–885, 945–946
   alerting_notifications.py910100% 
   alerting_provisioning.py2280100% 
   annotations.py1180100% 
   api.py1220100% 
   authentication.py310100% 
   correlations.py620100% 
   dashboard.py2490100% 
   datasource.py2780100% 
   external_group.py340100% 
   folder.py1140100% 
   legacy_alerting.py630100% 
   legacy_playlist.py550100% 
   library.py840100% 
   licensing.py260100% 
   model.py3720100% 
   organisation.py1510100% 
   other_http.py640100% 
   playlist.py800100% 
   preferences.py530100% 
   query_history.py700100% 
   rbac.py3880100% 
   reporting.py1740100% 
   search.py140100% 
   service_account.py1150100% 
   short_url.py160100% 
   snapshot.py540100% 
   sso_settings.py610100% 
   team.py1380100% 
   user.py1420100% 
tests/unittests
   test_admin.py3460100% 
   test_alerting.py5060100% 
   test_alerting_notifications.py1750100% 
   test_alerting_provisioning.py3670100% 
   test_annotations.py1350100% 
   test_api.py1760100% 
   test_authentication.py600100% 
   test_correlations.py1240100% 
   test_dashboard.py4980100% 
   test_datasource.py5390100% 
   test_external_group.py650100% 
   test_folder.py2180100% 
   test_legacy_alerting.py890100% 
   test_legacy_playlist.py1090100% 
   test_library.py1560100% 
   test_licensing.py520100% 
   test_model.py360100% 
   test_organisation.py2280100% 
   test_other_http.py1030100% 
   test_playlist.py1670100% 
   test_preferences.py950100% 
   test_query_history.py1290100% 
   test_rbac.py6780100% 
   test_reporting.py3150100% 
   test_search.py250100% 
   test_service_account.py1730100% 
   test_short_url.py250100% 
   test_snapshot.py1070100% 
   test_sso_settings.py1030100% 
   test_team.py2870100% 
   test_user.py2990100% 
TOTAL10291499% 
Tests Skipped Failures Errors Time
988 0 💤 0 ❌ 0 🔥 4.688s ⏱️

@ZPascal ZPascal merged commit ca148ea into main Sep 29, 2024
6 checks passed
@ZPascal ZPascal deleted the issue-92 branch September 29, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant