Skip to content

Commit

Permalink
Added Influxdb_client
Browse files Browse the repository at this point in the history
  • Loading branch information
tijmenvandenbrink committed Jun 27, 2020
1 parent 353f52c commit 7a30acd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contrib/enviroplus-exporter.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ After=network.target
User=pi
Group=pi
WorkingDirectory=/usr/src/enviroplus_exporter
ExecStart=python /usr/src/enviroplus_exporter/enviroplus_exporter.py --bind=0.0.0.0 --port=8000
ExecStart=python3 /usr/src/enviroplus_exporter/enviroplus_exporter.py --bind=0.0.0.0 --port=8000
ExecReload=/bin/kill -HUP $MAINPID

[Install]
Expand Down
2 changes: 1 addition & 1 deletion enviroplus_exporter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import os
import random
import requests
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
prometheus-client>=0.7.1
prometheus-client>=0.7.1
influxdb-client>=1.8.0

0 comments on commit 7a30acd

Please sign in to comment.