Add prometheus metrics to alloy
This commit is contained in:
		
							parent
							
								
									616788c5ea
								
							
						
					
					
						commit
						5ad3e9bfe2
					
				
					 8 changed files with 174 additions and 19 deletions
				
			
		|  | @ -3,6 +3,9 @@ lgtm_stack_domain: "{{ all_services | service_get_domain(role_name) }}" | |||
| lgtm_stack_mimir_domain: mimir.serguzim.me | ||||
| lgtm_stack_alloy_domain: alloy.serguzim.me | ||||
| 
 | ||||
| lgtm_stack_alloy_jobs: "{{ all_services | services_to_alloy() }}" | ||||
| 
 | ||||
| 
 | ||||
| lgtm_stack_svc: | ||||
|   domain: "{{ lgtm_stack_domain }}" | ||||
|   port: 3000 | ||||
|  | @ -15,6 +18,12 @@ lgtm_stack_svc: | |||
|       docker_host: lgtm_stack_mimir | ||||
|       port: 9009 | ||||
|       caddy_extra: import vpn_only | ||||
|   postgresql_collector: | ||||
|     host: "{{ postgres.host }}" | ||||
|     port: "{{ postgres.port }}" | ||||
|     user: "{{ opentofu.postgresql_metrics_collector.user }}" | ||||
|     pass: "{{ opentofu.postgresql_metrics_collector.pass }}" | ||||
|     database: "{{ opentofu.postgresql_metrics_collector.database }}" | ||||
| 
 | ||||
| lgtm_stack_env: | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue