Class: Gitlab::Metrics::Middleware::PathTraversalCheck
- Inherits:
-
Object
- Object
- Gitlab::Metrics::Middleware::PathTraversalCheck
show all
- Includes:
- SliConfig
- Defined in:
- lib/gitlab/metrics/middleware/path_traversal_check.rb
Constant Summary
collapse
- DURATION_APDEX_NAME =
:path_traversal_check_request
- DURATION_APDEX_FEATURE_CATEGORY =
{ feature_category: :not_owned }.freeze
- DURATION_APDEX_SLI_DEFINITION =
[
DURATION_APDEX_NAME,
[
DURATION_APDEX_FEATURE_CATEGORY.merge(request_rejected: true),
DURATION_APDEX_FEATURE_CATEGORY.merge(request_rejected: false)
]
].freeze
- DURATION_APDEX_THRESHOLD =
0.001.seconds
Constants included
from SliConfig
SliConfig::RegisterClass
Class Method Summary
collapse
Methods included from SliConfig
enabled_slis, included, register, registered_classes
Class Method Details
.increment(labels:, duration:) ⇒ Object
.initialize_slis! ⇒ Object