i tried to integrate openhab metrics. so first - it works.
for me it was difficult to find out that i have to go to “misc” to install metrics. maybe its better to add in documentation.
thanks for the link. i was able to import successfully with your help and after i installed grafana plugin
natel-discrete-panel. Dashboard works also fine now.
metrics i really great for me to alert directly from my prometheus instance.
Hi,
After reading documentation and post, I’m asking myself if Openhab Metrics is compatible with influxDB v2 (as the persistence bundle) ?
I don’t see how to specify the token and bucket parameters.
Thank in advance for any reply.
As you can see in OH influxdb persistence, to avoid modification to existing configuration parameters, the existing ones as been reused with different semantics. But the token one as been added for influxDB v2.
So is there any chance that one day, the openhab metrics can work with influxdb v2 ?
For the moment, I don’t knwo how to set the token (even if i use the database parameter to specify the organization, I need to specify the bucket and the token).
I just tried the following confoiguration:
DatabaseName =
UserName =
Password =
Of course it does not work (nothing is going inside the influxdb bucket)
So ??..
I use it with openhab3.1.0 and influxdb2.0.7 docker containers. Not so difficult to configure like this.
And, in the near future, I would clearly not be the only one using influxdb2…
If I can help…
Did someone succeed in the meantime to get Metrics working with InfluxDB 2.0?
No idea how to define organisation/bucket/token via GUI or metrics.cfg or is InfluxDB 2.0 not supported?