The mx-exporter is a standalone app that can be run as a daemon, written in Python Language, that exports MetaX GPU metrics to the Prometheus server. The mx-exporter uses MXSML C-Library for its data acquisition. The exporter and the MXSML library have a [PYTHON binding] that provides an interface between the MXSML C,C++ library and the PYTHON exporter code.
mx-exporter - MetaX Prometheus Data Exporter
The mx-exporter is a standalone app that can be run as a daemon, written in Python Language, that exports MetaX GPU metrics to the Prometheus server. The mx-exporter uses MXSML C-Library for its data acquisition. The exporter and the MXSML library have a [PYTHON binding] that provides an interface between the MXSML C,C++ library and the PYTHON exporter code.
Build docker image
Run as Docker
Add “-v /var/lib/kubelet/pod-resources:/var/lib/kubelet/pod-resources” to support export pod resources.
if you want to change port and process interval settings, use this:
if you want to use self defined counter configuration file on host, here’s an example:
Run as python application
Deployment
Deploy with kubernetes
All the deployment configuration files stored in the
deploymentfolderDeploy with Helm
Helm install using package
cd mx-exporter/deployment/mx-exporter/helm; helm install metax-mx-exporter mx-exporter \ --create-namespace -n metax-monitor \ --set image.repository=xxxx \ --set image.tag=x.x.x \Options: