| 
							
							
								 Wei Fu | 6b7e237fc7 | chore: use go fixto cleanup old +build buildtagSigned-off-by: Wei Fu <fuweid89@gmail.com> | 2022-12-29 14:25:14 +08:00 |  | 
			
				
					| 
							
							
								 Akihiro Suda | d3aa7ee9f0 | Run go fmtwith Go 1.17The new `go fmt` adds `//go:build` lines (https://golang.org/doc/go1.17#tools).
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp> | 2021-08-22 09:31:50 +09:00 |  | 
			
				
					| 
							
							
								 Akihiro Suda | 2f601013e6 | cgroup2: implement containerd.events.TaskOOMeventHow to test (from https://github.com/opencontainers/runc/pull/2352#issuecomment-620834524):
  (host)$ sudo swapoff -a
  (host)$ sudo ctr run -t --rm --memory-limit $((1024*1024*32)) docker.io/library/alpine:latest foo
  (container)$ sh -c 'VAR=$(seq 1 100000000)'
An event `/tasks/oom {"container_id":"foo"}` will be displayed in `ctr events`.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp> | 2020-06-01 14:00:13 +09:00 |  | 
			
				
					| 
							
							
								 Boris Popovschi | b9d9bdf1fd | make cpu metrics consistent with v2 docs Signed-off-by: Boris Popovschi <zyqsempai@mail.ru> | 2019-12-17 12:22:55 +02:00 |  | 
			
				
					| 
							
							
								 Boris Popovschi | 23dbae3e71 | Schema name fix Signed-off-by: Boris Popovschi <zyqsempai@mail.ru> | 2019-12-17 10:40:11 +02:00 |  | 
			
				
					| 
							
							
								 Boris Popovschi | 17d61d6b7e | Units fix Signed-off-by: Boris Popovschi <zyqsempai@mail.ru> | 2019-12-16 19:54:21 +02:00 |  | 
			
				
					| 
							
							
								 bpopovschi | f287bc2292 | Schema names fix Signed-off-by: bpopovschi <zyqsempai@mail.ru> | 2019-12-16 19:28:42 +02:00 |  | 
			
				
					| 
							
							
								 bpopovschi | 6bfb24824b | Fix prometheus metrics units Signed-off-by: bpopovschi <zyqsempai@mail.ru> | 2019-12-16 18:27:50 +02:00 |  | 
			
				
					| 
							
							
								 bpopovschi | b98cc79184 | Added memory and cpu metrics for cgroupv2 Signed-off-by: bpopovschi <zyqsempai@mail.ru> | 2019-12-16 16:10:51 +02:00 |  |