diff --git a/obslytics/bases/triggers.yaml b/obslytics/bases/triggers.yaml index 72d43d1b..1925c872 100644 --- a/obslytics/bases/triggers.yaml +++ b/obslytics/bases/triggers.yaml @@ -22,22 +22,6 @@ spec: templateRef: name: obslytics-data-exporter-workflow-template template: normalize-timestamps - - - name: large-metrics - template: large-metrics-backfill - arguments: - parameters: - - name: backfill_from_timestamp - value: "{{steps.normalize-timestamps.outputs.parameters.backfill_from_timestamp}}" - continueOn: - failed: true - - - name: xl-metrics - template: xl-metrics-backfill - arguments: - parameters: - - name: backfill_from_timestamp - value: "{{steps.normalize-timestamps.outputs.parameters.backfill_from_timestamp}}" - continueOn: - failed: true - - name: get-all-partitioned-tables continueOn: failed: true diff --git a/obslytics/overlays/dev/kustomization.yaml b/obslytics/overlays/dev/kustomization.yaml index 58d00963..fec57f73 100644 --- a/obslytics/overlays/dev/kustomization.yaml +++ b/obslytics/overlays/dev/kustomization.yaml @@ -22,12 +22,6 @@ patchesJson6902: version: v1alpha1 kind: CronWorkflow name: obslytics-data-exporter-verification-cron-workflows - - path: triggers.yaml - target: - group: argoproj.io - version: v1alpha1 - kind: WorkflowTemplate - name: obslytics-data-exporter-workflow-triggers - path: workflow-templates.yaml target: group: argoproj.io diff --git a/obslytics/overlays/dev/triggers.yaml b/obslytics/overlays/dev/triggers.yaml deleted file mode 100644 index 0681843e..00000000 --- a/obslytics/overlays/dev/triggers.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- -- op: replace - path: /spec/templates/1/steps/0/0/withItems - value: - - backfill_to: 2021-06-01T00:00:00Z - name: rhods_total_users - -- op: replace - path: /spec/templates/2/steps/0/0/withItems - value: - - backfill_to: 2019-06-01T00:00:00Z - name: cluster_version - -- op: replace - path: /spec/templates/4/steps/0/0/withItems - value: - - cluster_version - -# No xl metrics so remove this step -- op: remove - path: /spec/templates/0/steps/3 diff --git a/obslytics/overlays/prod/kustomization.yaml b/obslytics/overlays/prod/kustomization.yaml index 1654238a..513baea5 100644 --- a/obslytics/overlays/prod/kustomization.yaml +++ b/obslytics/overlays/prod/kustomization.yaml @@ -22,12 +22,6 @@ patchesJson6902: version: v1alpha1 kind: CronWorkflow name: obslytics-data-exporter-verification-cron-workflows - - path: triggers.yaml - target: - group: argoproj.io - version: v1alpha1 - kind: WorkflowTemplate - name: obslytics-data-exporter-workflow-triggers - path: workflow-templates.yaml target: group: argoproj.io diff --git a/obslytics/overlays/prod/triggers.yaml b/obslytics/overlays/prod/triggers.yaml deleted file mode 100644 index 036a6b3c..00000000 --- a/obslytics/overlays/prod/triggers.yaml +++ /dev/null @@ -1,86 +0,0 @@ ---- -- op: replace - path: /spec/templates/2/steps/0/0/withItems - value: - - backfill_to: 2019-06-01T00:00:00Z - name: ceph_cluster_total_bytes - - backfill_to: 2019-06-01T00:00:00Z - name: ceph_cluster_total_used_raw_bytes - - backfill_to: 2019-06-01T00:00:00Z - name: cluster_infrastructure_provider - - backfill_to: 2019-06-01T00:00:00Z - name: cluster_installer - - backfill_to: 2019-06-01T00:00:00Z - name: cluster_version - - backfill_to: 2019-06-01T00:00:00Z - name: cluster:capacity_cpu_cores:sum - - backfill_to: 2019-06-01T00:00:00Z - name: cluster:capacity_memory_bytes:sum - - backfill_to: 2019-06-01T00:00:00Z - name: cluster:node_instance_type_count:sum - - backfill_to: 2019-06-01T00:00:00Z - name: id_version_ebs_account_internal:cluster_subscribed - - backfill_to: 2019-06-01T00:00:00Z - name: instance:etcd_object_counts:sum - - backfill_to: 2019-06-01T00:00:00Z - name: node_role_os_version_machine:cpu_capacity_cores:sum - - backfill_to: 2019-06-01T00:00:00Z - name: subscription_sync_total - - backfill_to: 2019-06-01T00:00:00Z - name: workload:cpu_usage_cores:sum - - backfill_to: 2019-06-01T00:00:00Z - name: workload:memory_usage_bytes:sum - - backfill_to: 2019-06-01T00:00:00Z - name: subscription_labels - - backfill_to: 2019-06-01T00:00:00Z - name: ebs_account_account_type_email_domain_internal - - backfill_to: 2019-06-01T00:00:00Z - name: visual_web_terminal_sessions_total - - backfill_to: 2019-06-01T00:00:00Z - name: acm_managed_cluster_info - - backfill_to: 2019-06-01T00:00:00Z - name: cluster:usage:consumption:rhods:cpu:seconds:rate5m - - backfill_to: 2019-06-01T00:00:00Z - name: csv_succeeded - - backfill_to: 2019-06-01T00:00:00Z - name: rhods_total_users - - backfill_to: 2019-06-01T00:00:00Z - name: rhods_aggregate_availability - # TODO: add the following metrics to this list - # - backfill_to: 2019-06-01T00:00:00Z - # name: cluster_operator_conditions # TODO: times out -- op: replace - path: /spec/templates/4/steps/0/0/withItems - value: - - ceph_cluster_total_bytes - - ceph_cluster_total_used_raw_bytes - - cluster_infrastructure_provider - - cluster_installer - - cluster_version - - cluster:capacity_cpu_cores:sum - - cluster:capacity_memory_bytes:sum - - cluster:node_instance_type_count:sum - - id_version_ebs_account_internal:cluster_subscribed - - instance:etcd_object_counts:sum - - node_role_os_version_machine:cpu_capacity_cores:sum - - subscription_sync_total - - workload:cpu_usage_cores:sum - - workload:memory_usage_bytes:sum - - subscription_labels - - ebs_account_account_type_email_domain_internal - - visual_web_terminal_sessions_total - - acm_managed_cluster_info - - cluster:usage:consumption:rhods:cpu:seconds:rate5m - - csv_succeeded - - rhods_total_users - - rhods_aggregate_availability - # TODO: add the following metrics to this list - # - cluster_operator_conditions # TODO: times out - -# No xl metrics so remove this step -- op: remove - path: /spec/templates/0/steps/3 - -# No small metrics so remove this step -- op: remove - path: /spec/templates/0/steps/2