conduit: Add coturn monitoring
This commit is contained in:
		
							parent
							
								
									214c59b7b3
								
							
						
					
					
						commit
						c373911a1b
					
				
					 2 changed files with 7 additions and 1 deletions
				
			
		|  | @ -173,6 +173,9 @@ in { | |||
|       # Various other security settings | ||||
|       no-tlsv1 | ||||
|       no-tlsv1_1 | ||||
| 
 | ||||
|       # Monitoring | ||||
|       prometheus | ||||
|     ''; | ||||
|   }; | ||||
| 
 | ||||
|  |  | |||
|  | @ -141,7 +141,10 @@ in { | |||
|               targets = | ||||
|                 lib.mapAttrsToList (name: exporter: "${exporter.listenAddress}:${toString exporter.port}") | ||||
|                 (lib.filterAttrs (name: exporter: (builtins.isAttrs exporter) && exporter.enable) | ||||
|                   (config.services.prometheus.exporters // config.services.prometheus.local-exporters)); | ||||
|                   (config.services.prometheus.exporters // config.services.prometheus.local-exporters)) | ||||
|                 ++ [ | ||||
|                   "127.0.0.1:9641" # coturn | ||||
|                 ]; | ||||
|             } | ||||
|           ]; | ||||
|         } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue