Skip to content
Snippets Groups Projects
Commit 9ca776f0 authored by Sam Goldstein's avatar Sam Goldstein Committed by Bob Van Landuyt :neckbeard:
Browse files

Update monitor observablity endpoint urgency for new error budget opt in

parent 6b6fc29f
No related branches found
No related tags found
No related merge requests found
Showing
with 23 additions and 0 deletions
Loading
Loading
@@ -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]
Loading
Loading
Loading
Loading
@@ -6,6 +6,7 @@ class Projects::Environments::PrometheusApiController < Projects::ApplicationCon
before_action :proxyable
 
feature_category :metrics
urgency :low
 
private
 
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -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)
Loading
Loading
Loading
Loading
@@ -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(
Loading
Loading
Loading
Loading
@@ -5,6 +5,7 @@ class Projects::GrafanaApiController < Projects::ApplicationController
include MetricsDashboard
 
feature_category :metrics
urgency :low
 
def proxy
result = ::Grafana::ProxyService.new(
Loading
Loading
Loading
Loading
@@ -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)
Loading
Loading
Loading
Loading
@@ -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|
Loading
Loading
Loading
Loading
@@ -16,6 +16,7 @@ class MetricsDashboardController < Projects::ApplicationController
end
 
feature_category :metrics
urgency :low
 
def show
if environment
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -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|
Loading
Loading
Loading
Loading
@@ -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)
Loading
Loading
Loading
Loading
@@ -42,6 +42,7 @@ module MergeRequestsController
:sast_reports,
:secret_detection_reports
]
urgency :low, [:metrics_reports]
end
 
def can_run_sast_experiments_on?(project)
Loading
Loading
Loading
Loading
@@ -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'
Loading
Loading
Loading
Loading
@@ -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'
Loading
Loading
Loading
Loading
@@ -5,6 +5,7 @@ class ErrorTracking::ProjectSettings < ::API::Base
before { authenticate! }
 
feature_category :error_tracking
urgency :low
 
helpers do
def project_setting
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment