Further updates to the Prometheus client code
This commit is contained in:
		
							parent
							
								
									668a8edc50
								
							
						
					
					
						commit
						713ba3abaf
					
				
					 9 changed files with 165 additions and 127 deletions
				
			
		
							
								
								
									
										4
									
								
								app.py
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								app.py
									
										
									
									
									
								
							|  | @ -23,7 +23,7 @@ from data.billing import Billing | |||
| from data.buildlogs import BuildLogs | ||||
| from data.archivedlogs import LogArchive | ||||
| from data.userevent import UserEventsBuilderModule | ||||
| from data.queue import WorkQueue, MetricQueueReporter | ||||
| from data.queue import WorkQueue, BuildMetricQueueReporter | ||||
| from util import get_app_url | ||||
| from util.saas.prometheus import PrometheusPlugin | ||||
| from util.saas.analytics import Analytics | ||||
|  | @ -197,7 +197,7 @@ oauth_apps = [github_login, github_trigger, gitlab_trigger, google_login, dex_lo | |||
| 
 | ||||
| image_replication_queue = WorkQueue(app.config['REPLICATION_QUEUE_NAME'], tf) | ||||
| dockerfile_build_queue = WorkQueue(app.config['DOCKERFILE_BUILD_QUEUE_NAME'], tf, | ||||
|                                    reporter=MetricQueueReporter(metric_queue)) | ||||
|                                    reporter=BuildMetricQueueReporter(metric_queue)) | ||||
| notification_queue = WorkQueue(app.config['NOTIFICATION_QUEUE_NAME'], tf) | ||||
| secscan_notification_queue = WorkQueue(app.config['SECSCAN_NOTIFICATION_QUEUE_NAME'], tf) | ||||
| secscan_api = SecurityScannerAPI(app, app.config, storage) | ||||
|  |  | |||
		Reference in a new issue