94bf8a50bb 
								
							 
						 
						
							
							
								
								Add latest changes from gitlab-org/gitlab@master  
							
							
							
						 
						
							2024-09-05 21:07:30 +00:00  
				
					
						
							
							
								 
						
							
								54bb6d645b 
								
							 
						 
						
							
							
								
								Add latest changes from gitlab-org/gitlab@master  
							
							
							
						 
						
							2024-06-08 00:24:51 +00:00  
				
					
						
							
							
								 
						
							
								3c7efb067c 
								
							 
						 
						
							
							
								
								Add latest changes from gitlab-org/gitlab@master  
							
							
							
						 
						
							2024-05-15 15:17:24 +00:00  
				
					
						
							
							
								 
						
							
								5b98c2c506 
								
							 
						 
						
							
							
								
								Add latest changes from gitlab-org/gitlab@master  
							
							
							
						 
						
							2022-12-09 12:08:19 +00:00  
				
					
						
							
							
								 
						
							
								e6a54b33a9 
								
							 
						 
						
							
							
								
								Add latest changes from gitlab-org/gitlab@master  
							
							
							
						 
						
							2021-11-09 15:12:42 +00:00  
				
					
						
							
							
								 
						
							
								e5e0589e09 
								
							 
						 
						
							
							
								
								Add latest changes from gitlab-org/gitlab@master  
							
							
							
						 
						
							2021-04-26 12:09:44 +00:00  
				
					
						
							
							
								 
						
							
								6d18e2830d 
								
							 
						 
						
							
							
								
								Add latest changes from gitlab-org/gitlab@master  
							
							
							
						 
						
							2021-04-05 18:09:15 +00:00  
				
					
						
							
							
								 
						
							
								bf1600d157 
								
							 
						 
						
							
							
								
								Add latest changes from gitlab-org/gitlab@master  
							
							
							
						 
						
							2020-09-16 18:09:47 +00:00  
				
					
						
							
							
								 
						
							
								3825437c53 
								
							 
						 
						
							
							
								
								Add latest changes from gitlab-org/gitlab@master  
							
							
							
						 
						
							2020-08-13 21:10:04 +00:00  
				
					
						
							
							
								 
						
							
								999f47e9e6 
								
							 
						 
						
							
							
								
								Add latest changes from gitlab-org/gitlab@master  
							
							
							
						 
						
							2020-08-12 12:10:25 +00:00  
				
					
						
							
							
								 
						
							
								6f9f4f0580 
								
							 
						 
						
							
							
								
								Add latest changes from gitlab-org/gitlab@master  
							
							
							
						 
						
							2020-07-29 12:09:45 +00:00  
				
					
						
							
							
								 
						
							
								e5d314d432 
								
							 
						 
						
							
							
								
								Add latest changes from gitlab-org/gitlab@master  
							
							
							
						 
						
							2020-07-03 15:09:13 +00:00  
				
					
						
							
							
								 
						
							
								0211553b0c 
								
							 
						 
						
							
							
								
								Add latest changes from gitlab-org/gitlab@master  
							
							
							
						 
						
							2020-06-10 12:08:58 +00:00  
				
					
						
							
							
								 
						
							
								607646ef52 
								
							 
						 
						
							
							
								
								Add latest changes from gitlab-org/gitlab@master  
							
							
							
						 
						
							2020-06-03 12:08:21 +00:00  
				
					
						
							
							
								 
						
							
								5bdbc604c8 
								
							 
						 
						
							
							
								
								Add latest changes from gitlab-org/gitlab@master  
							
							
							
						 
						
							2020-05-08 09:09:39 +00:00  
				
					
						
							
							
								 
						
							
								3795b229ab 
								
							 
						 
						
							
							
								
								Add latest changes from gitlab-org/gitlab@master  
							
							
							
						 
						
							2020-05-01 00:09:59 +00:00  
				
					
						
							
							
								 
						
							
								101c30f4df 
								
							 
						 
						
							
							
								
								Add latest changes from gitlab-org/gitlab@master  
							
							
							
						 
						
							2020-03-26 00:07:58 +00:00  
				
					
						
							
							
								 
						
							
								2711c26bea 
								
							 
						 
						
							
							
								
								Add latest changes from gitlab-org/gitlab@master  
							
							
							
						 
						
							2020-03-24 00:09:24 +00:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								7f529353e7 
								
							 
						 
						
							
							
								
								Add a proxy method to PrometheusClient  
							
							... 
							
							
							
							- Also refactor the get and json_api_get methods so that the get method
can be reused by the new proxy method.
- The new proxy method makes no changes to the request to the prometheus
server and response from the prometheus server. This allows it to be
used as a proxy to the Prometheus server, hence the name. 
							
						 
						
							2019-04-05 08:05:54 +00:00  
				
					
						
							
							
								 
						
							
								552d38861a 
								
							 
						 
						
							
							
								
								Automatically set Prometheus step interval  
							
							... 
							
							
							
							By computing the step interval passed to the query_range Prometheus API
call we improve the performance on the Prometheus server and GitLab by
reducing the amount of data points sent back and prevent Prometheus
from sending errors when requesting longer intervals. 
							
						 
						
							2019-04-04 15:38:37 +00:00  
				
					
						
							
							
								 
						
							
								c858f70d07 
								
							 
						 
						
							
							
								
								Enable frozen string for lib/gitlab/*.rb  
							
							
							
						 
						
							2018-10-22 07:00:50 +00:00  
				
					
						
							
							
								 
						
							
								57de968a92 
								
							 
						 
						
							
							
								
								Squashed commit of the following:  
							
							... 
							
							
							
							commit 22e1cb8f4b98f71d21026f69aa3e68d79946d6ae
Merge: 766a42a9639 e966c6aea26844a2df87 
							
						 
						
							2018-02-24 00:15:12 +01:00  
				
					
						
							
							
								 
						
							
								0e97eca1d8 
								
							 
						 
						
							
							
								
								Backport custom metrics ce components  
							
							
							
						 
						
							2018-02-23 17:58:40 +00:00  
				
					
						
							
							
								 
						
							
								0e90284c11 
								
							 
						 
						
							
							
								
								Catch json parsing error as PrometheusError  
							
							
							
						 
						
							2018-02-07 02:25:54 +01:00  
				
					
						
							
							
								 
						
							
								e308bb0cd2 
								
							 
						 
						
							
							
								
								Cleanup implementation and add cluster finding tests  
							
							
							
						 
						
							2018-01-04 13:56:07 +01:00  
				
					
						
							
							
								 
						
							
								9c0b10da41 
								
							 
						 
						
							
							
								
								Fix prometheus client tests  
							
							
							
						 
						
							2018-01-04 03:13:54 +01:00  
				
					
						
							
							
								 
						
							
								b38b5ceb8e 
								
							 
						 
						
							
							
								
								Move client creation to Prometheus Application, manufacture proper rest client  
							
							
							
						 
						
							2018-01-02 21:42:24 +01:00  
				
					
						
							
							
								 
						
							
								db2433c36d 
								
							 
						 
						
							
							
								
								wip  
							
							
							
						 
						
							2018-01-02 20:24:12 +01:00  
				
					
						
							
							
								 
						
							
								1b6ab2dffc 
								
							 
						 
						
							
							
								
								Remove orig file + rubocop cleanup  
							
							
							
						 
						
							2017-06-05 21:00:57 +02:00  
				
					
						
							
							
								 
						
							
								2061414054 
								
							 
						 
						
							
							
								
								Additional metrics initial work, with working metrics listing, but without actoual metrics mesurements  
							
							
							
						 
						
							2017-05-25 15:05:56 +02:00  
				
					
						
							
							
								 
						
							
								4f824d2aec 
								
							 
						 
						
							
							
								
								Custom queries for prometheus  
							
							... 
							
							
							
							- Tests for prometheus queries
- fix rubocop warnings
- Remove unused method. Add more queries to deployment queries.
- Wrap BaseQuery in module hierarchy
Renname Prometheus class to PrometheusClient 
							
						 
						
							2017-05-11 23:07:12 +02:00