Skip to content
代码片段 群组 项目
提交 772b94b7 编辑于 作者: Bob Van Landuyt's avatar Bob Van Landuyt
浏览文件

Merge branch 'samgupdateobservabilityapdext' into 'master'

Update monitor observablity endpoint urgency for new error budget opt in

See merge request gitlab-org/gitlab!86806
No related branches found
No related tags found
无相关合并请求
显示
23 个添加0 个删除
......@@ -24,6 +24,12 @@ class Admin::ApplicationSettingsController < Admin::ApplicationController
:delete_self_monitoring_project,
:status_delete_self_monitoring_project
]
urgency :low, [
:create_self_monitoring_project,
:status_create_self_monitoring_project,
:delete_self_monitoring_project,
:status_delete_self_monitoring_project
]
feature_category :source_code_management, [:repository, :clear_repository_check_states]
feature_category :continuous_integration, [:ci_cd, :reset_registration_token]
......
......@@ -6,6 +6,7 @@ class Projects::Environments::PrometheusApiController < Projects::ApplicationCon
before_action :proxyable
feature_category :metrics
urgency :low
private
......
......@@ -2,6 +2,7 @@
class Projects::Environments::SampleMetricsController < Projects::ApplicationController
feature_category :metrics
urgency :low
def query
result = Metrics::SampleMetricsService.new(params[:identifier], range_start: params[:start], range_end: params[:end]).query
......
......@@ -4,6 +4,7 @@ class Projects::ErrorTracking::BaseController < Projects::ApplicationController
POLLING_INTERVAL = 1_000
feature_category :error_tracking
urgency :low
def set_polling_interval
Gitlab::PollingInterval.set_header(response, interval: POLLING_INTERVAL)
......
......@@ -8,6 +8,7 @@ class ProjectsController < Projects::ApplicationController
before_action :authorize_read_sentry_issue!
feature_category :error_tracking
urgency :low
def index
service = ::ErrorTracking::ListProjectsService.new(
......
......@@ -5,6 +5,7 @@ class Projects::GrafanaApiController < Projects::ApplicationController
include MetricsDashboard
feature_category :metrics
urgency :low
def proxy
result = ::Grafana::ProxyService.new(
......
......@@ -8,6 +8,7 @@ class LogsController < Projects::ApplicationController
before_action :ensure_deployments, only: %i(k8s elasticsearch)
feature_category :logging
urgency :low
def index
return render_404 unless Feature.enabled?(:monitor_logging, project)
......
......@@ -7,6 +7,7 @@ class BuilderController < Projects::ApplicationController
before_action :authorize_metrics_dashboard!
feature_category :metrics
urgency :low
def panel_preview
respond_to do |format|
......
......@@ -16,6 +16,7 @@ class MetricsDashboardController < Projects::ApplicationController
end
feature_category :metrics
urgency :low
def show
if environment
......
......@@ -13,6 +13,7 @@ class DashboardsController < ::Projects::ApplicationController
end
feature_category :metrics
urgency :low
def create
result = ::Metrics::Dashboard::CloneDashboardService.new(project, current_user, dashboard_params).execute
......
......@@ -7,6 +7,7 @@ class MetricsController < Projects::ApplicationController
before_action :require_prometheus_metrics!
feature_category :metrics
urgency :low
def active_common
respond_to do |format|
......
......@@ -13,6 +13,7 @@ class TracingsController < Projects::ApplicationController
before_action :authorize_update_environment!
feature_category :tracing
urgency :low
def show
render_404 unless Feature.enabled?(:monitor_tracing, @project)
......
......@@ -42,6 +42,7 @@ module MergeRequestsController
:sast_reports,
:secret_detection_reports
]
urgency :low, [:metrics_reports]
end
def can_run_sast_experiments_on?(project)
......
......@@ -5,6 +5,7 @@ class ErrorTracking::ClientKeys < ::API::Base
before { authenticate! }
feature_category :error_tracking
urgency :low
params do
requires :id, type: String, desc: 'The ID of a project'
......
......@@ -6,6 +6,7 @@ module API
# sentry backend. For more details see https://gitlab.com/gitlab-org/gitlab/-/issues/329596.
class ErrorTracking::Collector < ::API::Base
feature_category :error_tracking
urgency :low
content_type :envelope, 'application/x-sentry-envelope'
content_type :json, 'application/json'
......
......@@ -5,6 +5,7 @@ class ErrorTracking::ProjectSettings < ::API::Base
before { authenticate! }
feature_category :error_tracking
urgency :low
helpers do
def project_setting
......
......@@ -5,6 +5,7 @@ module Metrics
module Dashboard
class Annotations < ::API::Base
feature_category :metrics
urgency :low
desc 'Create a new monitoring dashboard annotation' do
success Entities::Metrics::Dashboard::Annotation
......
......@@ -4,6 +4,7 @@ module API
module Metrics
class UserStarredDashboards < ::API::Base
feature_category :metrics
urgency :low
resource :projects do
desc 'Marks selected metrics dashboard as starred' do
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册