gitlab-org--gitlab-foss/app/services
David Wilkins 467a411e88 Convert RestClient to Gitlab::HTTP for Prometheus Monitor
- Closes #60024

- Change PrometheusClient.new to accept a base url instead of an
  already created RestClient

- Use Gitlab::HTTP in PrometheusClient instead of creating RestClient
  in PrometheusService

- Move http_options from PrometheusService to
  PrometheusClient (follow_redirects: false)

- ensure that base urls don't have the trailing slash

- Created a `PrometheusClient#url` method that might not be strictly
  required

- Change rescued exceptions from RestClient::* to
  HTTParty::ResponseError where possible and StandardError for the
  rest
2019-08-07 02:42:20 +00:00
..
application_settings Add prometheus listen address to whitelist 2019-07-31 17:38:15 +00:00
applications
auth Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3809 2019-08-01 20:38:07 +03:00
auto_merge Split AutoMergeService interfaces into two `cancel` and `abort` 2019-07-05 13:19:30 +07:00
badges
boards Add result to MoveService#execute_multiple 2019-07-16 16:18:16 +02:00
branches Deprecate diverging commit count with max parameter 2019-07-02 17:07:33 -07:00
chat_names
ci Merge branch 'prefer-to-use-process-pipeline-worker' into 'master' 2019-08-05 09:29:45 +00:00
clusters Remove unused Clusters::RefreshService 2019-07-29 12:04:18 +10:00
commits Add start_sha to commits API 2019-07-18 09:19:18 +02:00
concerns Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
deploy_keys
deploy_tokens Add username to deploy tokens 2019-07-02 18:56:48 +00:00
discussions Refactor PositionTracer to support different types 2019-07-05 11:03:47 +00:00
emails
error_tracking
events
files Add start_sha to commits API 2019-07-18 09:19:18 +02:00
git Backport of 12014-incremental-es-wiki-updates 2019-06-18 16:57:37 -06:00
gpg_keys
groups Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
import Externalize strings detected by rubocop-i18n 2019-04-15 12:25:48 +00:00
issuable CE port for milestones should not be set on epics issue promotion 2019-07-18 18:52:10 +00:00
issues Add system notes for when a zoom call was added/removed from an issue 2019-07-29 21:51:16 +02:00
keys
labels Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
lfs CE backport for changes in EE MR 14017 2019-06-19 17:51:57 +00:00
mattermost
members Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
merge_requests Add exclusive lease to mergeability check process 2019-07-31 19:58:43 -03:00
metrics/dashboard Ensure default metrics embed is cached 2019-07-31 06:32:47 +00:00
milestones Externalize strings detected by rubocop-i18n 2019-04-15 12:25:48 +00:00
namespaces Includes logic to persist namespace statistics 2019-07-02 14:44:39 +00:00
notes Make quick action "commands applied" banner more useful 2019-07-29 22:35:29 +00:00
pages_domains Speed up obtaining Let's Encrypt certificates 2019-06-26 11:47:21 +00:00
projects Ignore Gitaly errors if cache flushing fails on project destruction 2019-07-29 23:05:03 -07:00
prometheus Convert RestClient to Gitlab::HTTP for Prometheus Monitor 2019-08-07 02:42:20 +00:00
protected_branches
protected_tags
quick_actions Make quick action "commands applied" banner more useful 2019-07-29 22:35:29 +00:00
releases Show upcoming status for releases 2019-07-03 09:12:15 +00:00
resource_events
search
self_monitoring/project Add prometheus listen address to whitelist 2019-07-31 17:38:15 +00:00
submodules
suggestions
tags Use all keyword args for DataBuilder::Push.build() 2019-04-25 13:54:26 +02:00
test_hooks Added list_pages method to avoid loading all wiki pages content 2019-04-25 04:19:07 +00:00
todos/destroy Delete unauthorized Todos when project is private 2019-06-05 10:51:52 -03:00
users Remove code related to object hierarchy in MySQL 2019-07-25 15:35:06 +08:00
wiki_pages Count wiki page creation 2019-07-21 01:26:19 +00:00
wikis
access_token_validation_service.rb
akismet_service.rb Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
audit_event_service.rb Format `from` and `to` fields in JSON audit log 2019-07-11 13:46:51 -07:00
auto_merge_service.rb Split AutoMergeService interfaces into two `cancel` and `abort` 2019-07-05 13:19:30 +07:00
base_count_service.rb
base_renderer.rb
base_service.rb
cohorts_service.rb Further remove code branches by database type 2019-07-29 12:47:06 +02:00
compare_service.rb Check that source and target branch exist 2019-04-18 22:01:51 -03:00
create_branch_service.rb
create_snippet_service.rb
delete_branch_service.rb Introduce ServiceResponse to wrap around response 2019-04-22 17:16:32 +08:00
delete_merged_branches_service.rb
event_create_service.rb
gravatar_service.rb
ham_service.rb
import_export_clean_up_service.rb
issuable_base_service.rb Add system notes for when a zoom call was added/removed from an issue 2019-07-29 21:51:16 +02:00
merge_request_metrics_service.rb
metrics_service.rb
note_summary.rb
notification_recipient_service.rb Fix unexpected extra notification mails 2019-04-17 09:10:42 +00:00
notification_service.rb Respect alt email when sending group access notifications 2019-07-25 21:09:25 -06:00
preview_markdown_service.rb Extend #parse to accept a suggestions_filter_enabled param 2019-06-05 16:19:45 -07:00
push_event_payload_service.rb
repair_ldap_blocked_user_service.rb
repository_archive_clean_up_service.rb
reset_project_cache_service.rb
search_service.rb Revert "Avoid loading objects from DB in ES results" 2019-06-13 11:07:55 +01:00
service_response.rb Automatically update MR merge-ref along merge status 2019-06-20 11:48:30 -03:00
spam_check_service.rb
spam_service.rb
submit_usage_ping_service.rb Add a rubocop for Rails.logger 2019-07-10 19:26:47 +00:00
system_hooks_service.rb Remove deprecated uses of attribute_changed? 2019-04-30 15:24:25 +08:00
system_note_service.rb Add system notes for when a zoom call was added/removed from an issue 2019-07-29 21:51:16 +02:00
task_list_toggle_service.rb
todo_service.rb
update_deployment_service.rb Always return the deployment in the execute method 2019-04-12 12:46:00 -03:00
update_snippet_service.rb
upload_service.rb
user_agent_detail_service.rb
user_project_access_changed_service.rb
validate_new_branch_service.rb
verify_pages_domain_service.rb
web_hook_service.rb Add outbound requests setting for system hooks 2019-08-02 15:39:18 +01:00
zoom_notes_service.rb Add system notes for when a zoom call was added/removed from an issue 2019-07-29 21:51:16 +02:00