Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
251f9eac
Commit
251f9eac
authored
Oct 28, 2020
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the soft_fail_count_by_state feature flag
parent
992f7468
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
12 deletions
+6
-12
app/finders/issuable_finder.rb
app/finders/issuable_finder.rb
+1
-3
changelogs/unreleased/263222-remove-soft-fail-count-by-state-ff.yml
.../unreleased/263222-remove-soft-fail-count-by-state-ff.yml
+5
-0
config/feature_flags/development/soft_fail_count_by_state.yml
...ig/feature_flags/development/soft_fail_count_by_state.yml
+0
-7
doc/administration/monitoring/prometheus/gitlab_metrics.md
doc/administration/monitoring/prometheus/gitlab_metrics.md
+0
-2
No files found.
app/finders/issuable_finder.rb
View file @
251f9eac
...
...
@@ -153,10 +153,8 @@ class IssuableFinder
end
def
row_count
fast_fail
=
Feature
.
enabled?
(
:soft_fail_count_by_state
,
params
.
group
||
params
.
project
)
Gitlab
::
IssuablesCountForState
.
new
(
self
,
nil
,
fast_fail:
fast_fail
)
.
new
(
self
,
nil
,
fast_fail:
true
)
.
for_state_or_opened
(
params
[
:state
])
end
...
...
changelogs/unreleased/263222-remove-soft-fail-count-by-state-ff.yml
0 → 100644
View file @
251f9eac
---
title
:
Gracefully degrade when counting takes too long for a filtered search
merge_request
:
46350
author
:
type
:
performance
config/feature_flags/development/soft_fail_count_by_state.yml
deleted
100644 → 0
View file @
992f7468
---
name
:
soft_fail_count_by_state
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/44184
rollout_issue_url
:
https://gitlab.com/gitlab-org/gitlab/-/issues/263222
type
:
development
group
:
group::source code
default_enabled
:
false
doc/administration/monitoring/prometheus/gitlab_metrics.md
View file @
251f9eac
...
...
@@ -124,8 +124,6 @@ The following metrics can be controlled by feature flags:
|:---------------------------------------------------------------|:-------------------------------------------------------------------|
|
`gitlab_method_call_duration_seconds`
|
`prometheus_metrics_method_instrumentation`
|
|
`gitlab_view_rendering_duration_seconds`
|
`prometheus_metrics_view_instrumentation`
|
|
`gitlab_issuable_fast_count_by_state_total`
|
`soft_fail_count_by_state`
|
|
`gitlab_issuable_fast_count_by_state_failures_total`
|
`soft_fail_count_by_state`
|
## Sidekiq metrics
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment