NETWAYS / go-check

A Golang library to create monitoring plugins for Icinga
https://pkg.go.dev/github.com/NETWAYS/go-check
GNU General Public License v2.0
13 stars 4 forks source link

[Bug]: Evaluate at compile time whether performance data points are numbers #118

Open RincewindsHat opened 5 months ago

RincewindsHat commented 5 months ago

Please try to fill out as much of the information below as you can. Thank you!

Which version contains the bug?

0.6.2

Describe the bug

Currently there is no good way to evaluate whether the Value in the performance data struct is really a number. Theoretically this could be done at compile time, but it did not find a way to this in golang. Maybe someone else can think of a reasonable path.

How to recreate the bug?

No response