sh0rez / luxtronik2-exporter Goto Github PK
View Code? Open in Web Editor NEWluxtronik2 prometheus exporter
License: Apache License 2.0
luxtronik2 prometheus exporter
License: Apache License 2.0
It seams to confuse table headers with real data.
Here are some examples of errors it gives and a screanshot of heatpump webpage:
panic: descriptor Desc{fqName: "luxtronik_chybova-pamet", help: "", constLabels: {}, variableLabels: [attr]} is invalid: "luxtronik_chybova-pamet" is not a valid metric name
panic: descriptor Desc{fqName: "luxtronik_doby-chodu", help: "", constLabels: {}, variableLabels: [attr]} is invalid: "luxtronik_doby-chodu" is not a valid metric name
panic: descriptor Desc{fqName: "luxtronik_status-zarizeni", help: "", constLabels: {}, variableLabels: [attr]} is invalid: "luxtronik_status-zarizeni" is not a valid metric name
Add config file (using viper) to set the following:
Allow to specify domain-fields to ignore parse errors. reduces log bloat
Logs are not getting escaped properly:
time="2018-12-15T22:20:59Z" level=warning msg="metric value parse failure" domain=betriebsstunden field=betriebstunden-heiz value="{"value":"277h"}"
The unescaped json breaks fluent-bit logfmt parser
Please add just a little documentation, on how to run the exporter
I use Docker and had to look into your code to find out, on which port it is exposed and in which folder it expects the config.
e.g.
Access via :/metrics
$ go run main.go
command-line-arguments
./main.go:93:2: undefined: mutes
./main.go:93:15: undefined: MuteList
./main.go:95:3: undefined: mutes
./main.go:95:14: undefined: Mute
./main.go:159:7: undefined: mutes
And:
$ go version
go version go1.15.15 linux/arm64
I'm happy to help debug the issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.