From aceb40b965736044540b491c2ebb79dd7132b5bf Mon Sep 17 00:00:00 2001 From: Yasha Rise Date: Wed, 10 Sep 2025 13:19:21 +0300 Subject: [PATCH] Add base events --- ...roject_id_from_gemnasium_scan_executed.yml | 23 +++++++++++++++++++ ...t_gemnasium_scan_metrics_from_pipeline.yml | 23 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 config/metrics/counts_all/count_distinct_project_id_from_gemnasium_scan_executed.yml create mode 100644 config/metrics/counts_all/count_total_collect_gemnasium_scan_metrics_from_pipeline.yml diff --git a/config/metrics/counts_all/count_distinct_project_id_from_gemnasium_scan_executed.yml b/config/metrics/counts_all/count_distinct_project_id_from_gemnasium_scan_executed.yml new file mode 100644 index 00000000000000..d9bcb967b6c3c5 --- /dev/null +++ b/config/metrics/counts_all/count_distinct_project_id_from_gemnasium_scan_executed.yml @@ -0,0 +1,23 @@ +--- +key_path: redis_hll_counters.count_distinct_project_id_from_collect_gemnasium_scan_metrics_from_pipeline +description: Count of unique projects where Gemnasium analyzer was used for Dependency Scanning +product_group: composition_analysis +product_categories: +- software_composition_analysis +performance_indicator_type: [] +value_type: number +status: active +milestone: '18.4' +introduced_by_url: TODO +time_frame: +- 28d +- 7d +data_source: internal_events +data_category: optional +tiers: +- free +- premium +- ultimate +events: +- name: collect_gemnasium_scan_metrics_from_pipeline + unique: project.id diff --git a/config/metrics/counts_all/count_total_collect_gemnasium_scan_metrics_from_pipeline.yml b/config/metrics/counts_all/count_total_collect_gemnasium_scan_metrics_from_pipeline.yml new file mode 100644 index 00000000000000..75b861a221a5eb --- /dev/null +++ b/config/metrics/counts_all/count_total_collect_gemnasium_scan_metrics_from_pipeline.yml @@ -0,0 +1,23 @@ +--- +key_path: counts.count_total_collect_gemnasium_scan_metrics_from_pipeline +description: Count of Gemnasium scans +product_group: composition_analysis +product_categories: +- software_composition_analysis +performance_indicator_type: [] +value_type: number +status: active +milestone: '18.4' +introduced_by_url: TODO +time_frame: +- 28d +- 7d +- all +data_source: internal_events +data_category: optional +tiers: +- free +- premium +- ultimate +events: +- name: collect_gemnasium_scan_metrics_from_pipeline -- GitLab