fast2dev 1.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (543) hide show
  1. f2dev/__init__.py +1 -0
  2. f2dev/__main__.py +5 -0
  3. f2dev/_bundle/platform/.dockerignore +80 -0
  4. f2dev/_bundle/platform/.gitignore +82 -0
  5. f2dev/_bundle/platform/LICENSE +202 -0
  6. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/template_values.yaml +1731 -0
  7. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/Chart.yaml +9 -0
  8. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-airflow-deploy.yaml +60 -0
  9. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-bi-sync.yaml +46 -0
  10. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-checkout.yaml +49 -0
  11. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-console-sync.yaml +41 -0
  12. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-label.yaml +48 -0
  13. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-run.yaml +43 -0
  14. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-teardown.yaml +47 -0
  15. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-governance.yaml +40 -0
  16. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-lint.yaml +37 -0
  17. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-notify.yaml +32 -0
  18. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-quality.yaml +38 -0
  19. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-refresh.yaml +36 -0
  20. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-supersede.yaml +30 -0
  21. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-tags.yaml +44 -0
  22. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-branch.yaml +138 -0
  23. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-main.yaml +150 -0
  24. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-pr.yaml +184 -0
  25. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/NOTES.txt +18 -0
  26. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/settings-configmap.yaml +14 -0
  27. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/workflowtemplates.yaml +31 -0
  28. f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/values.yaml +41 -0
  29. f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/github/template_github_values.yaml +436 -0
  30. f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/github/template_github_values_extra.yaml +49 -0
  31. f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/gitlab/template_gitlab_values.yaml +551 -0
  32. f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/gitlab/template_gitlab_values_extra.yaml +9 -0
  33. f2dev/_bundle/platform/charts/data_services_charts/data_analysis/lightdash/template_values.yaml +359 -0
  34. f2dev/_bundle/platform/charts/data_services_charts/data_analysis/metabase/template_values.yaml +384 -0
  35. f2dev/_bundle/platform/charts/data_services_charts/data_analysis/superset/template_values.yaml +1562 -0
  36. f2dev/_bundle/platform/charts/data_services_charts/data_analysis/template_values.yaml +269 -0
  37. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/.helmignore +15 -0
  38. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/Chart.yaml +20 -0
  39. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/template_values.yaml.j2 +175 -0
  40. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/NOTES.txt +19 -0
  41. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/_helpers.tpl +50 -0
  42. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/cicd-rbac.yaml +30 -0
  43. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/configmap.yaml +142 -0
  44. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/extras.yaml +14 -0
  45. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/ingress.yaml +69 -0
  46. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/promtail-configmap.yaml +68 -0
  47. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/secret.yaml +31 -0
  48. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/service.yaml +15 -0
  49. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/serviceaccount.yaml +12 -0
  50. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/statefulset.yaml +276 -0
  51. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/valkey.yaml +113 -0
  52. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/warehouse-stats-cronjob.yaml +107 -0
  53. f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/values.yaml +828 -0
  54. f2dev/_bundle/platform/charts/data_services_charts/data_dbt_server/template_values.yaml +385 -0
  55. f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_dh_prerequisites_values.yaml +118 -0
  56. f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_dh_values.yaml +1671 -0
  57. f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_kafka_values.yaml +112 -0
  58. f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_opensearch_values.yaml +662 -0
  59. f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_values.yaml +738 -0
  60. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/Chart.yaml +6 -0
  61. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/files/argo-openapi.json +681 -0
  62. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/_helpers.tpl +17 -0
  63. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/argo-rbac.yaml +35 -0
  64. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/backends.yaml +327 -0
  65. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/gateway.yaml +150 -0
  66. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/values.yaml +91 -0
  67. f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/template_values.yaml +142 -0
  68. f2dev/_bundle/platform/charts/data_services_charts/data_modeling/template_values.yaml +1167 -0
  69. f2dev/_bundle/platform/charts/data_services_charts/data_modeling/template_values_extra.yaml +99 -0
  70. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/Dockerfile +10 -0
  71. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/build.sh +38 -0
  72. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/cleanup.py +452 -0
  73. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/requirements.txt +3 -0
  74. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/docs/keycloak-oidc-setup.md +106 -0
  75. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/template_values.yaml +5536 -0
  76. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/template_values_extra.yaml +379 -0
  77. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/configmap.yaml +459 -0
  78. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/fast2dev_auth.py +285 -0
  79. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/fast2dev_mcp_plugin.py +24 -0
  80. f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/webserver_config.py +130 -0
  81. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/Dockerfile +10 -0
  82. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/build.sh +38 -0
  83. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/cleanup.py +749 -0
  84. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/k8s/configmap.yaml +24 -0
  85. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/k8s/cronjob.yaml +137 -0
  86. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/requirements.txt +3 -0
  87. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/.helmignore +26 -0
  88. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/Chart.lock +3 -0
  89. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/Chart.yaml +15 -0
  90. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/README.md +243 -0
  91. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/NOTES.txt +31 -0
  92. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/_helpers.tpl +245 -0
  93. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/_images.tpl +17 -0
  94. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-auth-secret.yaml +35 -0
  95. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-bootloader/bootloader-secrets.yaml +19 -0
  96. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-bootloader/pod.yaml +126 -0
  97. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-connector-rollout-worker/deployment.yaml +171 -0
  98. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-cron/cron-secrets.yaml +19 -0
  99. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-cron/deployment.yaml +149 -0
  100. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-db.yaml +88 -0
  101. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/_helpers.tpl +111 -0
  102. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/deployment.yaml +169 -0
  103. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/hpa.yaml +23 -0
  104. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/pdb.yaml +17 -0
  105. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/service.yaml +25 -0
  106. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/serviceaccount.yaml +10 -0
  107. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-featureflag-server/deployment.yaml +161 -0
  108. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-featureflag-server/service.yaml +25 -0
  109. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-keycloak/service.yaml +62 -0
  110. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-keycloak/statefulset.yaml +182 -0
  111. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/_helpers.tpl +54 -0
  112. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/deployment.yaml +152 -0
  113. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/service.yaml +23 -0
  114. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/serviceaccount.yaml +10 -0
  115. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-metrics/deployment.yaml +124 -0
  116. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-server/deployment.yaml +227 -0
  117. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-server/service.yaml +29 -0
  118. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-stigg-sidecar/deployment.yaml +184 -0
  119. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-stigg-sidecar/service.yaml +21 -0
  120. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/configmap.yaml +55 -0
  121. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/deployment.yaml +220 -0
  122. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/service.yaml +21 -0
  123. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal-ui/deployment.yaml +122 -0
  124. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal-ui/service.yaml +23 -0
  125. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/deployment.yaml +146 -0
  126. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/ingress.yaml +63 -0
  127. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/service.yaml +32 -0
  128. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-worker/deployment.yaml +229 -0
  129. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-api-server/deployment.yaml +191 -0
  130. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-api-server/service.yaml +25 -0
  131. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-launcher/deployment.yaml +232 -0
  132. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-launcher/jobs-secrets.yaml +21 -0
  133. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_auth.tpl +944 -0
  134. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_aws.tpl +109 -0
  135. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_cluster.tpl +82 -0
  136. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_common.tpl +370 -0
  137. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connector.tpl +58 -0
  138. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connectorRollout.tpl +141 -0
  139. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connectorRolloutWorker.tpl +56 -0
  140. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_cron.tpl +62 -0
  141. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_customerio.tpl +56 -0
  142. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_database.tpl +375 -0
  143. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_dataplaneGroups.tpl +38 -0
  144. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_directJobRunner.tpl +122 -0
  145. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_featureFlags.tpl +126 -0
  146. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_java.tpl +38 -0
  147. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_jobs.tpl +422 -0
  148. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_keycloak.tpl +542 -0
  149. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_logging.tpl +38 -0
  150. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_metrics.tpl +214 -0
  151. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_micronaut.tpl +43 -0
  152. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_minio.tpl +64 -0
  153. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_secretsManager.tpl +628 -0
  154. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_server.tpl +533 -0
  155. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_shopify.tpl +83 -0
  156. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_stigg.tpl +157 -0
  157. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_storage.tpl +468 -0
  158. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_temporal.tpl +943 -0
  159. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_topology.tpl +98 -0
  160. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_tracking.tpl +82 -0
  161. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_webapp.tpl +38 -0
  162. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_worker.tpl +366 -0
  163. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloadApiServer.tpl +62 -0
  164. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloadLauncher.tpl +395 -0
  165. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloads.tpl +770 -0
  166. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/env-configmap.yaml +62 -0
  167. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/gcs-log-creds-secret.yaml +19 -0
  168. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/ingress.yaml +69 -0
  169. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/minio.yaml +161 -0
  170. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/secret.yaml +31 -0
  171. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/serviceaccount.yaml +50 -0
  172. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/telemetry-configmap.yaml +32 -0
  173. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/tests/test-webapp.yaml +34 -0
  174. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/values.yaml +3158 -0
  175. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/.helmignore +12 -0
  176. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/Chart.yaml +16 -0
  177. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/README.md +172 -0
  178. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/_helpers.tpl +42 -0
  179. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/deployment.yaml +105 -0
  180. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/externalsecret.yaml +23 -0
  181. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/pdb.yaml +15 -0
  182. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/service.yaml +18 -0
  183. f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/values.yaml +97 -0
  184. f2dev/_bundle/platform/charts/data_services_charts/data_replication/feature-flags-configmap.yaml +16 -0
  185. f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_metrics_values.yaml +13 -0
  186. f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_oauth2proxy_values.yaml +1200 -0
  187. f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_values.yaml +3255 -0
  188. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/Chart.yaml +7 -0
  189. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-client.yaml +27 -0
  190. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-master.yaml +38 -0
  191. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-worker.yaml +29 -0
  192. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_client_options +24 -0
  193. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_master_options +6 -0
  194. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_worker_options +6 -0
  195. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/log4j2.properties +109 -0
  196. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/seatunnel.yaml +36 -0
  197. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/_helpers.tpl +70 -0
  198. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/configmap.yaml +11 -0
  199. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/deployment-master.yaml +120 -0
  200. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/deployment-worker.yaml +118 -0
  201. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/rbac.yaml +32 -0
  202. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/services.yaml +33 -0
  203. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/values.yaml +101 -0
  204. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/template_oauth2proxy_values.yaml +196 -0
  205. f2dev/_bundle/platform/charts/data_services_charts/data_streaming/template_values.yaml +75 -0
  206. f2dev/_bundle/platform/charts/data_services_charts/object_storage_operator/template_values.yaml +506 -0
  207. f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/csi_driver_values.yaml +193 -0
  208. f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_pdns_webhook_values.yaml +91 -0
  209. f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_values.yaml +1777 -0
  210. f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_values_extra.yaml +253 -0
  211. f2dev/_bundle/platform/charts/infra_services_charts/cluster_cleaner/template_values.yaml +57 -0
  212. f2dev/_bundle/platform/charts/infra_services_charts/external_dns/template_values.yaml +476 -0
  213. f2dev/_bundle/platform/charts/infra_services_charts/external_dns/template_values_extra.yaml +131 -0
  214. f2dev/_bundle/platform/charts/infra_services_charts/idp_sso_manager/realm_template.json +4785 -0
  215. f2dev/_bundle/platform/charts/infra_services_charts/idp_sso_manager/template_values.yaml +657 -0
  216. f2dev/_bundle/platform/charts/infra_services_charts/pvc_autoscaller/template_values.yaml +36 -0
  217. f2dev/_bundle/platform/charts/infra_services_charts/pvc_autoscaller/template_values_extra.yaml +352 -0
  218. f2dev/_bundle/platform/charts/infra_services_charts/secret_manager/template_values.yaml +1218 -0
  219. f2dev/_bundle/platform/charts/infra_services_charts/secret_manager/template_values_extra.yaml +845 -0
  220. f2dev/_bundle/platform/charts/infra_services_charts/secret_manager_operator/template_values.yaml +561 -0
  221. f2dev/_bundle/platform/charts/infra_services_charts/secret_manager_operator/template_values_extra.yaml +23 -0
  222. f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_alloy_events_values.yaml +59 -0
  223. f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_alloy_values.yaml +185 -0
  224. f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_loki_values.yaml +108 -0
  225. f2dev/_bundle/platform/charts/infra_services_charts/services_metrics/template_values.yaml +1530 -0
  226. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/00-main/.gitkeep +0 -0
  227. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/00-main/f2d-main.json +2871 -0
  228. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/.gitkeep +0 -0
  229. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-k8s-cluster.json +1751 -0
  230. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-microservices.json +1682 -0
  231. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-pvc-storage.json +1320 -0
  232. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-service.json +1193 -0
  233. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/.gitkeep +0 -0
  234. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-cert-manager.json +755 -0
  235. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-keycloak.json +746 -0
  236. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-object-storage.json +881 -0
  237. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-postgresql.json +1590 -0
  238. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-traefik.json +1375 -0
  239. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/.gitkeep +0 -0
  240. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-cicd-workflows-trends.json +1916 -0
  241. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-cicd-workflows.json +1330 -0
  242. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-analysis.json +631 -0
  243. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-freshness.json +1362 -0
  244. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-governance.json +1958 -0
  245. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-modeling.json +764 -0
  246. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-orchestration-trends.json +2352 -0
  247. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-orchestration.json +1506 -0
  248. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-quality.json +1549 -0
  249. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-replication-trends.json +2799 -0
  250. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-replication.json +2153 -0
  251. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-streaming-trends.json +1536 -0
  252. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-streaming.json +1209 -0
  253. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse/.gitkeep +0 -0
  254. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse-bigquery/.gitkeep +0 -0
  255. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse-bigquery/f2d-bigquery.json +990 -0
  256. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/05-logs/.gitkeep +0 -0
  257. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/05-logs/f2d-logs.json +630 -0
  258. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/folders.yaml +17 -0
  259. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/requirements.yaml +8 -0
  260. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/template_alerts_cm.yaml +2031 -0
  261. f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/template_values.yaml +1315 -0
  262. f2dev/_bundle/platform/charts/infra_services_charts/stackgres_postgres_db/template_values.yaml +550 -0
  263. f2dev/_bundle/platform/charts/infra_services_charts/stackgres_postgres_db/template_values_extra.yaml +742 -0
  264. f2dev/_bundle/platform/charts/infra_services_charts/traefik_lb/template_values.yaml +1758 -0
  265. f2dev/_bundle/platform/cli/README.md +866 -0
  266. f2dev/_bundle/platform/cli/__init__.py +42 -0
  267. f2dev/_bundle/platform/cli/__main__.py +17 -0
  268. f2dev/_bundle/platform/cli/cert_providers.py +369 -0
  269. f2dev/_bundle/platform/cli/command_record.py +144 -0
  270. f2dev/_bundle/platform/cli/config/data_services_config.json +217 -0
  271. f2dev/_bundle/platform/cli/config/environment_profiles.yaml +183 -0
  272. f2dev/_bundle/platform/cli/config/images.json +129 -0
  273. f2dev/_bundle/platform/cli/config/infrastructure_services_config.json +141 -0
  274. f2dev/_bundle/platform/cli/config.py +252 -0
  275. f2dev/_bundle/platform/cli/deployment_configuration_aws_example.yaml +117 -0
  276. f2dev/_bundle/platform/cli/deployment_configuration_gcp_example.yaml +130 -0
  277. f2dev/_bundle/platform/cli/deployment_configuration_onprem_example.yaml +71 -0
  278. f2dev/_bundle/platform/cli/destroy.py +677 -0
  279. f2dev/_bundle/platform/cli/dns_check.py +27 -0
  280. f2dev/_bundle/platform/cli/dns_providers.py +405 -0
  281. f2dev/_bundle/platform/cli/exit_codes.py +32 -0
  282. f2dev/_bundle/platform/cli/fixers.py +56 -0
  283. f2dev/_bundle/platform/cli/generate_only.py +336 -0
  284. f2dev/_bundle/platform/cli/health_report.py +114 -0
  285. f2dev/_bundle/platform/cli/logging.py +206 -0
  286. f2dev/_bundle/platform/cli/main.py +5293 -0
  287. f2dev/_bundle/platform/cli/precheck.py +1523 -0
  288. f2dev/_bundle/platform/cli/prerequisites/README.md +208 -0
  289. f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.bat +107 -0
  290. f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.ps1 +343 -0
  291. f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.sh +207 -0
  292. f2dev/_bundle/platform/cli/prerequisites/linux/install-linux.sh +775 -0
  293. f2dev/_bundle/platform/cli/prerequisites/macos/install-macos.sh +634 -0
  294. f2dev/_bundle/platform/cli/prerequisites/requirements.txt +41 -0
  295. f2dev/_bundle/platform/cli/prerequisites/verify-prerequisites.ps1 +150 -0
  296. f2dev/_bundle/platform/cli/prerequisites/verify-prerequisites.sh +418 -0
  297. f2dev/_bundle/platform/cli/prerequisites/versions.yaml +43 -0
  298. f2dev/_bundle/platform/cli/prerequisites/windows/install-windows.ps1 +1005 -0
  299. f2dev/_bundle/platform/cli/restore.py +179 -0
  300. f2dev/_bundle/platform/cli/service_gates.py +160 -0
  301. f2dev/_bundle/platform/cli/state.py +332 -0
  302. f2dev/_bundle/platform/cli/wizard.py +782 -0
  303. f2dev/_bundle/platform/cli.py +235 -0
  304. f2dev/_bundle/platform/deployers/__init__.py +4 -0
  305. f2dev/_bundle/platform/deployers/base_deployer.py +8 -0
  306. f2dev/_bundle/platform/deployers/clouds/__init__.py +0 -0
  307. f2dev/_bundle/platform/deployers/clouds/aws_cloud.py +619 -0
  308. f2dev/_bundle/platform/deployers/clouds/azure_cloud.py +0 -0
  309. f2dev/_bundle/platform/deployers/clouds/google_cloud.py +785 -0
  310. f2dev/_bundle/platform/deployers/clouds/terragrunt_progress.py +56 -0
  311. f2dev/_bundle/platform/deployers/services/data_services/1.0_cicd_workload_runner.py +644 -0
  312. f2dev/_bundle/platform/deployers/services/data_services/12.0_control_plane.py +321 -0
  313. f2dev/_bundle/platform/deployers/services/data_services/13.0_data_mcp_hub.py +362 -0
  314. f2dev/_bundle/platform/deployers/services/data_services/2.0_object_storage_operator.py +416 -0
  315. f2dev/_bundle/platform/deployers/services/data_services/2.5_services_logs.py +482 -0
  316. f2dev/_bundle/platform/deployers/services/data_services/3.0_data_cicd_workflows.py +361 -0
  317. f2dev/_bundle/platform/deployers/services/data_services/4.0_data_replication.py +534 -0
  318. f2dev/_bundle/platform/deployers/services/data_services/4.5_data_streaming.py +303 -0
  319. f2dev/_bundle/platform/deployers/services/data_services/5.0_data_orchestration.py +760 -0
  320. f2dev/_bundle/platform/deployers/services/data_services/6.0_data_modeling.py +753 -0
  321. f2dev/_bundle/platform/deployers/services/data_services/7.0_data_governance.py +795 -0
  322. f2dev/_bundle/platform/deployers/services/data_services/8.0_data_analysis.py +587 -0
  323. f2dev/_bundle/platform/deployers/services/infra_services/1.0_secret_operator.py +467 -0
  324. f2dev/_bundle/platform/deployers/services/infra_services/10.0_cluster_pvc_autoscaller.py +500 -0
  325. f2dev/_bundle/platform/deployers/services/infra_services/2.0_cert_manager.py +963 -0
  326. f2dev/_bundle/platform/deployers/services/infra_services/3.0_external_dns.py +823 -0
  327. f2dev/_bundle/platform/deployers/services/infra_services/4.0_traefik_lb.py +604 -0
  328. f2dev/_bundle/platform/deployers/services/infra_services/5.0_stackgres_postgresql.py +652 -0
  329. f2dev/_bundle/platform/deployers/services/infra_services/6.0_services_metrics.py +515 -0
  330. f2dev/_bundle/platform/deployers/services/infra_services/7.0_services_monitoring.py +787 -0
  331. f2dev/_bundle/platform/deployers/services/infra_services/8.0_cluster_cleaner.py +439 -0
  332. f2dev/_bundle/platform/deployers/services/infra_services/9.0_idp_sso_manager.py +790 -0
  333. f2dev/_bundle/platform/readme.md +47 -0
  334. f2dev/_bundle/platform/requirements.txt +14 -0
  335. f2dev/_bundle/platform/terraform/aws_cloud/templates/backend.tf_template +10 -0
  336. f2dev/_bundle/platform/terraform/aws_cloud/templates/defaults.yaml_template +11 -0
  337. f2dev/_bundle/platform/terraform/aws_cloud/templates/env.yaml_template +2 -0
  338. f2dev/_bundle/platform/terraform/aws_cloud/templates/root.hcl_advanced_template +134 -0
  339. f2dev/_bundle/platform/terraform/aws_cloud/templates/root.hcl_basic_template +134 -0
  340. f2dev/_bundle/platform/terraform/aws_cloud/templates/terragrunt.hcl_advanced_template +134 -0
  341. f2dev/_bundle/platform/terraform/aws_cloud/templates/terragrunt.hcl_basic_template +134 -0
  342. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/01-apps-vpc/terragrunt.hcl +26 -0
  343. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/02-create-dns-ns-record/terragrunt.hcl +16 -0
  344. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/03-eks-cluster/terragrunt.hcl +21 -0
  345. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/04-external_dns_sa/terragrunt.hcl +28 -0
  346. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/01-apps-vpc/terragrunt.hcl +25 -0
  347. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/02-eks-cluster/terragrunt.hcl +32 -0
  348. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/03-external-dns-irsa/terragrunt.hcl +34 -0
  349. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/04-cert-manager-irsa/terragrunt.hcl +34 -0
  350. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/05-create-dns-zone/terragrunt.hcl +22 -0
  351. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/06-create-dns-ns-record/terragrunt.hcl +44 -0
  352. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/empty.yaml +1 -0
  353. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/empty.yaml +1 -0
  354. f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/env.hcl +2 -0
  355. f2dev/_bundle/platform/terraform/azure_cloud/README.md +3 -0
  356. f2dev/_bundle/platform/terraform/azure_cloud/templates/_keep_structure.txt +0 -0
  357. f2dev/_bundle/platform/terraform/google_cloud/README.md +20 -0
  358. f2dev/_bundle/platform/terraform/google_cloud/templates/backend.tf_template +7 -0
  359. f2dev/_bundle/platform/terraform/google_cloud/templates/defaults.yaml_template +12 -0
  360. f2dev/_bundle/platform/terraform/google_cloud/templates/env.yaml_template +2 -0
  361. f2dev/_bundle/platform/terraform/google_cloud/templates/root.hcl_advanced_template +114 -0
  362. f2dev/_bundle/platform/terraform/google_cloud/templates/root.hcl_basic_template +116 -0
  363. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/.gitignore +3 -0
  364. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/00-create-ou-folder/terragrunt.hcl +15 -0
  365. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/01-create-project/terragrunt.hcl +30 -0
  366. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/02-enable-apis/terragrunt.hcl +25 -0
  367. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/03-0-apps-vpc/terragrunt.hcl +134 -0
  368. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/04-external-ip-traefik/terragrunt.hcl +29 -0
  369. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/05-create-dns-zone/terragrunt.hcl +25 -0
  370. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/06-create-dns-ns-record/terragrunt.hcl +43 -0
  371. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/07-gke-cluster/terragrunt.hcl +103 -0
  372. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/08-dbt_deploy_sa/terragrunt.hcl +36 -0
  373. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/09-dbt_sa/terragrunt.hcl +40 -0
  374. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/10-cert_manager_sa/terragrunt.hcl +34 -0
  375. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/11-external_dns_sa/terragrunt.hcl +30 -0
  376. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/12-monitoring_sa/terragrunt.hcl +52 -0
  377. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/13-data_replication_sa/terragrunt.hcl +35 -0
  378. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/14-data_orchestration_sa/terragrunt.hcl +35 -0
  379. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/15-bi_data_sa/terragrunt.hcl +43 -0
  380. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/16-whitelist-external-ip-on-common/terragrunt.hcl +30 -0
  381. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/17-kubeconfig/terragrunt.hcl +23 -0
  382. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/18-data_streaming_sa/terragrunt.hcl +24 -0
  383. f2dev/_bundle/platform/terraform/google_cloud/terragrunt/empty.yaml +1 -0
  384. f2dev/_bundle/platform/utils/__init__.py +0 -0
  385. f2dev/_bundle/platform/utils/customer_data_platform_repository_operator.py +1098 -0
  386. f2dev/_bundle/platform/utils/customer_secret_manager_operations.py +1635 -0
  387. f2dev/_bundle/platform/utils/environment_profiles.py +58 -0
  388. f2dev/_bundle/platform/utils/helm_utils.py +215 -0
  389. f2dev/_bundle/platform/utils/infrastructure_deployment_operator.py +1532 -0
  390. f2dev/_bundle/platform/utils/keycloak_realm_reconcile.py +320 -0
  391. f2dev/_bundle/platform/utils/kubeconfig_fixer.py +265 -0
  392. f2dev/_bundle/platform/utils/raw_extras.py +34 -0
  393. f2dev/_bundle/platform/utils/readiness.py +330 -0
  394. f2dev/_bundle/platform/utils/secret_structure_upgrade.py +194 -0
  395. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/.gitignore +7 -0
  396. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/README.md +33 -0
  397. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/analyses/.gitkeep +0 -0
  398. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/dbt_project.yml +52 -0
  399. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/.gitkeep +0 -0
  400. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/fast2dev_bq_time_zones.sql +12 -0
  401. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/fast2dev_monitoring_grain.sql +23 -0
  402. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_daily_spend.sql +19 -0
  403. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_daily_spend.yml +25 -0
  404. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_model_costs_daily.sql +16 -0
  405. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_model_costs_daily.yml +24 -0
  406. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_storage_by_dataset.sql +12 -0
  407. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_storage_by_dataset.yml +21 -0
  408. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_user_costs_daily.sql +14 -0
  409. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_user_costs_daily.yml +22 -0
  410. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_kpi.sql +52 -0
  411. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_kpi.yml +42 -0
  412. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_spend.sql +74 -0
  413. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_spend.yml +49 -0
  414. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/sources/billing_export.yml +9 -0
  415. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/staging/fast2dev_bq_billing_export.sql +9 -0
  416. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/staging/fast2dev_bq_billing_export.yml +4 -0
  417. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/packages.yml +5 -0
  418. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/profiles.yml +15 -0
  419. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/scripts/run_monitoring.py +201 -0
  420. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/seeds/.gitkeep +0 -0
  421. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/snapshots/.gitkeep +0 -0
  422. f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/tests/.gitkeep +0 -0
  423. f2dev/_bundle/platform/utils/templates/dry_run/gcp_sa.json +12 -0
  424. f2dev/_bundle/platform/utils/templates/dry_run/kubeconfig.yaml +18 -0
  425. f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/README.MD +50 -0
  426. f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/dags/dbt/README.MD +47 -0
  427. f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/dags/fast2dev_healthcheck.py_template_airflow_3.x +158 -0
  428. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/bitbucket/bitbucket-pipelines.yml_template +144 -0
  429. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/PR_VALIDATION.md +52 -0
  430. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/pull_request_template.md +48 -0
  431. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/argo-workflows.yml_template +143 -0
  432. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/pr-agent.yml +30 -0
  433. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/validate-pr-description.yml +38 -0
  434. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/PR_VALIDATION.md +52 -0
  435. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/pull_request_template.md +48 -0
  436. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/argo-workflows.yml_template +143 -0
  437. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/pr-agent.yml +37 -0
  438. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/validate-pr-description.yml +157 -0
  439. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab/PR_VALIDATION.md +43 -0
  440. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab/merge_request_templates/Default.md +48 -0
  441. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab-ci.yml_template +181 -0
  442. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/.gitignore +21 -0
  443. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/.pr_agent.toml +82 -0
  444. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/AGENTS.md +126 -0
  445. f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/README.MD +101 -0
  446. f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/DR.md +341 -0
  447. f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/README.md.j2 +81 -0
  448. f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/decrypt_files.py +331 -0
  449. f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/encrypt_files.py +321 -0
  450. f2dev/_bundle/platform/utils/templates/secret_structure_template/customer_vault_structure.json +502 -0
  451. f2dev/_bundle/platform/utils/vault_structure_sync.py +96 -0
  452. f2dev/_bundle/terraform-modules/README.md +12 -0
  453. f2dev/_bundle/terraform-modules/aws_cloud/README.md +7 -0
  454. f2dev/_bundle/terraform-modules/aws_cloud/eks/addons-roles.tf +298 -0
  455. f2dev/_bundle/terraform-modules/aws_cloud/eks/main.tf +313 -0
  456. f2dev/_bundle/terraform-modules/aws_cloud/eks/outputs.tf +3 -0
  457. f2dev/_bundle/terraform-modules/aws_cloud/eks/policies/lb-controller-policy.json +219 -0
  458. f2dev/_bundle/terraform-modules/aws_cloud/eks/provider.tf +36 -0
  459. f2dev/_bundle/terraform-modules/aws_cloud/eks/variables.tf +107 -0
  460. f2dev/_bundle/terraform-modules/aws_cloud/eks/versions.tf +10 -0
  461. f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/main.tf +25 -0
  462. f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/provider.tf +17 -0
  463. f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/variables.tf +41 -0
  464. f2dev/_bundle/terraform-modules/aws_cloud/vpc/main.tf +34 -0
  465. f2dev/_bundle/terraform-modules/aws_cloud/vpc/outputs.tf +44 -0
  466. f2dev/_bundle/terraform-modules/aws_cloud/vpc/provider.tf +12 -0
  467. f2dev/_bundle/terraform-modules/aws_cloud/vpc/variables.tf +118 -0
  468. f2dev/_bundle/terraform-modules/aws_cloud/vpc/versions.tf +10 -0
  469. f2dev/_bundle/terraform-modules/azure_cloud/README.md +3 -0
  470. f2dev/_bundle/terraform-modules/google_cloud/README.md +17 -0
  471. f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/main.tf +8 -0
  472. f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/providers.tf +6 -0
  473. f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/variables.tf +17 -0
  474. f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/versions.tf +8 -0
  475. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/main.tf +24 -0
  476. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/outputs.tf +25 -0
  477. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/providers.tf +7 -0
  478. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/variables.tf +17 -0
  479. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/versions.tf +9 -0
  480. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/main.tf +38 -0
  481. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/variables.tf +73 -0
  482. f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/versions.tf +39 -0
  483. f2dev/_bundle/terraform-modules/google_cloud/composer/main.tf +213 -0
  484. f2dev/_bundle/terraform-modules/google_cloud/composer/outputs.tf +31 -0
  485. f2dev/_bundle/terraform-modules/google_cloud/composer/provider.tf +4 -0
  486. f2dev/_bundle/terraform-modules/google_cloud/composer/variables.tf +192 -0
  487. f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/main.tf +29 -0
  488. f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/output.tf +4 -0
  489. f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/providers.tf +6 -0
  490. f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/variables.tf +40 -0
  491. f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/versions.tf +8 -0
  492. f2dev/_bundle/terraform-modules/google_cloud/create-project/main.tf +18 -0
  493. f2dev/_bundle/terraform-modules/google_cloud/create-project/output.tf +8 -0
  494. f2dev/_bundle/terraform-modules/google_cloud/create-project/providers.tf +6 -0
  495. f2dev/_bundle/terraform-modules/google_cloud/create-project/variables.tf +27 -0
  496. f2dev/_bundle/terraform-modules/google_cloud/create-project/versions.tf +9 -0
  497. f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/README.md +188 -0
  498. f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/main.tf +135 -0
  499. f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/output.tf +16 -0
  500. f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/providers.tf +6 -0
  501. f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/variables.tf +54 -0
  502. f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/versions.tf +17 -0
  503. f2dev/_bundle/terraform-modules/google_cloud/enable_apis/main.tf +14 -0
  504. f2dev/_bundle/terraform-modules/google_cloud/enable_apis/provider.tf +7 -0
  505. f2dev/_bundle/terraform-modules/google_cloud/enable_apis/variables.tf +13 -0
  506. f2dev/_bundle/terraform-modules/google_cloud/enable_apis/versions.tf +10 -0
  507. f2dev/_bundle/terraform-modules/google_cloud/external-ip/README.md +89 -0
  508. f2dev/_bundle/terraform-modules/google_cloud/external-ip/main.tf +17 -0
  509. f2dev/_bundle/terraform-modules/google_cloud/external-ip/outputs.tf +19 -0
  510. f2dev/_bundle/terraform-modules/google_cloud/external-ip/variables.tf +43 -0
  511. f2dev/_bundle/terraform-modules/google_cloud/fw-add/main.tf +24 -0
  512. f2dev/_bundle/terraform-modules/google_cloud/fw-add/providers.tf +6 -0
  513. f2dev/_bundle/terraform-modules/google_cloud/fw-add/variables.tf +37 -0
  514. f2dev/_bundle/terraform-modules/google_cloud/fw-add/versions.tf +9 -0
  515. f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/README.md +10 -0
  516. f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/main.tf +459 -0
  517. f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/outputs.tf +44 -0
  518. f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/provider.tf +19 -0
  519. f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/variables.tf +354 -0
  520. f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/versions.tf +22 -0
  521. f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/README.md +40 -0
  522. f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/main.tf +54 -0
  523. f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/outputs.tf +10 -0
  524. f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/variables.tf +24 -0
  525. f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/versions.tf +10 -0
  526. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/README.md +47 -0
  527. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/main.tf +51 -0
  528. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/README.md +103 -0
  529. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/main.tf +71 -0
  530. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/outputs.tf +71 -0
  531. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/variables.tf +82 -0
  532. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/versions.tf +27 -0
  533. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/outputs.tf +35 -0
  534. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/provider.tf +4 -0
  535. f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/variables.tf +237 -0
  536. f2dev/_bundle/terraform-modules/oracle_cloud/README.md +3 -0
  537. f2dev/launcher.py +153 -0
  538. fast2dev-1.0.0.dist-info/METADATA +201 -0
  539. fast2dev-1.0.0.dist-info/RECORD +543 -0
  540. fast2dev-1.0.0.dist-info/WHEEL +4 -0
  541. fast2dev-1.0.0.dist-info/entry_points.txt +2 -0
  542. fast2dev-1.0.0.dist-info/licenses/LICENSE +202 -0
  543. fast2dev-1.0.0.dist-info/licenses/NOTICE +6 -0
@@ -0,0 +1,2352 @@
1
+ {
2
+ "uid": "f2d-data-orchestration-trends",
3
+ "title": "Data Orchestration (Airflow) · Daily Trends",
4
+ "description": "Airflow DAG runs and run time per day for the selected month, and today against the same time of day earlier. Days are counted in the platform timezone.",
5
+ "tags": [
6
+ "fast2dev",
7
+ "data-services",
8
+ "trends",
9
+ "airflow"
10
+ ],
11
+ "editable": true,
12
+ "graphTooltip": 1,
13
+ "refresh": "5m",
14
+ "schemaVersion": 41,
15
+ "time": {
16
+ "from": "now/M",
17
+ "to": "now"
18
+ },
19
+ "timezone": "browser",
20
+ "templating": {
21
+ "list": [
22
+ {
23
+ "name": "dag",
24
+ "label": "DAG",
25
+ "type": "query",
26
+ "hide": 0,
27
+ "datasource": {
28
+ "type": "prometheus",
29
+ "uid": "prometheus"
30
+ },
31
+ "definition": "label_values(fast2dev_airflow_dag_info, dag_id)",
32
+ "query": {
33
+ "query": "label_values(fast2dev_airflow_dag_info, dag_id)",
34
+ "refId": "dag"
35
+ },
36
+ "refresh": 2,
37
+ "regex": "",
38
+ "sort": 1,
39
+ "multi": true,
40
+ "includeAll": true,
41
+ "current": {
42
+ "text": [
43
+ "All"
44
+ ],
45
+ "value": [
46
+ "$__all"
47
+ ]
48
+ },
49
+ "allValue": ".*"
50
+ },
51
+ {
52
+ "name": "task",
53
+ "label": "Task",
54
+ "type": "query",
55
+ "hide": 0,
56
+ "datasource": {
57
+ "type": "prometheus",
58
+ "uid": "prometheus"
59
+ },
60
+ "definition": "label_values(fast2dev_airflow_task_daily_duration_seconds{dag_id=~\"$dag\"}, task_id)",
61
+ "query": {
62
+ "query": "label_values(fast2dev_airflow_task_daily_duration_seconds{dag_id=~\"$dag\"}, task_id)",
63
+ "refId": "task"
64
+ },
65
+ "refresh": 2,
66
+ "regex": "",
67
+ "sort": 1,
68
+ "multi": true,
69
+ "includeAll": true,
70
+ "current": {
71
+ "text": [
72
+ "All"
73
+ ],
74
+ "value": [
75
+ "$__all"
76
+ ]
77
+ },
78
+ "allValue": ".*"
79
+ }
80
+ ]
81
+ },
82
+ "links": [
83
+ {
84
+ "title": "Data Orchestration (Airflow)",
85
+ "type": "link",
86
+ "url": "/d/f2d-data-orchestration",
87
+ "icon": "dashboard",
88
+ "includeVars": true,
89
+ "keepTime": false,
90
+ "targetBlank": false,
91
+ "asDropdown": false,
92
+ "tags": [],
93
+ "tooltip": ""
94
+ },
95
+ {
96
+ "title": "Data Freshness",
97
+ "type": "link",
98
+ "url": "/d/f2d-data-freshness",
99
+ "icon": "dashboard",
100
+ "includeVars": true,
101
+ "keepTime": false,
102
+ "targetBlank": false,
103
+ "asDropdown": false,
104
+ "tags": [],
105
+ "tooltip": ""
106
+ },
107
+ {
108
+ "title": "Data Services",
109
+ "type": "dashboards",
110
+ "tags": [
111
+ "data-services"
112
+ ],
113
+ "asDropdown": true,
114
+ "includeVars": false,
115
+ "keepTime": true
116
+ }
117
+ ],
118
+ "annotations": {
119
+ "list": []
120
+ },
121
+ "panels": [
122
+ {
123
+ "type": "row",
124
+ "title": "Today vs the same time of day earlier",
125
+ "id": 1,
126
+ "collapsed": false,
127
+ "gridPos": {
128
+ "x": 0,
129
+ "y": 0,
130
+ "w": 24,
131
+ "h": 1
132
+ },
133
+ "panels": []
134
+ },
135
+ {
136
+ "type": "stat",
137
+ "title": "Runs",
138
+ "description": "Runs started since midnight.",
139
+ "datasource": {
140
+ "type": "prometheus",
141
+ "uid": "prometheus"
142
+ },
143
+ "targets": [
144
+ {
145
+ "refId": "A",
146
+ "datasource": {
147
+ "type": "prometheus",
148
+ "uid": "prometheus"
149
+ },
150
+ "expr": "sum(fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"today\"}) or vector(0)",
151
+ "legendFormat": "Today",
152
+ "instant": true,
153
+ "range": false
154
+ },
155
+ {
156
+ "refId": "B",
157
+ "datasource": {
158
+ "type": "prometheus",
159
+ "uid": "prometheus"
160
+ },
161
+ "expr": "sum(fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"yesterday\"}) or vector(0)",
162
+ "legendFormat": "Yesterday",
163
+ "instant": true,
164
+ "range": false
165
+ },
166
+ {
167
+ "refId": "C",
168
+ "datasource": {
169
+ "type": "prometheus",
170
+ "uid": "prometheus"
171
+ },
172
+ "expr": "sum(fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"two_weeks_ago\"}) or vector(0)",
173
+ "legendFormat": "Two weeks ago",
174
+ "instant": true,
175
+ "range": false
176
+ },
177
+ {
178
+ "refId": "D",
179
+ "datasource": {
180
+ "type": "prometheus",
181
+ "uid": "prometheus"
182
+ },
183
+ "expr": "(((sum(fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"today\"})) or vector(0)) - (sum(fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"two_weeks_ago\"}))) / ((sum(fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"two_weeks_ago\"})) > 0)",
184
+ "legendFormat": "Change",
185
+ "instant": true,
186
+ "range": false
187
+ }
188
+ ],
189
+ "fieldConfig": {
190
+ "defaults": {
191
+ "unit": "short",
192
+ "decimals": null,
193
+ "color": {
194
+ "mode": "fixed",
195
+ "fixedColor": "text"
196
+ },
197
+ "thresholds": {
198
+ "mode": "absolute",
199
+ "steps": [
200
+ {
201
+ "color": "text",
202
+ "value": null
203
+ }
204
+ ]
205
+ },
206
+ "mappings": [],
207
+ "noValue": "–"
208
+ },
209
+ "overrides": [
210
+ {
211
+ "matcher": {
212
+ "id": "byName",
213
+ "options": "Change"
214
+ },
215
+ "properties": [
216
+ {
217
+ "id": "unit",
218
+ "value": "percentunit"
219
+ },
220
+ {
221
+ "id": "decimals",
222
+ "value": 0
223
+ }
224
+ ]
225
+ },
226
+ {
227
+ "matcher": {
228
+ "id": "byName",
229
+ "options": "Today"
230
+ },
231
+ "properties": [
232
+ {
233
+ "id": "color",
234
+ "value": {
235
+ "mode": "fixed",
236
+ "fixedColor": "blue"
237
+ }
238
+ }
239
+ ]
240
+ }
241
+ ]
242
+ },
243
+ "options": {
244
+ "reduceOptions": {
245
+ "calcs": [
246
+ "lastNotNull"
247
+ ],
248
+ "fields": "",
249
+ "values": false
250
+ },
251
+ "colorMode": "value",
252
+ "graphMode": "none",
253
+ "textMode": "value_and_name",
254
+ "justifyMode": "auto",
255
+ "orientation": "horizontal",
256
+ "wideLayout": true,
257
+ "showPercentChange": false
258
+ },
259
+ "id": 2,
260
+ "gridPos": {
261
+ "x": 0,
262
+ "y": 1,
263
+ "w": 6,
264
+ "h": 6
265
+ }
266
+ },
267
+ {
268
+ "type": "stat",
269
+ "title": "Failed runs",
270
+ "description": "Runs started since midnight that failed.",
271
+ "datasource": {
272
+ "type": "prometheus",
273
+ "uid": "prometheus"
274
+ },
275
+ "targets": [
276
+ {
277
+ "refId": "A",
278
+ "datasource": {
279
+ "type": "prometheus",
280
+ "uid": "prometheus"
281
+ },
282
+ "expr": "sum(fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"today\", state=~\"failed\"}) or vector(0)",
283
+ "legendFormat": "Today",
284
+ "instant": true,
285
+ "range": false
286
+ },
287
+ {
288
+ "refId": "B",
289
+ "datasource": {
290
+ "type": "prometheus",
291
+ "uid": "prometheus"
292
+ },
293
+ "expr": "sum(fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"yesterday\", state=~\"failed\"}) or vector(0)",
294
+ "legendFormat": "Yesterday",
295
+ "instant": true,
296
+ "range": false
297
+ },
298
+ {
299
+ "refId": "C",
300
+ "datasource": {
301
+ "type": "prometheus",
302
+ "uid": "prometheus"
303
+ },
304
+ "expr": "sum(fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"two_weeks_ago\", state=~\"failed\"}) or vector(0)",
305
+ "legendFormat": "Two weeks ago",
306
+ "instant": true,
307
+ "range": false
308
+ },
309
+ {
310
+ "refId": "D",
311
+ "datasource": {
312
+ "type": "prometheus",
313
+ "uid": "prometheus"
314
+ },
315
+ "expr": "(((sum(fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"today\", state=~\"failed\"})) or vector(0)) - (sum(fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"two_weeks_ago\", state=~\"failed\"}))) / ((sum(fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"two_weeks_ago\", state=~\"failed\"})) > 0)",
316
+ "legendFormat": "Change",
317
+ "instant": true,
318
+ "range": false
319
+ }
320
+ ],
321
+ "fieldConfig": {
322
+ "defaults": {
323
+ "unit": "short",
324
+ "decimals": null,
325
+ "color": {
326
+ "mode": "fixed",
327
+ "fixedColor": "text"
328
+ },
329
+ "thresholds": {
330
+ "mode": "absolute",
331
+ "steps": [
332
+ {
333
+ "color": "text",
334
+ "value": null
335
+ }
336
+ ]
337
+ },
338
+ "mappings": [],
339
+ "noValue": "–"
340
+ },
341
+ "overrides": [
342
+ {
343
+ "matcher": {
344
+ "id": "byName",
345
+ "options": "Change"
346
+ },
347
+ "properties": [
348
+ {
349
+ "id": "unit",
350
+ "value": "percentunit"
351
+ },
352
+ {
353
+ "id": "decimals",
354
+ "value": 0
355
+ }
356
+ ]
357
+ },
358
+ {
359
+ "matcher": {
360
+ "id": "byName",
361
+ "options": "Today"
362
+ },
363
+ "properties": [
364
+ {
365
+ "id": "color",
366
+ "value": {
367
+ "mode": "fixed",
368
+ "fixedColor": "blue"
369
+ }
370
+ }
371
+ ]
372
+ }
373
+ ]
374
+ },
375
+ "options": {
376
+ "reduceOptions": {
377
+ "calcs": [
378
+ "lastNotNull"
379
+ ],
380
+ "fields": "",
381
+ "values": false
382
+ },
383
+ "colorMode": "value",
384
+ "graphMode": "none",
385
+ "textMode": "value_and_name",
386
+ "justifyMode": "auto",
387
+ "orientation": "horizontal",
388
+ "wideLayout": true,
389
+ "showPercentChange": false
390
+ },
391
+ "id": 3,
392
+ "gridPos": {
393
+ "x": 6,
394
+ "y": 1,
395
+ "w": 6,
396
+ "h": 6
397
+ }
398
+ },
399
+ {
400
+ "type": "stat",
401
+ "title": "Run time",
402
+ "description": "Time of the runs that finished since midnight, added up.",
403
+ "datasource": {
404
+ "type": "prometheus",
405
+ "uid": "prometheus"
406
+ },
407
+ "targets": [
408
+ {
409
+ "refId": "A",
410
+ "datasource": {
411
+ "type": "prometheus",
412
+ "uid": "prometheus"
413
+ },
414
+ "expr": "sum(fast2dev_airflow_dag_period_run_seconds{dag_id=~\"$dag\", period=\"today\"}) or vector(0)",
415
+ "legendFormat": "Today",
416
+ "instant": true,
417
+ "range": false
418
+ },
419
+ {
420
+ "refId": "B",
421
+ "datasource": {
422
+ "type": "prometheus",
423
+ "uid": "prometheus"
424
+ },
425
+ "expr": "sum(fast2dev_airflow_dag_period_run_seconds{dag_id=~\"$dag\", period=\"yesterday\"}) or vector(0)",
426
+ "legendFormat": "Yesterday",
427
+ "instant": true,
428
+ "range": false
429
+ },
430
+ {
431
+ "refId": "C",
432
+ "datasource": {
433
+ "type": "prometheus",
434
+ "uid": "prometheus"
435
+ },
436
+ "expr": "sum(fast2dev_airflow_dag_period_run_seconds{dag_id=~\"$dag\", period=\"two_weeks_ago\"}) or vector(0)",
437
+ "legendFormat": "Two weeks ago",
438
+ "instant": true,
439
+ "range": false
440
+ },
441
+ {
442
+ "refId": "D",
443
+ "datasource": {
444
+ "type": "prometheus",
445
+ "uid": "prometheus"
446
+ },
447
+ "expr": "(((sum(fast2dev_airflow_dag_period_run_seconds{dag_id=~\"$dag\", period=\"today\"})) or vector(0)) - (sum(fast2dev_airflow_dag_period_run_seconds{dag_id=~\"$dag\", period=\"two_weeks_ago\"}))) / ((sum(fast2dev_airflow_dag_period_run_seconds{dag_id=~\"$dag\", period=\"two_weeks_ago\"})) > 0)",
448
+ "legendFormat": "Change",
449
+ "instant": true,
450
+ "range": false
451
+ }
452
+ ],
453
+ "fieldConfig": {
454
+ "defaults": {
455
+ "unit": "s",
456
+ "decimals": null,
457
+ "color": {
458
+ "mode": "fixed",
459
+ "fixedColor": "text"
460
+ },
461
+ "thresholds": {
462
+ "mode": "absolute",
463
+ "steps": [
464
+ {
465
+ "color": "text",
466
+ "value": null
467
+ }
468
+ ]
469
+ },
470
+ "mappings": [],
471
+ "noValue": "–"
472
+ },
473
+ "overrides": [
474
+ {
475
+ "matcher": {
476
+ "id": "byName",
477
+ "options": "Change"
478
+ },
479
+ "properties": [
480
+ {
481
+ "id": "unit",
482
+ "value": "percentunit"
483
+ },
484
+ {
485
+ "id": "decimals",
486
+ "value": 0
487
+ }
488
+ ]
489
+ },
490
+ {
491
+ "matcher": {
492
+ "id": "byName",
493
+ "options": "Today"
494
+ },
495
+ "properties": [
496
+ {
497
+ "id": "color",
498
+ "value": {
499
+ "mode": "fixed",
500
+ "fixedColor": "blue"
501
+ }
502
+ }
503
+ ]
504
+ }
505
+ ]
506
+ },
507
+ "options": {
508
+ "reduceOptions": {
509
+ "calcs": [
510
+ "lastNotNull"
511
+ ],
512
+ "fields": "",
513
+ "values": false
514
+ },
515
+ "colorMode": "value",
516
+ "graphMode": "none",
517
+ "textMode": "value_and_name",
518
+ "justifyMode": "auto",
519
+ "orientation": "horizontal",
520
+ "wideLayout": true,
521
+ "showPercentChange": false
522
+ },
523
+ "id": 4,
524
+ "gridPos": {
525
+ "x": 12,
526
+ "y": 1,
527
+ "w": 6,
528
+ "h": 6
529
+ }
530
+ },
531
+ {
532
+ "type": "stat",
533
+ "title": "Average run",
534
+ "description": "Average time of a finished run.",
535
+ "datasource": {
536
+ "type": "prometheus",
537
+ "uid": "prometheus"
538
+ },
539
+ "targets": [
540
+ {
541
+ "refId": "A",
542
+ "datasource": {
543
+ "type": "prometheus",
544
+ "uid": "prometheus"
545
+ },
546
+ "expr": "sum(fast2dev_airflow_dag_period_run_seconds{dag_id=~\"$dag\", period=\"today\"}) / sum(fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"today\", state=~\"success|failed\"}) or vector(0)",
547
+ "legendFormat": "Today",
548
+ "instant": true,
549
+ "range": false
550
+ },
551
+ {
552
+ "refId": "B",
553
+ "datasource": {
554
+ "type": "prometheus",
555
+ "uid": "prometheus"
556
+ },
557
+ "expr": "sum(fast2dev_airflow_dag_period_run_seconds{dag_id=~\"$dag\", period=\"yesterday\"}) / sum(fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"yesterday\", state=~\"success|failed\"}) or vector(0)",
558
+ "legendFormat": "Yesterday",
559
+ "instant": true,
560
+ "range": false
561
+ },
562
+ {
563
+ "refId": "C",
564
+ "datasource": {
565
+ "type": "prometheus",
566
+ "uid": "prometheus"
567
+ },
568
+ "expr": "sum(fast2dev_airflow_dag_period_run_seconds{dag_id=~\"$dag\", period=\"two_weeks_ago\"}) / sum(fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"two_weeks_ago\", state=~\"success|failed\"}) or vector(0)",
569
+ "legendFormat": "Two weeks ago",
570
+ "instant": true,
571
+ "range": false
572
+ },
573
+ {
574
+ "refId": "D",
575
+ "datasource": {
576
+ "type": "prometheus",
577
+ "uid": "prometheus"
578
+ },
579
+ "expr": "(((sum(fast2dev_airflow_dag_period_run_seconds{dag_id=~\"$dag\", period=\"today\"}) / sum(fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"today\", state=~\"success|failed\"})) or vector(0)) - (sum(fast2dev_airflow_dag_period_run_seconds{dag_id=~\"$dag\", period=\"two_weeks_ago\"}) / sum(fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"two_weeks_ago\", state=~\"success|failed\"}))) / ((sum(fast2dev_airflow_dag_period_run_seconds{dag_id=~\"$dag\", period=\"two_weeks_ago\"}) / sum(fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"two_weeks_ago\", state=~\"success|failed\"})) > 0)",
580
+ "legendFormat": "Change",
581
+ "instant": true,
582
+ "range": false
583
+ }
584
+ ],
585
+ "fieldConfig": {
586
+ "defaults": {
587
+ "unit": "s",
588
+ "decimals": null,
589
+ "color": {
590
+ "mode": "fixed",
591
+ "fixedColor": "text"
592
+ },
593
+ "thresholds": {
594
+ "mode": "absolute",
595
+ "steps": [
596
+ {
597
+ "color": "text",
598
+ "value": null
599
+ }
600
+ ]
601
+ },
602
+ "mappings": [],
603
+ "noValue": "–"
604
+ },
605
+ "overrides": [
606
+ {
607
+ "matcher": {
608
+ "id": "byName",
609
+ "options": "Change"
610
+ },
611
+ "properties": [
612
+ {
613
+ "id": "unit",
614
+ "value": "percentunit"
615
+ },
616
+ {
617
+ "id": "decimals",
618
+ "value": 0
619
+ }
620
+ ]
621
+ },
622
+ {
623
+ "matcher": {
624
+ "id": "byName",
625
+ "options": "Today"
626
+ },
627
+ "properties": [
628
+ {
629
+ "id": "color",
630
+ "value": {
631
+ "mode": "fixed",
632
+ "fixedColor": "blue"
633
+ }
634
+ }
635
+ ]
636
+ }
637
+ ]
638
+ },
639
+ "options": {
640
+ "reduceOptions": {
641
+ "calcs": [
642
+ "lastNotNull"
643
+ ],
644
+ "fields": "",
645
+ "values": false
646
+ },
647
+ "colorMode": "value",
648
+ "graphMode": "none",
649
+ "textMode": "value_and_name",
650
+ "justifyMode": "auto",
651
+ "orientation": "horizontal",
652
+ "wideLayout": true,
653
+ "showPercentChange": false
654
+ },
655
+ "id": 5,
656
+ "gridPos": {
657
+ "x": 18,
658
+ "y": 1,
659
+ "w": 6,
660
+ "h": 6
661
+ }
662
+ },
663
+ {
664
+ "type": "row",
665
+ "title": "Per day",
666
+ "id": 6,
667
+ "collapsed": false,
668
+ "gridPos": {
669
+ "x": 0,
670
+ "y": 7,
671
+ "w": 24,
672
+ "h": 1
673
+ },
674
+ "panels": []
675
+ },
676
+ {
677
+ "type": "barchart",
678
+ "title": "Runs per day",
679
+ "description": "Success/failed are immutable first-outcome counts; other is live in-flight.",
680
+ "datasource": {
681
+ "type": "prometheus",
682
+ "uid": "prometheus"
683
+ },
684
+ "targets": [
685
+ {
686
+ "refId": "S",
687
+ "datasource": {
688
+ "type": "prometheus",
689
+ "uid": "prometheus"
690
+ },
691
+ "expr": "sum by (day) (fast2dev_airflow_dag_run_outcomes{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", outcome=\"success\"})",
692
+ "legendFormat": "",
693
+ "instant": true,
694
+ "range": false,
695
+ "format": "table"
696
+ },
697
+ {
698
+ "refId": "F",
699
+ "datasource": {
700
+ "type": "prometheus",
701
+ "uid": "prometheus"
702
+ },
703
+ "expr": "sum by (day) (fast2dev_airflow_dag_run_outcomes{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", outcome=\"failed\"})",
704
+ "legendFormat": "",
705
+ "instant": true,
706
+ "range": false,
707
+ "format": "table"
708
+ },
709
+ {
710
+ "refId": "O",
711
+ "datasource": {
712
+ "type": "prometheus",
713
+ "uid": "prometheus"
714
+ },
715
+ "expr": "sum by (day) (fast2dev_airflow_dag_runs{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", state!~\"success|failed\"})",
716
+ "legendFormat": "",
717
+ "instant": true,
718
+ "range": false,
719
+ "format": "table"
720
+ }
721
+ ],
722
+ "transformations": [
723
+ {
724
+ "id": "joinByField",
725
+ "options": {
726
+ "byField": "day",
727
+ "mode": "outer"
728
+ }
729
+ },
730
+ {
731
+ "id": "organize",
732
+ "options": {
733
+ "excludeByName": {
734
+ "Time": true,
735
+ "Time 1": true,
736
+ "Time 2": true,
737
+ "Time 3": true
738
+ },
739
+ "renameByName": {
740
+ "Value #S": "Succeeded",
741
+ "Value #F": "Failed",
742
+ "Value #O": "Other"
743
+ }
744
+ }
745
+ },
746
+ {
747
+ "id": "sortBy",
748
+ "options": {
749
+ "sort": [
750
+ {
751
+ "field": "day"
752
+ }
753
+ ]
754
+ }
755
+ }
756
+ ],
757
+ "fieldConfig": {
758
+ "defaults": {
759
+ "unit": "short",
760
+ "custom": {
761
+ "fillOpacity": 80,
762
+ "lineWidth": 0
763
+ }
764
+ },
765
+ "overrides": [
766
+ {
767
+ "matcher": {
768
+ "id": "byName",
769
+ "options": "Succeeded"
770
+ },
771
+ "properties": [
772
+ {
773
+ "id": "color",
774
+ "value": {
775
+ "mode": "fixed",
776
+ "fixedColor": "green"
777
+ }
778
+ }
779
+ ]
780
+ },
781
+ {
782
+ "matcher": {
783
+ "id": "byName",
784
+ "options": "Failed"
785
+ },
786
+ "properties": [
787
+ {
788
+ "id": "color",
789
+ "value": {
790
+ "mode": "fixed",
791
+ "fixedColor": "red"
792
+ }
793
+ }
794
+ ]
795
+ },
796
+ {
797
+ "matcher": {
798
+ "id": "byName",
799
+ "options": "Other"
800
+ },
801
+ "properties": [
802
+ {
803
+ "id": "color",
804
+ "value": {
805
+ "mode": "fixed",
806
+ "fixedColor": "blue"
807
+ }
808
+ }
809
+ ]
810
+ }
811
+ ]
812
+ },
813
+ "options": {
814
+ "stacking": "normal",
815
+ "xField": "day",
816
+ "legend": {
817
+ "showLegend": true
818
+ },
819
+ "xTickLabelRotation": -45,
820
+ "xTickLabelSpacing": 0,
821
+ "barWidth": 0.8,
822
+ "groupWidth": 0.8,
823
+ "showValue": "never",
824
+ "tooltip": {
825
+ "mode": "multi"
826
+ }
827
+ },
828
+ "id": 7,
829
+ "gridPos": {
830
+ "x": 0,
831
+ "y": 8,
832
+ "w": 12,
833
+ "h": 8
834
+ }
835
+ },
836
+ {
837
+ "type": "barchart",
838
+ "title": "Run time per day",
839
+ "description": "Time of all runs that started that day, added up.",
840
+ "datasource": {
841
+ "type": "prometheus",
842
+ "uid": "prometheus"
843
+ },
844
+ "targets": [
845
+ {
846
+ "refId": "A",
847
+ "datasource": {
848
+ "type": "prometheus",
849
+ "uid": "prometheus"
850
+ },
851
+ "expr": "sum by (day) (fast2dev_airflow_dag_run_duration_seconds{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"sum\"})",
852
+ "legendFormat": "",
853
+ "instant": true,
854
+ "range": false,
855
+ "format": "table"
856
+ }
857
+ ],
858
+ "transformations": [
859
+ {
860
+ "id": "organize",
861
+ "options": {
862
+ "excludeByName": {
863
+ "Time": true,
864
+ "Time 1": true
865
+ },
866
+ "renameByName": {
867
+ "Value": "Run time"
868
+ }
869
+ }
870
+ },
871
+ {
872
+ "id": "sortBy",
873
+ "options": {
874
+ "sort": [
875
+ {
876
+ "field": "day"
877
+ }
878
+ ]
879
+ }
880
+ }
881
+ ],
882
+ "fieldConfig": {
883
+ "defaults": {
884
+ "unit": "s",
885
+ "custom": {
886
+ "fillOpacity": 80,
887
+ "lineWidth": 0
888
+ }
889
+ },
890
+ "overrides": []
891
+ },
892
+ "options": {
893
+ "stacking": "normal",
894
+ "xField": "day",
895
+ "legend": {
896
+ "showLegend": false
897
+ },
898
+ "xTickLabelRotation": -45,
899
+ "xTickLabelSpacing": 0,
900
+ "barWidth": 0.8,
901
+ "groupWidth": 0.8,
902
+ "showValue": "never",
903
+ "tooltip": {
904
+ "mode": "multi"
905
+ }
906
+ },
907
+ "id": 8,
908
+ "gridPos": {
909
+ "x": 12,
910
+ "y": 8,
911
+ "w": 12,
912
+ "h": 8
913
+ }
914
+ },
915
+ {
916
+ "type": "barchart",
917
+ "title": "Average and longest run per day",
918
+ "description": "",
919
+ "datasource": {
920
+ "type": "prometheus",
921
+ "uid": "prometheus"
922
+ },
923
+ "targets": [
924
+ {
925
+ "refId": "A",
926
+ "datasource": {
927
+ "type": "prometheus",
928
+ "uid": "prometheus"
929
+ },
930
+ "expr": "sum by (day) (fast2dev_airflow_dag_run_duration_seconds{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"sum\"}) / sum by (day) (fast2dev_airflow_dag_runs{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", state=~\"success|failed\"})",
931
+ "legendFormat": "",
932
+ "instant": true,
933
+ "range": false,
934
+ "format": "table"
935
+ },
936
+ {
937
+ "refId": "M",
938
+ "datasource": {
939
+ "type": "prometheus",
940
+ "uid": "prometheus"
941
+ },
942
+ "expr": "max by (day) (fast2dev_airflow_dag_run_duration_seconds{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"max\"})",
943
+ "legendFormat": "",
944
+ "instant": true,
945
+ "range": false,
946
+ "format": "table"
947
+ }
948
+ ],
949
+ "transformations": [
950
+ {
951
+ "id": "joinByField",
952
+ "options": {
953
+ "byField": "day",
954
+ "mode": "outer"
955
+ }
956
+ },
957
+ {
958
+ "id": "organize",
959
+ "options": {
960
+ "excludeByName": {
961
+ "Time": true,
962
+ "Time 1": true,
963
+ "Time 2": true
964
+ },
965
+ "renameByName": {
966
+ "Value #A": "Average",
967
+ "Value #M": "Longest"
968
+ }
969
+ }
970
+ },
971
+ {
972
+ "id": "sortBy",
973
+ "options": {
974
+ "sort": [
975
+ {
976
+ "field": "day"
977
+ }
978
+ ]
979
+ }
980
+ }
981
+ ],
982
+ "fieldConfig": {
983
+ "defaults": {
984
+ "unit": "s",
985
+ "custom": {
986
+ "fillOpacity": 80,
987
+ "lineWidth": 0
988
+ }
989
+ },
990
+ "overrides": [
991
+ {
992
+ "matcher": {
993
+ "id": "byName",
994
+ "options": "Average"
995
+ },
996
+ "properties": [
997
+ {
998
+ "id": "color",
999
+ "value": {
1000
+ "mode": "fixed",
1001
+ "fixedColor": "blue"
1002
+ }
1003
+ }
1004
+ ]
1005
+ },
1006
+ {
1007
+ "matcher": {
1008
+ "id": "byName",
1009
+ "options": "Longest"
1010
+ },
1011
+ "properties": [
1012
+ {
1013
+ "id": "color",
1014
+ "value": {
1015
+ "mode": "fixed",
1016
+ "fixedColor": "purple"
1017
+ }
1018
+ }
1019
+ ]
1020
+ }
1021
+ ]
1022
+ },
1023
+ "options": {
1024
+ "stacking": "none",
1025
+ "xField": "day",
1026
+ "legend": {
1027
+ "showLegend": true
1028
+ },
1029
+ "xTickLabelRotation": -45,
1030
+ "xTickLabelSpacing": 0,
1031
+ "barWidth": 0.8,
1032
+ "groupWidth": 0.8,
1033
+ "showValue": "never",
1034
+ "tooltip": {
1035
+ "mode": "multi"
1036
+ }
1037
+ },
1038
+ "id": 9,
1039
+ "gridPos": {
1040
+ "x": 0,
1041
+ "y": 16,
1042
+ "w": 12,
1043
+ "h": 9
1044
+ }
1045
+ },
1046
+ {
1047
+ "type": "barchart",
1048
+ "title": "Run time per day by dag",
1049
+ "description": "The eight dags that ran longest in the month.",
1050
+ "datasource": {
1051
+ "type": "prometheus",
1052
+ "uid": "prometheus"
1053
+ },
1054
+ "targets": [
1055
+ {
1056
+ "refId": "A",
1057
+ "datasource": {
1058
+ "type": "prometheus",
1059
+ "uid": "prometheus"
1060
+ },
1061
+ "expr": "sum by (day, dag_id) (fast2dev_airflow_dag_run_duration_seconds{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"sum\"}) and on (dag_id) topk(8, sum by (dag_id) (fast2dev_airflow_dag_run_duration_seconds{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"sum\"}))",
1062
+ "legendFormat": "",
1063
+ "instant": true,
1064
+ "range": false,
1065
+ "format": "table"
1066
+ }
1067
+ ],
1068
+ "transformations": [
1069
+ {
1070
+ "id": "groupingToMatrix",
1071
+ "options": {
1072
+ "columnField": "dag_id",
1073
+ "rowField": "day",
1074
+ "valueField": "Value",
1075
+ "emptyValue": "zero"
1076
+ }
1077
+ },
1078
+ {
1079
+ "id": "organize",
1080
+ "options": {
1081
+ "renameByName": {
1082
+ "day\\dag_id": "day"
1083
+ }
1084
+ }
1085
+ },
1086
+ {
1087
+ "id": "sortBy",
1088
+ "options": {
1089
+ "sort": [
1090
+ {
1091
+ "field": "day"
1092
+ }
1093
+ ]
1094
+ }
1095
+ }
1096
+ ],
1097
+ "fieldConfig": {
1098
+ "defaults": {
1099
+ "unit": "s",
1100
+ "custom": {
1101
+ "fillOpacity": 80,
1102
+ "lineWidth": 0
1103
+ }
1104
+ },
1105
+ "overrides": []
1106
+ },
1107
+ "options": {
1108
+ "stacking": "normal",
1109
+ "xField": "day",
1110
+ "legend": {
1111
+ "showLegend": true,
1112
+ "displayMode": "list",
1113
+ "placement": "right"
1114
+ },
1115
+ "xTickLabelRotation": -45,
1116
+ "xTickLabelSpacing": 0,
1117
+ "barWidth": 0.8,
1118
+ "groupWidth": 0.8,
1119
+ "showValue": "never",
1120
+ "tooltip": {
1121
+ "mode": "multi",
1122
+ "sort": "desc"
1123
+ }
1124
+ },
1125
+ "id": 10,
1126
+ "gridPos": {
1127
+ "x": 12,
1128
+ "y": 16,
1129
+ "w": 12,
1130
+ "h": 9
1131
+ }
1132
+ },
1133
+ {
1134
+ "type": "row",
1135
+ "title": "Per DAG over the month",
1136
+ "id": 11,
1137
+ "collapsed": false,
1138
+ "gridPos": {
1139
+ "x": 0,
1140
+ "y": 25,
1141
+ "w": 24,
1142
+ "h": 1
1143
+ },
1144
+ "panels": []
1145
+ },
1146
+ {
1147
+ "type": "timeseries",
1148
+ "title": "Run time per DAG per day · Longest 10",
1149
+ "description": "Time of the runs that started that day, added up, one line per DAG.",
1150
+ "datasource": {
1151
+ "type": "prometheus",
1152
+ "uid": "prometheus"
1153
+ },
1154
+ "targets": [
1155
+ {
1156
+ "refId": "A",
1157
+ "datasource": {
1158
+ "type": "prometheus",
1159
+ "uid": "prometheus"
1160
+ },
1161
+ "expr": "sum by (day, dag_id) (fast2dev_airflow_dag_run_duration_seconds{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"sum\"}) and on (dag_id) topk(10, sum by (dag_id) (fast2dev_airflow_dag_run_duration_seconds{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"sum\"}))",
1162
+ "legendFormat": "",
1163
+ "instant": true,
1164
+ "range": false,
1165
+ "format": "table"
1166
+ }
1167
+ ],
1168
+ "transformations": [
1169
+ {
1170
+ "id": "organize",
1171
+ "options": {
1172
+ "excludeByName": {
1173
+ "Time": true
1174
+ }
1175
+ }
1176
+ },
1177
+ {
1178
+ "id": "convertFieldType",
1179
+ "options": {
1180
+ "fields": {},
1181
+ "conversions": [
1182
+ {
1183
+ "targetField": "day",
1184
+ "destinationType": "time",
1185
+ "dateFormat": "YYYY-MM-DD"
1186
+ }
1187
+ ]
1188
+ }
1189
+ },
1190
+ {
1191
+ "id": "sortBy",
1192
+ "options": {
1193
+ "fields": {},
1194
+ "sort": [
1195
+ {
1196
+ "field": "day",
1197
+ "desc": false
1198
+ }
1199
+ ]
1200
+ }
1201
+ },
1202
+ {
1203
+ "id": "partitionByValues",
1204
+ "options": {
1205
+ "fields": [
1206
+ "dag_id"
1207
+ ],
1208
+ "keepFields": false,
1209
+ "naming": {
1210
+ "asLabels": true
1211
+ }
1212
+ }
1213
+ }
1214
+ ],
1215
+ "fieldConfig": {
1216
+ "defaults": {
1217
+ "unit": "s",
1218
+ "displayName": "${__field.labels.dag_id}",
1219
+ "color": {
1220
+ "mode": "palette-classic"
1221
+ },
1222
+ "custom": {
1223
+ "drawStyle": "line",
1224
+ "lineInterpolation": "linear",
1225
+ "lineWidth": 2,
1226
+ "fillOpacity": 0,
1227
+ "showPoints": "always",
1228
+ "pointSize": 5,
1229
+ "spanNulls": true,
1230
+ "axisSoftMin": 0,
1231
+ "thresholdsStyle": {
1232
+ "mode": "off"
1233
+ }
1234
+ }
1235
+ },
1236
+ "overrides": []
1237
+ },
1238
+ "options": {
1239
+ "legend": {
1240
+ "showLegend": true,
1241
+ "displayMode": "table",
1242
+ "placement": "right",
1243
+ "calcs": [
1244
+ "lastNotNull",
1245
+ "max",
1246
+ "sum"
1247
+ ],
1248
+ "sortBy": "Total",
1249
+ "sortDesc": true,
1250
+ "width": 360
1251
+ },
1252
+ "tooltip": {
1253
+ "mode": "multi",
1254
+ "sort": "desc"
1255
+ }
1256
+ },
1257
+ "id": 12,
1258
+ "gridPos": {
1259
+ "x": 0,
1260
+ "y": 26,
1261
+ "w": 12,
1262
+ "h": 10
1263
+ }
1264
+ },
1265
+ {
1266
+ "type": "timeseries",
1267
+ "title": "Run time per DAG per day · all other",
1268
+ "description": "Time of the runs that started that day, added up, one line per DAG.",
1269
+ "datasource": {
1270
+ "type": "prometheus",
1271
+ "uid": "prometheus"
1272
+ },
1273
+ "targets": [
1274
+ {
1275
+ "refId": "A",
1276
+ "datasource": {
1277
+ "type": "prometheus",
1278
+ "uid": "prometheus"
1279
+ },
1280
+ "expr": "sum by (day, dag_id) (fast2dev_airflow_dag_run_duration_seconds{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"sum\"}) unless on (dag_id) topk(10, sum by (dag_id) (fast2dev_airflow_dag_run_duration_seconds{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"sum\"}))",
1281
+ "legendFormat": "",
1282
+ "instant": true,
1283
+ "range": false,
1284
+ "format": "table"
1285
+ }
1286
+ ],
1287
+ "transformations": [
1288
+ {
1289
+ "id": "organize",
1290
+ "options": {
1291
+ "excludeByName": {
1292
+ "Time": true
1293
+ }
1294
+ }
1295
+ },
1296
+ {
1297
+ "id": "convertFieldType",
1298
+ "options": {
1299
+ "fields": {},
1300
+ "conversions": [
1301
+ {
1302
+ "targetField": "day",
1303
+ "destinationType": "time",
1304
+ "dateFormat": "YYYY-MM-DD"
1305
+ }
1306
+ ]
1307
+ }
1308
+ },
1309
+ {
1310
+ "id": "sortBy",
1311
+ "options": {
1312
+ "fields": {},
1313
+ "sort": [
1314
+ {
1315
+ "field": "day",
1316
+ "desc": false
1317
+ }
1318
+ ]
1319
+ }
1320
+ },
1321
+ {
1322
+ "id": "partitionByValues",
1323
+ "options": {
1324
+ "fields": [
1325
+ "dag_id"
1326
+ ],
1327
+ "keepFields": false,
1328
+ "naming": {
1329
+ "asLabels": true
1330
+ }
1331
+ }
1332
+ }
1333
+ ],
1334
+ "fieldConfig": {
1335
+ "defaults": {
1336
+ "unit": "s",
1337
+ "displayName": "${__field.labels.dag_id}",
1338
+ "color": {
1339
+ "mode": "palette-classic"
1340
+ },
1341
+ "custom": {
1342
+ "drawStyle": "line",
1343
+ "lineInterpolation": "linear",
1344
+ "lineWidth": 2,
1345
+ "fillOpacity": 0,
1346
+ "showPoints": "always",
1347
+ "pointSize": 5,
1348
+ "spanNulls": true,
1349
+ "axisSoftMin": 0,
1350
+ "thresholdsStyle": {
1351
+ "mode": "off"
1352
+ }
1353
+ }
1354
+ },
1355
+ "overrides": []
1356
+ },
1357
+ "options": {
1358
+ "legend": {
1359
+ "showLegend": true,
1360
+ "displayMode": "table",
1361
+ "placement": "right",
1362
+ "calcs": [
1363
+ "lastNotNull",
1364
+ "max",
1365
+ "sum"
1366
+ ],
1367
+ "sortBy": "Total",
1368
+ "sortDesc": true,
1369
+ "width": 360
1370
+ },
1371
+ "tooltip": {
1372
+ "mode": "multi",
1373
+ "sort": "desc"
1374
+ }
1375
+ },
1376
+ "id": 13,
1377
+ "gridPos": {
1378
+ "x": 12,
1379
+ "y": 26,
1380
+ "w": 12,
1381
+ "h": 10
1382
+ }
1383
+ },
1384
+ {
1385
+ "type": "timeseries",
1386
+ "title": "Runs per DAG per day · Busiest 10",
1387
+ "description": "Runs started that day, one line per DAG.",
1388
+ "datasource": {
1389
+ "type": "prometheus",
1390
+ "uid": "prometheus"
1391
+ },
1392
+ "targets": [
1393
+ {
1394
+ "refId": "A",
1395
+ "datasource": {
1396
+ "type": "prometheus",
1397
+ "uid": "prometheus"
1398
+ },
1399
+ "expr": "sum by (day, dag_id) (fast2dev_airflow_dag_runs{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\"}) and on (dag_id) topk(10, sum by (dag_id) (fast2dev_airflow_dag_runs{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\"}))",
1400
+ "legendFormat": "",
1401
+ "instant": true,
1402
+ "range": false,
1403
+ "format": "table"
1404
+ }
1405
+ ],
1406
+ "transformations": [
1407
+ {
1408
+ "id": "organize",
1409
+ "options": {
1410
+ "excludeByName": {
1411
+ "Time": true
1412
+ }
1413
+ }
1414
+ },
1415
+ {
1416
+ "id": "convertFieldType",
1417
+ "options": {
1418
+ "fields": {},
1419
+ "conversions": [
1420
+ {
1421
+ "targetField": "day",
1422
+ "destinationType": "time",
1423
+ "dateFormat": "YYYY-MM-DD"
1424
+ }
1425
+ ]
1426
+ }
1427
+ },
1428
+ {
1429
+ "id": "sortBy",
1430
+ "options": {
1431
+ "fields": {},
1432
+ "sort": [
1433
+ {
1434
+ "field": "day",
1435
+ "desc": false
1436
+ }
1437
+ ]
1438
+ }
1439
+ },
1440
+ {
1441
+ "id": "partitionByValues",
1442
+ "options": {
1443
+ "fields": [
1444
+ "dag_id"
1445
+ ],
1446
+ "keepFields": false,
1447
+ "naming": {
1448
+ "asLabels": true
1449
+ }
1450
+ }
1451
+ }
1452
+ ],
1453
+ "fieldConfig": {
1454
+ "defaults": {
1455
+ "unit": "short",
1456
+ "displayName": "${__field.labels.dag_id}",
1457
+ "color": {
1458
+ "mode": "palette-classic"
1459
+ },
1460
+ "custom": {
1461
+ "drawStyle": "line",
1462
+ "lineInterpolation": "linear",
1463
+ "lineWidth": 2,
1464
+ "fillOpacity": 0,
1465
+ "showPoints": "always",
1466
+ "pointSize": 5,
1467
+ "spanNulls": true,
1468
+ "axisSoftMin": 0,
1469
+ "thresholdsStyle": {
1470
+ "mode": "off"
1471
+ }
1472
+ }
1473
+ },
1474
+ "overrides": []
1475
+ },
1476
+ "options": {
1477
+ "legend": {
1478
+ "showLegend": true,
1479
+ "displayMode": "table",
1480
+ "placement": "right",
1481
+ "calcs": [
1482
+ "lastNotNull",
1483
+ "max",
1484
+ "sum"
1485
+ ],
1486
+ "sortBy": "Total",
1487
+ "sortDesc": true,
1488
+ "width": 360
1489
+ },
1490
+ "tooltip": {
1491
+ "mode": "multi",
1492
+ "sort": "desc"
1493
+ }
1494
+ },
1495
+ "id": 14,
1496
+ "gridPos": {
1497
+ "x": 0,
1498
+ "y": 36,
1499
+ "w": 12,
1500
+ "h": 10
1501
+ }
1502
+ },
1503
+ {
1504
+ "type": "timeseries",
1505
+ "title": "Runs per DAG per day · all other",
1506
+ "description": "Runs started that day, one line per DAG.",
1507
+ "datasource": {
1508
+ "type": "prometheus",
1509
+ "uid": "prometheus"
1510
+ },
1511
+ "targets": [
1512
+ {
1513
+ "refId": "A",
1514
+ "datasource": {
1515
+ "type": "prometheus",
1516
+ "uid": "prometheus"
1517
+ },
1518
+ "expr": "sum by (day, dag_id) (fast2dev_airflow_dag_runs{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\"}) unless on (dag_id) topk(10, sum by (dag_id) (fast2dev_airflow_dag_runs{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\"}))",
1519
+ "legendFormat": "",
1520
+ "instant": true,
1521
+ "range": false,
1522
+ "format": "table"
1523
+ }
1524
+ ],
1525
+ "transformations": [
1526
+ {
1527
+ "id": "organize",
1528
+ "options": {
1529
+ "excludeByName": {
1530
+ "Time": true
1531
+ }
1532
+ }
1533
+ },
1534
+ {
1535
+ "id": "convertFieldType",
1536
+ "options": {
1537
+ "fields": {},
1538
+ "conversions": [
1539
+ {
1540
+ "targetField": "day",
1541
+ "destinationType": "time",
1542
+ "dateFormat": "YYYY-MM-DD"
1543
+ }
1544
+ ]
1545
+ }
1546
+ },
1547
+ {
1548
+ "id": "sortBy",
1549
+ "options": {
1550
+ "fields": {},
1551
+ "sort": [
1552
+ {
1553
+ "field": "day",
1554
+ "desc": false
1555
+ }
1556
+ ]
1557
+ }
1558
+ },
1559
+ {
1560
+ "id": "partitionByValues",
1561
+ "options": {
1562
+ "fields": [
1563
+ "dag_id"
1564
+ ],
1565
+ "keepFields": false,
1566
+ "naming": {
1567
+ "asLabels": true
1568
+ }
1569
+ }
1570
+ }
1571
+ ],
1572
+ "fieldConfig": {
1573
+ "defaults": {
1574
+ "unit": "short",
1575
+ "displayName": "${__field.labels.dag_id}",
1576
+ "color": {
1577
+ "mode": "palette-classic"
1578
+ },
1579
+ "custom": {
1580
+ "drawStyle": "line",
1581
+ "lineInterpolation": "linear",
1582
+ "lineWidth": 2,
1583
+ "fillOpacity": 0,
1584
+ "showPoints": "always",
1585
+ "pointSize": 5,
1586
+ "spanNulls": true,
1587
+ "axisSoftMin": 0,
1588
+ "thresholdsStyle": {
1589
+ "mode": "off"
1590
+ }
1591
+ }
1592
+ },
1593
+ "overrides": []
1594
+ },
1595
+ "options": {
1596
+ "legend": {
1597
+ "showLegend": true,
1598
+ "displayMode": "table",
1599
+ "placement": "right",
1600
+ "calcs": [
1601
+ "lastNotNull",
1602
+ "max",
1603
+ "sum"
1604
+ ],
1605
+ "sortBy": "Total",
1606
+ "sortDesc": true,
1607
+ "width": 360
1608
+ },
1609
+ "tooltip": {
1610
+ "mode": "multi",
1611
+ "sort": "desc"
1612
+ }
1613
+ },
1614
+ "id": 15,
1615
+ "gridPos": {
1616
+ "x": 12,
1617
+ "y": 36,
1618
+ "w": 12,
1619
+ "h": 10
1620
+ }
1621
+ },
1622
+ {
1623
+ "type": "row",
1624
+ "title": "DAGs",
1625
+ "id": 16,
1626
+ "collapsed": false,
1627
+ "gridPos": {
1628
+ "x": 0,
1629
+ "y": 46,
1630
+ "w": 24,
1631
+ "h": 1
1632
+ },
1633
+ "panels": []
1634
+ },
1635
+ {
1636
+ "type": "table",
1637
+ "title": "DAGs in the month",
1638
+ "description": "Today and two weeks ago cover midnight up to the current time of day.",
1639
+ "datasource": {
1640
+ "type": "prometheus",
1641
+ "uid": "prometheus"
1642
+ },
1643
+ "targets": [
1644
+ {
1645
+ "refId": "A",
1646
+ "datasource": {
1647
+ "type": "prometheus",
1648
+ "uid": "prometheus"
1649
+ },
1650
+ "expr": "sum by (dag_id) (fast2dev_airflow_dag_runs{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\"})",
1651
+ "legendFormat": "",
1652
+ "instant": true,
1653
+ "range": false,
1654
+ "format": "table"
1655
+ },
1656
+ {
1657
+ "refId": "B",
1658
+ "datasource": {
1659
+ "type": "prometheus",
1660
+ "uid": "prometheus"
1661
+ },
1662
+ "expr": "sum by (dag_id) (fast2dev_airflow_dag_run_outcomes{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", outcome=\"failed\"})",
1663
+ "legendFormat": "",
1664
+ "instant": true,
1665
+ "range": false,
1666
+ "format": "table"
1667
+ },
1668
+ {
1669
+ "refId": "C",
1670
+ "datasource": {
1671
+ "type": "prometheus",
1672
+ "uid": "prometheus"
1673
+ },
1674
+ "expr": "sum by (dag_id) (fast2dev_airflow_dag_run_outcomes{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", outcome=\"success\"}) / clamp_min(sum by (dag_id) (fast2dev_airflow_dag_run_outcomes{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", outcome=~\"success|failed\"}), 1)",
1675
+ "legendFormat": "",
1676
+ "instant": true,
1677
+ "range": false,
1678
+ "format": "table"
1679
+ },
1680
+ {
1681
+ "refId": "D",
1682
+ "datasource": {
1683
+ "type": "prometheus",
1684
+ "uid": "prometheus"
1685
+ },
1686
+ "expr": "sum by (dag_id) (fast2dev_airflow_dag_run_duration_seconds{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"sum\"})",
1687
+ "legendFormat": "",
1688
+ "instant": true,
1689
+ "range": false,
1690
+ "format": "table"
1691
+ },
1692
+ {
1693
+ "refId": "E",
1694
+ "datasource": {
1695
+ "type": "prometheus",
1696
+ "uid": "prometheus"
1697
+ },
1698
+ "expr": "sum by (dag_id) (fast2dev_airflow_dag_run_duration_seconds{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"sum\"}) / clamp_min(sum by (dag_id) (fast2dev_airflow_dag_runs{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", state=~\"success|failed\"}), 1)",
1699
+ "legendFormat": "",
1700
+ "instant": true,
1701
+ "range": false,
1702
+ "format": "table"
1703
+ },
1704
+ {
1705
+ "refId": "F",
1706
+ "datasource": {
1707
+ "type": "prometheus",
1708
+ "uid": "prometheus"
1709
+ },
1710
+ "expr": "max by (dag_id) (fast2dev_airflow_dag_run_duration_seconds{dag_id=~\"$dag\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"max\"})",
1711
+ "legendFormat": "",
1712
+ "instant": true,
1713
+ "range": false,
1714
+ "format": "table"
1715
+ },
1716
+ {
1717
+ "refId": "G",
1718
+ "datasource": {
1719
+ "type": "prometheus",
1720
+ "uid": "prometheus"
1721
+ },
1722
+ "expr": "sum by (dag_id) (fast2dev_airflow_dag_period_runs{dag_id=~\"$dag\", period=\"today\"})",
1723
+ "legendFormat": "",
1724
+ "instant": true,
1725
+ "range": false,
1726
+ "format": "table"
1727
+ },
1728
+ {
1729
+ "refId": "H",
1730
+ "datasource": {
1731
+ "type": "prometheus",
1732
+ "uid": "prometheus"
1733
+ },
1734
+ "expr": "sum by (dag_id) (fast2dev_airflow_dag_period_run_seconds{dag_id=~\"$dag\", period=\"today\"})",
1735
+ "legendFormat": "",
1736
+ "instant": true,
1737
+ "range": false,
1738
+ "format": "table"
1739
+ },
1740
+ {
1741
+ "refId": "I",
1742
+ "datasource": {
1743
+ "type": "prometheus",
1744
+ "uid": "prometheus"
1745
+ },
1746
+ "expr": "sum by (dag_id) (fast2dev_airflow_dag_period_run_seconds{dag_id=~\"$dag\", period=\"two_weeks_ago\"})",
1747
+ "legendFormat": "",
1748
+ "instant": true,
1749
+ "range": false,
1750
+ "format": "table"
1751
+ },
1752
+ {
1753
+ "refId": "J",
1754
+ "datasource": {
1755
+ "type": "prometheus",
1756
+ "uid": "prometheus"
1757
+ },
1758
+ "expr": "(((sum by (dag_id) (fast2dev_airflow_dag_period_run_seconds{dag_id=~\"$dag\", period=\"today\"})) or (sum by (dag_id) (fast2dev_airflow_dag_period_run_seconds{dag_id=~\"$dag\", period=\"two_weeks_ago\"})) * 0) - (sum by (dag_id) (fast2dev_airflow_dag_period_run_seconds{dag_id=~\"$dag\", period=\"two_weeks_ago\"}))) / ((sum by (dag_id) (fast2dev_airflow_dag_period_run_seconds{dag_id=~\"$dag\", period=\"two_weeks_ago\"})) > 0)",
1759
+ "legendFormat": "",
1760
+ "instant": true,
1761
+ "range": false,
1762
+ "format": "table"
1763
+ }
1764
+ ],
1765
+ "transformations": [
1766
+ {
1767
+ "id": "merge",
1768
+ "options": {}
1769
+ },
1770
+ {
1771
+ "id": "organize",
1772
+ "options": {
1773
+ "excludeByName": {
1774
+ "Time": true
1775
+ },
1776
+ "renameByName": {
1777
+ "dag_id": "DAG",
1778
+ "Value #A": "Runs",
1779
+ "Value #B": "Failed",
1780
+ "Value #C": "Success",
1781
+ "Value #D": "Run time",
1782
+ "Value #E": "Avg run",
1783
+ "Value #F": "Longest run",
1784
+ "Value #G": "Runs today",
1785
+ "Value #H": "Run time today",
1786
+ "Value #I": "Two weeks ago",
1787
+ "Value #J": "Change"
1788
+ }
1789
+ }
1790
+ }
1791
+ ],
1792
+ "fieldConfig": {
1793
+ "defaults": {
1794
+ "custom": {
1795
+ "align": "auto",
1796
+ "filterable": true
1797
+ },
1798
+ "thresholds": {
1799
+ "mode": "absolute",
1800
+ "steps": [
1801
+ {
1802
+ "color": "text",
1803
+ "value": null
1804
+ }
1805
+ ]
1806
+ },
1807
+ "noValue": "–"
1808
+ },
1809
+ "overrides": [
1810
+ {
1811
+ "matcher": {
1812
+ "id": "byName",
1813
+ "options": "Success"
1814
+ },
1815
+ "properties": [
1816
+ {
1817
+ "id": "unit",
1818
+ "value": "percentunit"
1819
+ }
1820
+ ]
1821
+ },
1822
+ {
1823
+ "matcher": {
1824
+ "id": "byName",
1825
+ "options": "Run time"
1826
+ },
1827
+ "properties": [
1828
+ {
1829
+ "id": "unit",
1830
+ "value": "s"
1831
+ }
1832
+ ]
1833
+ },
1834
+ {
1835
+ "matcher": {
1836
+ "id": "byName",
1837
+ "options": "Avg run"
1838
+ },
1839
+ "properties": [
1840
+ {
1841
+ "id": "unit",
1842
+ "value": "s"
1843
+ }
1844
+ ]
1845
+ },
1846
+ {
1847
+ "matcher": {
1848
+ "id": "byName",
1849
+ "options": "Longest run"
1850
+ },
1851
+ "properties": [
1852
+ {
1853
+ "id": "unit",
1854
+ "value": "s"
1855
+ }
1856
+ ]
1857
+ },
1858
+ {
1859
+ "matcher": {
1860
+ "id": "byName",
1861
+ "options": "Run time today"
1862
+ },
1863
+ "properties": [
1864
+ {
1865
+ "id": "unit",
1866
+ "value": "s"
1867
+ }
1868
+ ]
1869
+ },
1870
+ {
1871
+ "matcher": {
1872
+ "id": "byName",
1873
+ "options": "Two weeks ago"
1874
+ },
1875
+ "properties": [
1876
+ {
1877
+ "id": "unit",
1878
+ "value": "s"
1879
+ }
1880
+ ]
1881
+ },
1882
+ {
1883
+ "matcher": {
1884
+ "id": "byName",
1885
+ "options": "Change"
1886
+ },
1887
+ "properties": [
1888
+ {
1889
+ "id": "unit",
1890
+ "value": "percentunit"
1891
+ }
1892
+ ]
1893
+ },
1894
+ {
1895
+ "matcher": {
1896
+ "id": "byName",
1897
+ "options": "Change"
1898
+ },
1899
+ "properties": [
1900
+ {
1901
+ "id": "custom.cellOptions",
1902
+ "value": {
1903
+ "type": "color-text"
1904
+ }
1905
+ },
1906
+ {
1907
+ "id": "decimals",
1908
+ "value": 0
1909
+ },
1910
+ {
1911
+ "id": "thresholds",
1912
+ "value": {
1913
+ "mode": "absolute",
1914
+ "steps": [
1915
+ {
1916
+ "color": "text",
1917
+ "value": null
1918
+ }
1919
+ ]
1920
+ }
1921
+ }
1922
+ ]
1923
+ }
1924
+ ]
1925
+ },
1926
+ "options": {
1927
+ "showHeader": true,
1928
+ "cellHeight": "sm",
1929
+ "sortBy": [
1930
+ {
1931
+ "displayName": "Run time",
1932
+ "desc": true
1933
+ }
1934
+ ]
1935
+ },
1936
+ "id": 17,
1937
+ "gridPos": {
1938
+ "x": 0,
1939
+ "y": 47,
1940
+ "w": 24,
1941
+ "h": 11
1942
+ }
1943
+ },
1944
+ {
1945
+ "type": "row",
1946
+ "title": "Tasks",
1947
+ "id": 18,
1948
+ "collapsed": false,
1949
+ "gridPos": {
1950
+ "x": 0,
1951
+ "y": 58,
1952
+ "w": 24,
1953
+ "h": 1
1954
+ },
1955
+ "panels": []
1956
+ },
1957
+ {
1958
+ "type": "timeseries",
1959
+ "title": "Task run time per day · Longest 10",
1960
+ "description": "Time each task ran that day, retries included, one line per DAG · task.",
1961
+ "datasource": {
1962
+ "type": "prometheus",
1963
+ "uid": "prometheus"
1964
+ },
1965
+ "targets": [
1966
+ {
1967
+ "refId": "A",
1968
+ "datasource": {
1969
+ "type": "prometheus",
1970
+ "uid": "prometheus"
1971
+ },
1972
+ "expr": "sum by (day, dag_id, task_id) (fast2dev_airflow_task_daily_duration_seconds{dag_id=~\"$dag\", task_id=~\"$task\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"sum\"}) and on (dag_id, task_id) topk(10, sum by (dag_id, task_id) (fast2dev_airflow_task_daily_duration_seconds{dag_id=~\"$dag\", task_id=~\"$task\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"sum\"}))",
1973
+ "legendFormat": "",
1974
+ "instant": true,
1975
+ "range": false,
1976
+ "format": "table"
1977
+ }
1978
+ ],
1979
+ "transformations": [
1980
+ {
1981
+ "id": "organize",
1982
+ "options": {
1983
+ "excludeByName": {
1984
+ "Time": true
1985
+ }
1986
+ }
1987
+ },
1988
+ {
1989
+ "id": "convertFieldType",
1990
+ "options": {
1991
+ "fields": {},
1992
+ "conversions": [
1993
+ {
1994
+ "targetField": "day",
1995
+ "destinationType": "time",
1996
+ "dateFormat": "YYYY-MM-DD"
1997
+ }
1998
+ ]
1999
+ }
2000
+ },
2001
+ {
2002
+ "id": "sortBy",
2003
+ "options": {
2004
+ "fields": {},
2005
+ "sort": [
2006
+ {
2007
+ "field": "day",
2008
+ "desc": false
2009
+ }
2010
+ ]
2011
+ }
2012
+ },
2013
+ {
2014
+ "id": "partitionByValues",
2015
+ "options": {
2016
+ "fields": [
2017
+ "dag_id",
2018
+ "task_id"
2019
+ ],
2020
+ "keepFields": false,
2021
+ "naming": {
2022
+ "asLabels": true
2023
+ }
2024
+ }
2025
+ }
2026
+ ],
2027
+ "fieldConfig": {
2028
+ "defaults": {
2029
+ "unit": "s",
2030
+ "displayName": "${__field.labels.dag_id} · ${__field.labels.task_id}",
2031
+ "color": {
2032
+ "mode": "palette-classic"
2033
+ },
2034
+ "custom": {
2035
+ "drawStyle": "line",
2036
+ "lineInterpolation": "linear",
2037
+ "lineWidth": 2,
2038
+ "fillOpacity": 0,
2039
+ "showPoints": "always",
2040
+ "pointSize": 5,
2041
+ "spanNulls": true,
2042
+ "axisSoftMin": 0,
2043
+ "thresholdsStyle": {
2044
+ "mode": "off"
2045
+ }
2046
+ }
2047
+ },
2048
+ "overrides": []
2049
+ },
2050
+ "options": {
2051
+ "legend": {
2052
+ "showLegend": true,
2053
+ "displayMode": "table",
2054
+ "placement": "right",
2055
+ "calcs": [
2056
+ "lastNotNull",
2057
+ "max",
2058
+ "sum"
2059
+ ],
2060
+ "sortBy": "Total",
2061
+ "sortDesc": true,
2062
+ "width": 360
2063
+ },
2064
+ "tooltip": {
2065
+ "mode": "multi",
2066
+ "sort": "desc"
2067
+ }
2068
+ },
2069
+ "id": 19,
2070
+ "gridPos": {
2071
+ "x": 0,
2072
+ "y": 59,
2073
+ "w": 12,
2074
+ "h": 10
2075
+ }
2076
+ },
2077
+ {
2078
+ "type": "timeseries",
2079
+ "title": "Task run time per day · all other",
2080
+ "description": "Time each task ran that day, retries included, one line per DAG · task.",
2081
+ "datasource": {
2082
+ "type": "prometheus",
2083
+ "uid": "prometheus"
2084
+ },
2085
+ "targets": [
2086
+ {
2087
+ "refId": "A",
2088
+ "datasource": {
2089
+ "type": "prometheus",
2090
+ "uid": "prometheus"
2091
+ },
2092
+ "expr": "sum by (day, dag_id, task_id) (fast2dev_airflow_task_daily_duration_seconds{dag_id=~\"$dag\", task_id=~\"$task\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"sum\"}) unless on (dag_id, task_id) topk(10, sum by (dag_id, task_id) (fast2dev_airflow_task_daily_duration_seconds{dag_id=~\"$dag\", task_id=~\"$task\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"sum\"}))",
2093
+ "legendFormat": "",
2094
+ "instant": true,
2095
+ "range": false,
2096
+ "format": "table"
2097
+ }
2098
+ ],
2099
+ "transformations": [
2100
+ {
2101
+ "id": "organize",
2102
+ "options": {
2103
+ "excludeByName": {
2104
+ "Time": true
2105
+ }
2106
+ }
2107
+ },
2108
+ {
2109
+ "id": "convertFieldType",
2110
+ "options": {
2111
+ "fields": {},
2112
+ "conversions": [
2113
+ {
2114
+ "targetField": "day",
2115
+ "destinationType": "time",
2116
+ "dateFormat": "YYYY-MM-DD"
2117
+ }
2118
+ ]
2119
+ }
2120
+ },
2121
+ {
2122
+ "id": "sortBy",
2123
+ "options": {
2124
+ "fields": {},
2125
+ "sort": [
2126
+ {
2127
+ "field": "day",
2128
+ "desc": false
2129
+ }
2130
+ ]
2131
+ }
2132
+ },
2133
+ {
2134
+ "id": "partitionByValues",
2135
+ "options": {
2136
+ "fields": [
2137
+ "dag_id",
2138
+ "task_id"
2139
+ ],
2140
+ "keepFields": false,
2141
+ "naming": {
2142
+ "asLabels": true
2143
+ }
2144
+ }
2145
+ }
2146
+ ],
2147
+ "fieldConfig": {
2148
+ "defaults": {
2149
+ "unit": "s",
2150
+ "displayName": "${__field.labels.dag_id} · ${__field.labels.task_id}",
2151
+ "color": {
2152
+ "mode": "palette-classic"
2153
+ },
2154
+ "custom": {
2155
+ "drawStyle": "line",
2156
+ "lineInterpolation": "linear",
2157
+ "lineWidth": 2,
2158
+ "fillOpacity": 0,
2159
+ "showPoints": "always",
2160
+ "pointSize": 5,
2161
+ "spanNulls": true,
2162
+ "axisSoftMin": 0,
2163
+ "thresholdsStyle": {
2164
+ "mode": "off"
2165
+ }
2166
+ }
2167
+ },
2168
+ "overrides": []
2169
+ },
2170
+ "options": {
2171
+ "legend": {
2172
+ "showLegend": true,
2173
+ "displayMode": "table",
2174
+ "placement": "right",
2175
+ "calcs": [
2176
+ "lastNotNull",
2177
+ "max",
2178
+ "sum"
2179
+ ],
2180
+ "sortBy": "Total",
2181
+ "sortDesc": true,
2182
+ "width": 360
2183
+ },
2184
+ "tooltip": {
2185
+ "mode": "multi",
2186
+ "sort": "desc"
2187
+ }
2188
+ },
2189
+ "id": 20,
2190
+ "gridPos": {
2191
+ "x": 12,
2192
+ "y": 59,
2193
+ "w": 12,
2194
+ "h": 10
2195
+ }
2196
+ },
2197
+ {
2198
+ "type": "table",
2199
+ "title": "Tasks in the month",
2200
+ "description": "",
2201
+ "datasource": {
2202
+ "type": "prometheus",
2203
+ "uid": "prometheus"
2204
+ },
2205
+ "targets": [
2206
+ {
2207
+ "refId": "A",
2208
+ "datasource": {
2209
+ "type": "prometheus",
2210
+ "uid": "prometheus"
2211
+ },
2212
+ "expr": "sum by (dag_id, task_id) (fast2dev_airflow_task_daily_duration_seconds{dag_id=~\"$dag\", task_id=~\"$task\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"sum\"})",
2213
+ "legendFormat": "",
2214
+ "instant": true,
2215
+ "range": false,
2216
+ "format": "table"
2217
+ },
2218
+ {
2219
+ "refId": "B",
2220
+ "datasource": {
2221
+ "type": "prometheus",
2222
+ "uid": "prometheus"
2223
+ },
2224
+ "expr": "max by (dag_id, task_id) (fast2dev_airflow_task_daily_duration_seconds{dag_id=~\"$dag\", task_id=~\"$task\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"max\"})",
2225
+ "legendFormat": "",
2226
+ "instant": true,
2227
+ "range": false,
2228
+ "format": "table"
2229
+ },
2230
+ {
2231
+ "refId": "C",
2232
+ "datasource": {
2233
+ "type": "prometheus",
2234
+ "uid": "prometheus"
2235
+ },
2236
+ "expr": "sum by (dag_id, task_id) (fast2dev_airflow_task_daily_duration_seconds{dag_id=~\"$dag\", task_id=~\"$task\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"count\"})",
2237
+ "legendFormat": "",
2238
+ "instant": true,
2239
+ "range": false,
2240
+ "format": "table"
2241
+ },
2242
+ {
2243
+ "refId": "D",
2244
+ "datasource": {
2245
+ "type": "prometheus",
2246
+ "uid": "prometheus"
2247
+ },
2248
+ "expr": "sum by (dag_id, task_id) (fast2dev_airflow_task_daily_duration_seconds{dag_id=~\"$dag\", task_id=~\"$task\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"sum\"}) / clamp_min(sum by (dag_id, task_id) (fast2dev_airflow_task_daily_duration_seconds{dag_id=~\"$dag\", task_id=~\"$task\", day=~\"${__to:date:YYYY-MM}.*\", stat=\"count\"}), 1)",
2249
+ "legendFormat": "",
2250
+ "instant": true,
2251
+ "range": false,
2252
+ "format": "table"
2253
+ }
2254
+ ],
2255
+ "transformations": [
2256
+ {
2257
+ "id": "merge",
2258
+ "options": {}
2259
+ },
2260
+ {
2261
+ "id": "organize",
2262
+ "options": {
2263
+ "excludeByName": {
2264
+ "Time": true
2265
+ },
2266
+ "renameByName": {
2267
+ "dag_id": "DAG",
2268
+ "task_id": "Task",
2269
+ "Value #A": "Run time",
2270
+ "Value #B": "Longest",
2271
+ "Value #C": "Runs",
2272
+ "Value #D": "Avg run"
2273
+ }
2274
+ }
2275
+ }
2276
+ ],
2277
+ "fieldConfig": {
2278
+ "defaults": {
2279
+ "custom": {
2280
+ "align": "auto",
2281
+ "filterable": true
2282
+ },
2283
+ "thresholds": {
2284
+ "mode": "absolute",
2285
+ "steps": [
2286
+ {
2287
+ "color": "text",
2288
+ "value": null
2289
+ }
2290
+ ]
2291
+ },
2292
+ "noValue": "–"
2293
+ },
2294
+ "overrides": [
2295
+ {
2296
+ "matcher": {
2297
+ "id": "byName",
2298
+ "options": "Run time"
2299
+ },
2300
+ "properties": [
2301
+ {
2302
+ "id": "unit",
2303
+ "value": "s"
2304
+ }
2305
+ ]
2306
+ },
2307
+ {
2308
+ "matcher": {
2309
+ "id": "byName",
2310
+ "options": "Longest"
2311
+ },
2312
+ "properties": [
2313
+ {
2314
+ "id": "unit",
2315
+ "value": "s"
2316
+ }
2317
+ ]
2318
+ },
2319
+ {
2320
+ "matcher": {
2321
+ "id": "byName",
2322
+ "options": "Avg run"
2323
+ },
2324
+ "properties": [
2325
+ {
2326
+ "id": "unit",
2327
+ "value": "s"
2328
+ }
2329
+ ]
2330
+ }
2331
+ ]
2332
+ },
2333
+ "options": {
2334
+ "showHeader": true,
2335
+ "cellHeight": "sm",
2336
+ "sortBy": [
2337
+ {
2338
+ "displayName": "Run time",
2339
+ "desc": true
2340
+ }
2341
+ ]
2342
+ },
2343
+ "id": 21,
2344
+ "gridPos": {
2345
+ "x": 0,
2346
+ "y": 69,
2347
+ "w": 24,
2348
+ "h": 12
2349
+ }
2350
+ }
2351
+ ]
2352
+ }