emnify / spu-exporter

Prometheus exporter for spu nodes, utilizing ssh interface of spu application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spu-exporter

Prometheus exporter for spu nodes, utilizing ssh interface of spu application

Description

This application consists of three parts:

  • connecting over ssh, executing a command a returning the stdout as string.
  • parsing this output expecting specific keywords like returned by spu application
  • creating prometheus metrics and serve them on configurable port

Configuration

Configurable are:

  • the command to be executed on ssh session
  • ssh connection parameters
  • prometheus metrics host and port
  • spu scrape interval

Execution

The path to the config file can be given as first parameter, otherwise it uses /opt/spu/exporter-config.yaml

About

Prometheus exporter for spu nodes, utilizing ssh interface of spu application


Languages

Language:Go 93.7%Language:Makefile 6.3%