Skip to content
Snippets Groups Projects

Exclude PrometheusAlerts in count of issues with alerts in service ping

Merged Sarah Yasonik requested to merge sy-rm-monitor-metrics-09 into master
All threads resolved!

What does this MR do and why?

Changes: This MR cleans up a portion of dead code related to the removal of devopsmonitor Category:Metrics features.

Scope: Any service ping metrics related to PrometheusAlert records. We're going to be dropping the table referenced from Instrumentations::IssuesWithPrometheusAlertEvents, which allows us to simplify the implementation of counts.issues_created_from_alerts. After this merges, the reported value may initially drop, but that's expected and fine.

Context: The Metrics Dashboard (used for monitoring apps deploying using gitlab) was deprecated in 14.7 and removed from the product in 16.0. There are many more files to remove related to this cleanup, but this should be a self-contained chunk.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

These features were disabled in %16.0 behind the :remove_monitor_metrics feature flag, and have been partially deleted since then. So there's nothing really to test here. It's no longer possible to set up these features.

Edited by Sarah Yasonik

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
  • Sarah Yasonik added 852 commits

    added 852 commits

    • 3e84d005...38b7bccd - 850 commits from branch master
    • 385a999c - Exclude PrometheusAlerts in count of issues with alerts in service ping
    • 37548f3d - Remove unneeded reference from usage_data.rb

    Compare with previous version

  • Sarah Yasonik requested review from @pskorupa

    requested review from @pskorupa

  • Piotr Skorupa approved this merge request

    approved this merge request

  • Piotr Skorupa removed review request for @pskorupa

    removed review request for @pskorupa

  • added pipelinetier-3 label and removed pipelinetier-1 label

  • Before you set this MR to auto-merge

    This merge request will progress on pipeline tiers until it reaches the last tier: pipelinetier-3. We will trigger a new pipeline for each transition to a higher tier.

    Before you set this MR to auto-merge, please check the following:

    • You are the last maintainer of this merge request
    • The latest pipeline for this merge request is pipelinetier-3 (You can find which tier it is in the pipeline name)
    • This pipeline is recent enough (created in the last 8 hours)

    If all the criteria above apply, please set auto-merge for this merge request.

    See pipeline tiers and merging a merge request for more details.

  • Piotr Skorupa requested review from @10io

    requested review from @10io

  • E2E Test Result Summary

    allure-report-publisher generated test report!

    e2e-test-on-gdk: :white_check_mark: test report for b4ed80ca

    expand test summary
    +------------------------------------------------------------------+
    |                          suites summary                          |
    +-------------+--------+--------+---------+-------+-------+--------+
    |             | passed | failed | skipped | flaky | total | result |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Create      | 127    | 0      | 12      | 0     | 139   | ✅     |
    | Plan        | 70     | 0      | 0       | 0     | 70    | ✅     |
    | Verify      | 43     | 0      | 2       | 0     | 45    | ✅     |
    | Govern      | 71     | 0      | 0       | 0     | 71    | ✅     |
    | Data Stores | 30     | 0      | 1       | 0     | 31    | ✅     |
    | Package     | 16     | 0      | 15      | 0     | 31    | ✅     |
    | Monitor     | 8      | 0      | 0       | 0     | 8     | ✅     |
    | Secure      | 2      | 0      | 0       | 0     | 2     | ✅     |
    | Release     | 5      | 0      | 0       | 0     | 5     | ✅     |
    | Analytics   | 2      | 0      | 0       | 0     | 2     | ✅     |
    | Manage      | 0      | 0      | 1       | 0     | 1     | ➖     |
    | Fulfillment | 1      | 0      | 0       | 0     | 1     | ✅     |
    +-------------+--------+--------+---------+-------+-------+--------+
    | Total       | 375    | 0      | 31      | 0     | 406   | ✅     |
    +-------------+--------+--------+---------+-------+-------+--------+

    e2e-package-and-test: :white_check_mark: test report for b4ed80ca

    expand test summary
    +---------------------------------------------------------------------+
    |                           suites summary                            |
    +----------------+--------+--------+---------+-------+-------+--------+
    |                | passed | failed | skipped | flaky | total | result |
    +----------------+--------+--------+---------+-------+-------+--------+
    | GitLab Metrics | 2      | 0      | 1       | 0     | 3     | ✅     |
    | Monitor        | 12     | 0      | 13      | 0     | 25    | ✅     |
    | Create         | 270    | 0      | 34      | 0     | 304   | ✅     |
    +----------------+--------+--------+---------+-------+-------+--------+
    | Total          | 284    | 0      | 48      | 0     | 332   | ✅     |
    +----------------+--------+--------+---------+-------+-------+--------+
  • David Fernandez approved this merge request

    approved this merge request

  • David Fernandez removed review request for @10io

    removed review request for @10io

  • Sarah Yasonik added 1 commit

    added 1 commit

    • 27a6ca5d - Remove reference to removed class

    Compare with previous version

  • Sarah Yasonik reset approvals from @10io and @pskorupa by pushing to the branch

    reset approvals from @10io and @pskorupa by pushing to the branch

  • Sarah Yasonik added 505 commits

    added 505 commits

    • 27a6ca5d...9ff78286 - 502 commits from branch master
    • 42e08cf2 - Exclude PrometheusAlerts in count of issues with alerts in service ping
    • 023d1958 - Remove unneeded reference from usage_data.rb
    • ef414bf0 - Remove reference to removed class

    Compare with previous version

  • Sarah Yasonik requested review from @michold

    requested review from @michold

  • Sarah Yasonik added 1 commit

    added 1 commit

    • b4ed80ca - Modify metric description to communicate updated query

    Compare with previous version

  • Michał Wielich approved this merge request

    approved this merge request

  • Michał Wielich resolved all threads

    resolved all threads

  • Michał Wielich enabled automatic add to merge train when checks pass

    enabled automatic add to merge train when checks pass

  • Michał Wielich started a merge train

    started a merge train

  • mentioned in commit 27e4cffe

  • added workflowstaging label and removed workflowcanary label

  • Please register or sign in to reply
    Loading