Refactor node-exporter to every node
This commit is contained in:
		
							parent
							
								
									0359a4ffa7
								
							
						
					
					
						commit
						f28e81fc9d
					
				
					 8 changed files with 36 additions and 17 deletions
				
			
		|  | @ -42,7 +42,7 @@ lgtm_stack_env: | |||
|   GF_AUTH_DISABLE_LOGIN_FORM: true | ||||
|   GF_SIGNOUT_REDIRECT_URL: "https://{{ lgtm_stack_domain }}/" | ||||
|   GF_OAUTH_AUTO_LOGIN: true | ||||
|   GF_AUTH_ANONYMOUS_ENABLED: true | ||||
|   GF_AUTH_ANONYMOUS_ENABLED: false | ||||
|   GF_AUTH_ANONYMOUS_ORG_NAME: "Main Org." | ||||
|   GF_AUTH_ANONYMOUS_ORG_ROLE: "Viewer" | ||||
|   GF_AUTH_GENERIC_OAUTH_ENABLED: true | ||||
|  | @ -142,20 +142,6 @@ lgtm_stack_compose: | |||
|             aliases: | ||||
|             - lgtm_stack_alloy | ||||
|           default: | ||||
|       node_exporter: | ||||
|         image: prom/node-exporter | ||||
|         hostname: "{{ inventory_hostname }}" | ||||
|         restart: always | ||||
|         volumes: | ||||
|           - /proc:/host/proc:ro | ||||
|           - /sys:/host/sys:ro | ||||
|         command: | ||||
|           - '--path.procfs=/host/proc' | ||||
|           - '--path.sysfs=/host/sys' | ||||
|           - '--collector.filesystem.ignored-mount-points' | ||||
|           - '^/(sys|proc|dev|host|etc|rootfs/var/lib/docker/containers|rootfs/var/lib/docker/overlay2|rootfs/run/docker/netns|rootfs/var/lib/docker/aufs)($$|/)' | ||||
|         networks: | ||||
|           default: | ||||
| 
 | ||||
|       mimir: | ||||
|         image: grafana/mimir:latest | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue