Skip to content
Snippets Groups Projects

Add metrics for groups with assigned security policy project

All threads resolved!

What does this MR do and why?

This MR adds metrics to count The total number of groups with an assigned security policy project.

Queries

SELECT COUNT(DISTINCT "security_orchestration_policy_configurations"."namespace_id") FROM "security_orchestration_policy_configurations" WHERE "security_orchestration_policy_configurations"."namespace_id" BETWEEN 10000 AND 20000;

https://postgres.ai/console/gitlab/gitlab-production-tunnel-pg12/sessions/12479/commands/44106

Time: 20.750 ms
  - planning: 0.622 ms
  - execution: 20.128 ms
    - I/O read: 19.874 ms
    - I/O write: 0.000 ms

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #375284 (closed)

Edited by Alan (Maciej) Paruszewski

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Doug Stull removed review request for @dstull

    removed review request for @dstull

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • feb3f307 - Simplify test before_all block

    Compare with previous version

  • Piotr Skorupa approved this merge request

    approved this merge request

  • Piotr Skorupa removed review request for @pskorupa

    removed review request for @pskorupa

  • added 1 commit

    • 63b308d4 - Apply 2 suggestion(s) to 2 file(s)

    Compare with previous version

  • requested review from @dstull

  • Doug Stull approved this merge request

    approved this merge request

  • Doug Stull resolved all threads

    resolved all threads

  • Doug Stull enabled an automatic merge when the pipeline for 4b9a487a succeeds

    enabled an automatic merge when the pipeline for 4b9a487a succeeds

  • merged

  • Doug Stull mentioned in commit 76e236c0

    mentioned in commit 76e236c0

  • added workflowstaging label and removed workflowcanary label

  • Please register or sign in to reply
    Loading