Commit 54ef6e6e authored by Bob Van Landuyt's avatar Bob Van Landuyt

Rename some queue urgencies

This renames the default queue urgency from `default` to `low` and the
latency without SLOs from `none` to `throttled`.
parent f8d715ce
......@@ -6,602 +6,602 @@
- :name: auto_devops:auto_devops_disable
:feature_category: :auto_devops
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: auto_merge:auto_merge_process
:feature_category: :continuous_delivery
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 3
:idempotent:
- :name: chaos:chaos_cpu_spin
:feature_category: :chaos_engineering
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: chaos:chaos_db_spin
:feature_category: :chaos_engineering
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: chaos:chaos_kill
:feature_category: :chaos_engineering
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: chaos:chaos_leak_mem
:feature_category: :chaos_engineering
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: chaos:chaos_sleep
:feature_category: :chaos_engineering
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: container_repository:cleanup_container_repository
:feature_category: :container_registry
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: container_repository:delete_container_repository
:feature_category: :container_registry
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:admin_email
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:ci_archive_traces_cron
:feature_category: :continuous_integration
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:container_expiration_policy
:feature_category: :container_registry
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:environments_auto_stop_cron
:feature_category: :continuous_delivery
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:expire_build_artifacts
:feature_category: :continuous_integration
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:gitlab_usage_ping
:feature_category: :collection
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:import_export_project_cleanup
:feature_category: :importers
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:issue_due_scheduler
:feature_category: :issue_tracking
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:namespaces_prune_aggregation_schedules
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 1
:idempotent:
- :name: cronjob:pages_domain_removal_cron
:feature_category: :pages
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 1
:idempotent:
- :name: cronjob:pages_domain_ssl_renewal_cron
:feature_category: :pages
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:pages_domain_verification_cron
:feature_category: :pages
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:personal_access_tokens_expiring
:feature_category: :authentication_and_authorization
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:pipeline_schedule
:feature_category: :continuous_integration
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 1
:idempotent:
- :name: cronjob:prune_old_events
:feature_category: :users
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:prune_web_hook_logs
:feature_category: :integrations
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:remove_expired_group_links
:feature_category: :authentication_and_authorization
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:remove_expired_members
:feature_category: :authentication_and_authorization
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 1
:idempotent:
- :name: cronjob:remove_unreferenced_lfs_objects
:feature_category: :git_lfs
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:repository_archive_cache
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:repository_check_dispatch
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:requests_profiles
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:schedule_migrate_external_diffs
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:stuck_ci_jobs
:feature_category: :continuous_integration
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 1
:idempotent:
- :name: cronjob:stuck_export_jobs
:feature_category: :importers
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 1
:idempotent:
- :name: cronjob:stuck_import_jobs
:feature_category: :importers
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 1
:idempotent:
- :name: cronjob:stuck_merge_jobs
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:trending_projects
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: deployment:deployments_finished
:feature_category: :continuous_delivery
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 3
:idempotent:
- :name: deployment:deployments_forward_deployment
:feature_category: :continuous_delivery
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 3
:idempotent:
- :name: deployment:deployments_success
:feature_category: :continuous_delivery
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 3
:idempotent:
- :name: gcp_cluster:cluster_configure
:feature_category: :kubernetes_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: gcp_cluster:cluster_configure_istio
:feature_category: :kubernetes_management
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: gcp_cluster:cluster_install_app
:feature_category: :kubernetes_management
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: gcp_cluster:cluster_patch_app
:feature_category: :kubernetes_management
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: gcp_cluster:cluster_project_configure
:feature_category: :kubernetes_management
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: gcp_cluster:cluster_provision
:feature_category: :kubernetes_management
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: gcp_cluster:cluster_upgrade_app
:feature_category: :kubernetes_management
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: gcp_cluster:cluster_wait_for_app_installation
:feature_category: :kubernetes_management
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 1
:idempotent:
- :name: gcp_cluster:cluster_wait_for_ingress_ip_address
:feature_category: :kubernetes_management
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: gcp_cluster:clusters_applications_activate_service
:feature_category: :kubernetes_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: gcp_cluster:clusters_applications_deactivate_service
:feature_category: :kubernetes_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: gcp_cluster:clusters_applications_uninstall
:feature_category: :kubernetes_management
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: gcp_cluster:clusters_applications_wait_for_uninstall_app
:feature_category: :kubernetes_management
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 1
:idempotent:
- :name: gcp_cluster:clusters_cleanup_app
:feature_category: :kubernetes_management
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: gcp_cluster:clusters_cleanup_project_namespace
:feature_category: :kubernetes_management
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: gcp_cluster:clusters_cleanup_service_account
:feature_category: :kubernetes_management
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: gcp_cluster:wait_for_cluster_creation
:feature_category: :kubernetes_management
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: github_importer:github_import_import_diff_note
:feature_category: :importers
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: github_importer:github_import_import_issue
:feature_category: :importers
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: github_importer:github_import_import_lfs_object
:feature_category: :importers
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: github_importer:github_import_import_note
:feature_category: :importers
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: github_importer:github_import_import_pull_request
:feature_category: :importers
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: github_importer:github_import_refresh_import_jid
:feature_category: :importers
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: github_importer:github_import_stage_finish_import
:feature_category: :importers
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: github_importer:github_import_stage_import_base_data
:feature_category: :importers
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: github_importer:github_import_stage_import_issues_and_diff_notes
:feature_category: :importers
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: github_importer:github_import_stage_import_lfs_objects
:feature_category: :importers
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: github_importer:github_import_stage_import_notes
:feature_category: :importers
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: github_importer:github_import_stage_import_pull_requests
:feature_category: :importers
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: github_importer:github_import_stage_import_repository
:feature_category: :importers
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: hashed_storage:hashed_storage_migrator
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: hashed_storage:hashed_storage_project_migrate
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: hashed_storage:hashed_storage_project_rollback
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: hashed_storage:hashed_storage_rollbacker
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: incident_management:incident_management_process_alert
:feature_category: :incident_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: mail_scheduler:mail_scheduler_issue_due
:feature_category: :issue_tracking
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: mail_scheduler:mail_scheduler_notification_service
:feature_category: :issue_tracking
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 2
:idempotent:
- :name: notifications:new_release
:feature_category: :release_orchestration
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: object_pool:object_pool_create
:feature_category: :gitaly
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: object_pool:object_pool_destroy
:feature_category: :gitaly
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: object_pool:object_pool_join
:feature_category: :gitaly
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 1
:idempotent:
- :name: object_pool:object_pool_schedule_join
:feature_category: :gitaly
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: object_storage:object_storage_background_move
:feature_category: :not_owned
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: object_storage:object_storage_migrate_uploads
:feature_category: :not_owned
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: pipeline_background:archive_trace
:feature_category: :continuous_integration
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: pipeline_background:ci_build_trace_chunk_flush
:feature_category: :continuous_integration
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
......@@ -629,28 +629,28 @@
- :name: pipeline_creation:run_pipeline_schedule
:feature_category: :continuous_integration
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 4
:idempotent:
- :name: pipeline_default:build_coverage
:feature_category: :continuous_integration
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 3
:idempotent:
- :name: pipeline_default:build_trace_sections
:feature_category: :continuous_integration
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 3
:idempotent:
- :name: pipeline_default:ci_create_cross_project_pipeline
:feature_category: :continuous_integration
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 3
:idempotent:
......@@ -720,21 +720,21 @@
- :name: pipeline_processing:ci_build_prepare
:feature_category: :continuous_integration
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 5
:idempotent:
- :name: pipeline_processing:ci_build_schedule
:feature_category: :continuous_integration
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 5
:idempotent:
- :name: pipeline_processing:ci_resource_groups_assign_resource_from_resource_group
:feature_category: :continuous_delivery
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 5
:idempotent:
......@@ -776,70 +776,70 @@
- :name: repository_check:repository_check_batch
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: repository_check:repository_check_clear
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: repository_check:repository_check_single_repository
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: todos_destroyer:todos_destroyer_confidential_issue
:feature_category: :issue_tracking
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: todos_destroyer:todos_destroyer_entity_leave
:feature_category: :issue_tracking
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: todos_destroyer:todos_destroyer_group_private
:feature_category: :issue_tracking
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: todos_destroyer:todos_destroyer_private_features
:feature_category: :issue_tracking
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: todos_destroyer:todos_destroyer_project_private
:feature_category: :issue_tracking
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: update_namespace_statistics:namespaces_root_statistics
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: update_namespace_statistics:namespaces_schedule_aggregation
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
......@@ -860,7 +860,7 @@
- :name: background_migration
:feature_category: :not_owned
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
......@@ -874,21 +874,21 @@
- :name: create_commit_signature
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: create_evidence
:feature_category: :release_evidence
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: create_note_diff_file
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
......@@ -902,35 +902,35 @@
- :name: delete_diff_files
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: delete_merged_branches
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: delete_stored_files
:feature_category: :not_owned
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: delete_user
:feature_category: :authentication_and_authorization
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: detect_repository_languages
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
......@@ -951,35 +951,35 @@
- :name: error_tracking_issue_link
:feature_category: :error_tracking
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: expire_build_instance_artifacts
:feature_category: :continuous_integration
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: file_hook
:feature_category: :integrations
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: git_garbage_collect
:feature_category: :gitaly
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: github_import_advance_stage
:feature_category: :importers
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
......@@ -993,42 +993,42 @@
- :name: group_destroy
:feature_category: :subgroups
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: group_export
:feature_category: :importers
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: group_import
:feature_category: :importers
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: import_issues_csv
:feature_category: :issue_tracking
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 2
:idempotent:
- :name: invalid_gpg_signature_update
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: irker
:feature_category: :integrations
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
......@@ -1049,21 +1049,21 @@
- :name: merge_request_mergeability_check
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: migrate_external_diffs
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: namespaceless_project_destroy
:feature_category: :authentication_and_authorization
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
......@@ -1091,28 +1091,28 @@
- :name: pages
:feature_category: :pages
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: pages_domain_ssl_renewal
:feature_category: :pages
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: pages_domain_verification
:feature_category: :pages
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: phabricator_import_import_tasks
:feature_category: :importers
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
......@@ -1140,42 +1140,42 @@
- :name: project_daily_statistics
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: project_destroy
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: project_export
:feature_category: :importers
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :memory
:weight: 1
:idempotent:
- :name: project_service
:feature_category: :integrations
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: project_update_repository_storage
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: propagate_service_template
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
......@@ -1189,77 +1189,77 @@
- :name: rebase
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: remote_mirror_notification
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: repository_cleanup
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: repository_fork
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: repository_import
:feature_category: :importers
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: repository_remove_remote
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: repository_update_remote_mirror
:feature_category: :source_code_management
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: self_monitoring_project_create
:feature_category: :metrics
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: self_monitoring_project_delete
:feature_category: :metrics
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: system_hook_push
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: update_external_pull_requests
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 3
:idempotent:
......@@ -1273,21 +1273,21 @@
- :name: update_project_statistics
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: upload_checksum
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: web_hook
:feature_category: :integrations
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
......@@ -8,7 +8,7 @@ module WorkerAttributes
VALID_RESOURCE_BOUNDARIES = [:memory, :cpu, :unknown].freeze
# Urgencies that workers can declare through the `urgencies` attribute
VALID_URGENCIES = [:high, :default, :none].freeze
VALID_URGENCIES = [:high, :low, :throttled].freeze
NAMESPACE_WEIGHTS = {
auto_devops: 2,
......@@ -65,7 +65,7 @@ module WorkerAttributes
end
def get_urgency
worker_attributes[:urgency] || :default
worker_attributes[:urgency] || :low
end
# Set this attribute on a job when it will call to services outside of the
......
......@@ -130,7 +130,7 @@ following attributes:
- `has_external_dependencies` - whether or not the queue connects to external
services. For example, all importers have this set to `true`.
- `urgency` - how important it is that this queue's jobs run
quickly. Can be `high`, `default`, or `none`. For example, the
quickly. Can be `high`, `low`, or `throttled`. For example, the
`authorized_projects` queue is used to refresh user permissions, and
is high urgency.
- `name` - the queue name. The other attributes are typically more useful as
......
......@@ -124,13 +124,13 @@ Consider skipping the cop if you're not confident your job can safely run multip
## Job urgency
Jobs can have an `urgency` attribute set, which can be `:high`,
`:default`, or `:none`. These have the below targets:
`:low`, or `:throttled`. These have the below targets:
| **Urgency** | **Queue Scheduling Target** | **Execution Latency Requirement** |
|-------------|-----------------------------|------------------------------------|
| `:high` | 100 milliseconds | p50 of 1 second, p99 of 10 seconds |
| `:default` | 1 minute | Maximum run time of 1 hour |
| `:none` | None | Maximum run time of 1 hour |
| **Urgency** | **Queue Scheduling Target** | **Execution Latency Requirement** |
|--------------|-----------------------------|------------------------------------|
| `:high` | 100 milliseconds | p50 of 1 second, p99 of 10 seconds |
| `:low` | 1 minute | Maximum run time of 1 hour |
| `:throttled` | None | Maximum run time of 1 hour |
To set a job's urgency, use the `urgency` class method:
......@@ -175,7 +175,7 @@ these jobs also have very strict execution duration requirements:
If a worker cannot meet these expectations, then it cannot be treated as a
`urgency :high` worker: consider redesigning the worker, or splitting the
work between two different workers, one with `urgency :high` code that
executes quickly, and the other with `urgency :default`, which has no
executes quickly, and the other with `urgency :low`, which has no
execution latency requirements (but also has lower scheduling targets).
## Jobs with External Dependencies
......
......@@ -6,420 +6,420 @@
- :name: cronjob:adjourned_group_deletion
:feature_category: :authentication_and_authorization
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:adjourned_projects_deletion_cron
:feature_category: :authentication_and_authorization
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:clear_shared_runners_minutes
:feature_category: :continuous_integration
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:elastic_index_bulk_cron
:feature_category: :global_search
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent: true
- :name: cronjob:geo_container_repository_sync_dispatch
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:geo_file_download_dispatch
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:geo_metrics_update
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:geo_migrated_local_files_clean_up
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:geo_prune_event_log
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:geo_repository_sync
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:geo_repository_verification_primary_batch
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:geo_repository_verification_secondary_scheduler
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:geo_repository_verification_secondary_shard
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:geo_scheduler_per_shard_scheduler
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:geo_scheduler_primary_per_shard_scheduler
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:geo_scheduler_secondary_per_shard_scheduler
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:geo_secondary_registry_consistency
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:geo_sidekiq_cron_config
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:historical_data
:feature_category: :license_compliance
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:import_software_licenses
:feature_category: :license_compliance
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:ldap_all_groups_sync
:feature_category: :authentication_and_authorization
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:ldap_sync
:feature_category: :authentication_and_authorization
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:pseudonymizer
:feature_category: :integrations
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:update_all_mirrors
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: cronjob:update_max_seats_used_for_gitlab_com_subscriptions
:feature_category: :license_compliance
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 1
:idempotent:
- :name: epics:epics_update_epics_dates
:feature_category: :epics
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: gcp_cluster:cluster_update_app
:feature_category: :kubernetes_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: gcp_cluster:cluster_wait_for_app_update
:feature_category: :kubernetes_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_batch_project_registry
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_batch_project_registry_scheduler
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_container_repository_sync
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_design_repository_shard_sync
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_design_repository_sync
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_event
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_file_download
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_file_registry_removal
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_file_removal
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_hashed_storage_attachments_migration
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_hashed_storage_migration
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_project_sync
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_rename_repository
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_repositories_clean_up
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_repository_cleanup
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_repository_destroy
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_repository_shard_sync
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_repository_verification_primary_shard
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_repository_verification_primary_single
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_repository_verification_secondary_single
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_scheduler_primary_scheduler
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_scheduler_scheduler
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_scheduler_secondary_scheduler
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: geo:geo_secondary_repository_backfill
:feature_category: :geo_replication
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: incident_management:incident_management_process_prometheus_alert
:feature_category: :incident_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 2
:idempotent:
- :name: jira_connect:jira_connect_sync_branch
:feature_category: :integrations
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: jira_connect:jira_connect_sync_merge_request
:feature_category: :integrations
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: package_repositories:packages_nuget_extraction
:feature_category: :package_registry
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: personal_access_tokens:personal_access_tokens_policy
:feature_category: :authentication_and_authorization
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: pipeline_default:ci_trigger_downstream_subscriptions
:feature_category: :continuous_integration
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 3
:idempotent:
- :name: security_scans:store_security_reports
:feature_category: :static_application_security_testing
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: security_scans:store_security_scans
:feature_category: :static_application_security_testing
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
......@@ -433,133 +433,133 @@
- :name: adjourned_project_deletion
:feature_category: :authentication_and_authorization
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: admin_emails
:feature_category: :issue_tracking
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: analytics_code_review_metrics
:feature_category: :code_analytics
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent: true
- :name: create_github_webhook
:feature_category: :integrations
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 2
:idempotent:
- :name: design_management_new_version
:feature_category: :design_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :memory
:weight: 1
:idempotent:
- :name: elastic_batch_project_indexer
:feature_category: :global_search
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: elastic_commit_indexer
:feature_category: :global_search
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: elastic_full_index
:feature_category: :global_search
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: elastic_indexer
:feature_category: :global_search
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: elastic_namespace_indexer
:feature_category: :global_search
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: elastic_namespace_rollout
:feature_category: :global_search
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: export_csv
:feature_category: :issue_tracking
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 1
:idempotent:
- :name: ldap_group_sync
:feature_category: :authentication_and_authorization
:has_external_dependencies: true
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: new_epic
:feature_category: :epics
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :cpu
:weight: 2
:idempotent:
- :name: project_import_schedule
:feature_category: :importers
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: refresh_license_compliance_checks
:feature_category: :license_compliance
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 2
:idempotent:
- :name: repository_push_audit_event
:feature_category: :authentication_and_authorization
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: repository_update_mirror
:feature_category: :source_code_management
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
- :name: service_desk_email_receiver
:feature_category: :issue_tracking
:has_external_dependencies:
:urgency: :default
:urgency: :low
:resource_boundary: :unknown
:weight: 1
:idempotent:
......@@ -124,7 +124,7 @@ describe Gitlab::SidekiqConfig::CliMethods do
name: 'a',
feature_category: :category_a,
has_external_dependencies: false,
urgency: :default,
urgency: :low,
resource_boundary: :cpu
},
{
......@@ -145,7 +145,7 @@ describe Gitlab::SidekiqConfig::CliMethods do
name: 'c',
feature_category: :category_c,
has_external_dependencies: false,
urgency: :none,
urgency: :throttled,
resource_boundary: :memory
}
]
......@@ -168,9 +168,9 @@ describe Gitlab::SidekiqConfig::CliMethods do
# urgency
'urgency=high' | %w(a:2 b)
'urgency=default' | %w(a)
'urgency=high,default,none' | %w(a a:2 b c)
'urgency=default|urgency=none' | %w(a c)
'urgency=low' | %w(a)
'urgency=high,low,throttled' | %w(a a:2 b c)
'urgency=low|urgency=throttled' | %w(a c)
'urgency!=high' | %w(a c)
# name
......
......@@ -88,7 +88,7 @@ describe Gitlab::SidekiqConfig::Worker do
attributes_a = {
feature_category: :source_code_management,
has_external_dependencies: false,
urgency: :default,
urgency: :low,
resource_boundary: :memory,
weight: 2,
idempotent: true
......
......@@ -9,7 +9,7 @@ describe Gitlab::SidekiqMiddleware::ClientMetrics do
let(:queue) { :test }
let(:worker_class) { worker.class }
let(:job) { {} }
let(:default_labels) { { queue: queue.to_s, boundary: "", external_dependencies: "no", feature_category: "", urgency: "default" } }
let(:default_labels) { { queue: queue.to_s, boundary: "", external_dependencies: "no", feature_category: "", urgency: "low" } }
shared_examples "a metrics client middleware" do
context "with mocked prometheus" do
......@@ -80,8 +80,8 @@ describe Gitlab::SidekiqMiddleware::ClientMetrics do
context "no urgency" do
it_behaves_like "a metrics client middleware" do
let(:urgency) { :none }
let(:labels) { default_labels.merge(urgency: "none") }
let(:urgency) { :throttled }
let(:labels) { default_labels.merge(urgency: "throttled") }
end
end
......
......@@ -11,7 +11,7 @@ describe Gitlab::SidekiqMiddleware::ServerMetrics do
let(:job) { {} }
let(:job_status) { :done }
let(:labels_with_job_status) { labels.merge(job_status: job_status.to_s) }
let(:default_labels) { { queue: queue.to_s, boundary: "", external_dependencies: "no", feature_category: "", urgency: "default" } }
let(:default_labels) { { queue: queue.to_s, boundary: "", external_dependencies: "no", feature_category: "", urgency: "low" } }
shared_examples "a metrics middleware" do
context "with mocked prometheus" do
......@@ -202,11 +202,11 @@ describe Gitlab::SidekiqMiddleware::ServerMetrics do
end
context "combined" do
let(:urgency) { :none }
let(:urgency) { :throttled }
let(:external_dependencies) { true }
let(:resource_boundary) { :cpu }
let(:feature_category) { :authentication }
let(:labels) { default_labels.merge(urgency: "none", external_dependencies: "yes", boundary: "cpu", feature_category: "authentication") }
let(:labels) { default_labels.merge(urgency: "throttled", external_dependencies: "yes", boundary: "cpu", feature_category: "authentication") }
it_behaves_like "a metrics middleware"
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment