Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit e96703a

Browse files
committed
Added makefile and Readme infos
1 parent 835eb3f commit e96703a

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
GOCMD=go
2+
GOBUILD=$(GOCMD) build
3+
BINARY_NAME=raspberry_exporter
4+
all: aarch64 armhf
5+
aarch64:
6+
$(GOBUILD) -o out/armhf/$(BINARY_NAME)
7+
armhf:
8+
$(GOBUILD) -o out/aarch64/$(BINARY_NAME)

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
# raspberry-exporter
1+
# Raspberry PI exporter for Prometheus
2+
This is a simple wrapper around the `vcgencmd` executable on Raspberry PIs.
3+
4+
## Configuration
5+
A sample config file can be found inside this repo. To use it start the exporter with the `--config.file=<file>` option.

0 commit comments

Comments
 (0)