Commit Graph

58 Commits

Author SHA1 Message Date
Christoph Petrausch
357948345d Merge pull request #16 from pulsar256/feature/improve-docs
clarified usage of topic wildcard in examples/doc
2020-09-02 06:53:31 +02:00
Paul Rogalinski-Pinter
a9e61fe42a clarified usage of topic wildcard in examples/doc 2020-09-01 22:33:52 +02:00
Christoph Petrausch
0d8d9e373c Add a link to the hacking environment
Increase the visibility of the hacking enviroment. 

Fixes #15
2020-08-12 08:22:26 +02:00
Christoph Petrausch
e5431f2fe5 Update Readme.md 2020-07-18 20:43:13 +02:00
Christoph Petrausch
09cc6b1e83 Merge pull request #14 from hikhvar/support-tasmota
Support tasmota
v0.1.0-RC1 v0.1.0
2020-07-18 20:13:50 +02:00
Christoph Petrausch
cdb02b9efe Updated readme 2020-07-18 20:13:23 +02:00
Christoph Petrausch
800b8c0cc5 Append source topic to metrics 2020-07-18 18:28:52 +02:00
Christoph Petrausch
d55b83443f Updated gosund example 2020-07-18 18:23:06 +02:00
Christoph Petrausch
f13c36ab4a Breaking: Don't append + automatically to the topic 2020-07-18 18:17:29 +02:00
Christoph Petrausch
29eb9250f6 Moved to gojsonq to support nested paths 2020-07-18 18:03:49 +02:00
Christoph Petrausch
5680206095 Support arbitrary position of device id in topic
The device firmware tasmota places the device ID in the middle of the
topic path. To support those devices to this commit introduce the
device_id_regex configuration. The old behavior of the last element of
the topic path is unchanged.
2020-07-18 18:02:17 +02:00
Christoph Petrausch
ec23d61881 Rename RegexpFilter to use it for device id extraction too 2020-07-18 18:02:17 +02:00
Christoph Petrausch
acf2988842 Merge pull request #12 from hikhvar/use-timestamps
Use timestamps
2020-07-16 14:50:45 +02:00
Christoph Petrausch
43f4611812 Add comment to config.yaml.dist to show eternal presentation to prometheus 2020-07-16 14:50:24 +02:00
Christoph Petrausch
2f2a8de37e Fix port in docker run 2020-07-16 14:43:37 +02:00
Christoph Petrausch
627c52669a Update hack config 2020-07-16 14:42:38 +02:00
Christoph Petrausch
0a300339af Add complete local development stack 2020-07-16 14:41:13 +02:00
Christoph Petrausch
ecb0011f3f Merge pull request #13 from hikhvar/fix-docs
Change default port as suggested in https://github.com/prometheus/doc…
2020-06-09 16:18:45 +02:00
Christoph Petrausch
451f4c0ce1 Change default port as suggested in https://github.com/prometheus/docs/pull/1649
Updated documentation
2020-06-09 16:18:11 +02:00
Christoph Petrausch
ebeed6edee Merge pull request #10 from oxplot/sensor-name-filtering
Sensor name filtering
2020-05-25 21:28:08 +02:00
Mansour Behabadi
8d0c1e0f2b gofmt cmd/ 2020-05-22 00:43:09 +10:00
Mansour Behabadi
7b5796b042 Add sensor name filter config 2020-05-22 00:42:49 +10:00
Christoph Petrausch
443f437b46 Merge pull request #9 from oxplot/parse-more-value-types
Parse more value types
v0.0.6
2020-05-03 11:35:16 +02:00
Mansour Behabadi
1ac6f71fa3 Fix typo 2020-05-03 18:29:15 +10:00
Mansour Behabadi
6e6113efba Remove unused regex 2020-05-03 18:15:31 +10:00
Mansour Behabadi
13c47b498d Parse more value types
* Parse bools as 0 for false and 1 for true
* Allow mapping between string and float values
2020-05-03 18:11:09 +10:00
Christoph Petrausch
39a6e392d5 Merge pull request #8 from hikhvar/docker-builds
Use bash variable substitution for docker tag
v0.0.5
2020-04-22 00:59:08 +02:00
Christoph Petrausch
f545e55456 Push twice 2020-04-22 00:58:35 +02:00
Christoph Petrausch
8e5df10de9 Use bash variable substitution for docker tag v0.0.5-RC1 2020-04-22 00:50:27 +02:00
Christoph Petrausch
bdb825f357 Merge pull request #6 from hikhvar/docker-builds
Create dockerimage.yml
2020-04-22 00:29:42 +02:00
Christoph Petrausch
f0d19e17ab Build docker image on every push
Release docker image to github
v0.0.4
2020-04-22 00:29:17 +02:00
Christoph Petrausch
c5f6fda731 Migrate dockerfile also to go 1.14 2020-04-21 23:14:07 +02:00
Christoph Petrausch
708c89f0a9 Add goreleaser file and badges v0.0.3 2020-04-21 22:34:02 +02:00
Christoph Petrausch
7eb393e433 Use github actions for CI 2020-04-21 22:18:14 +02:00
Christoph Petrausch
1de13bc192 Migrate to go modules 2020-04-21 22:17:42 +02:00
Christoph Petrausch
0b308a5ea3 Remove unused package 2020-04-21 22:07:31 +02:00
Christoph Petrausch
77f0cbcc30 Merge pull request #3 from AchMenz/master
fixed wrong cache behavior (was always 2 minutes)
2020-03-17 20:36:51 +01:00
AchMenz
9ab1d2b479 time not only in minutes 2020-03-17 17:46:30 +01:00
AchMenz
550dec1c42 fixed default time 2020-03-17 17:43:55 +01:00
AchMenz
0953fbf647 fixed default time 2020-03-17 17:41:04 +01:00
Christoph Petrausch
a0bbba8868 Merge pull request #4 from pulsar256/feature/parse_string_numbers
make an attempt to parse string floats
2020-03-11 22:54:32 +01:00
Paul Rogalinski-Pinter
1f5ee67214 make an attempt to parse string floats 2020-03-11 22:51:45 +01:00
AchMenz
0d884b7d34 removed debug artifacts
- falsely committed some debug code -> removed it
2020-02-28 23:48:12 +01:00
AchMenz
9318832599 fixed cache-duration-always-lasts-2-minutes bug
- the metrics were always presented 2 minutes, regardless what values have been loaded from the config file
- now the values from the config file are reflected in the behavior
2020-02-28 23:35:36 +01:00
AchMenz
fe7da9fcc8 fixed always loads CacheConfigDefaults bug
- previous code always loaded the cache default
- the time format in cache default should be plain integer
2020-02-28 23:30:18 +01:00
Christoph Petrausch
776bc492a1 Merge pull request #2 from pulsar256/feature/auth-and-fixes
MQTT auth, fixed error handling, less strict json parsing
0.0.2
2020-02-03 14:00:43 +01:00
Paul Rogalinski-Pinter
e0e3cbf744 less strict json payload type validation
json properties without explicit metric mapping are no longer required
to be of float64 type and will be ignored.
2020-02-03 13:35:05 +01:00
Paul Rogalinski-Pinter
e2c1e26d3e auth config for mqtt, fixed error handling 2020-02-03 13:34:20 +01:00
Christoph Petrausch
3bbf170843 Added binary deployment 0.0.1 2018-12-30 23:42:39 +01:00
Christoph Petrausch
f3819b9e7a Improved Makefile rebustness and add support for multiple ARM versions 2018-12-30 23:18:09 +01:00