Skip to content

waggle-sensor/wes-metrics-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WES Metrics Agent

Plugin to collect and report the system metrics.

Run Instructions

In order for the GPU information to be collected the container needs access to the hosts /sys/kernel/debug directory. Therefore, a volume mount is necessary.

Docker:

docker run --privileged --rm -it -v /sys/kernel/debug:/sys/kernel/debug --entrypoint /bin/bash joe:latest

Kubernetes Pod:

apiVersion: v1
kind: Pod
metadata:
  name: my-pod
  labels:
    app: my-app
spec:
  containers:
    - name: app
      image: localhost:5000/joe:latest
      volumeMounts:
      - mountPath: /sys/kernel/debug
        name: sys-kernel-debug
      securityContext:
        privileged: true
  volumes:
  - name: sys-kernel-debug
    hostPath:
      path: /sys/kernel/debug
      type: Directory

Notes: tegrastats

The tegrastats tool is used to collect system metrics on NVidia Tegra hardware. The following resources were used as reference to parse that data:

About

Metrics agent which collects metrics across devices on WES.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •