Closed yolkhovyy closed 4 years ago
Hey @yolkhovyy, the 1click button was renamed "Create baseline" in the latest prototypes. You can see the button is not active so you may have to select your bucket_interval, or aggregation type. If you hover your mouse on the button it will tell you what's missing.
You're right, linear fill is not supported. Using "previous" is a good choice when you have time series with irregular data points.
Yes, the button is called Create baseline
indeed, when I hover mouse over the button I see a pop up with the following message:
Unable to find LoadML datasource for selected database. Check configuration.
What does that mean?
Here is my loadml.yml:
datasources:
- name: influx
type: influxdb
addr: 192.168.1.211:8086
database: telegraf
- name: kapacitor
type: influxdb
addr: 192.168.1.211:9092
database: from_loudml
storage:
path: /var/lib/loudml
server:
listen: 0.0.0.0:8077
I guess this line
database: from_loudml
is not quite correct - what should be in there?
Or, should I created the from_loudml
database manually?
Yes, you can create the from_loudml
database manually.
Unable to find Loud ML datasource for selected database. Check configuration.
The above message will appear if there is a mismatch in settings. Chronograf defines its own "data sources". Loud ML is a separate software so it does the same with another config.yml
file. The UI demo is trying to match data sources by name, but if it fails you will see the above error message.
Using the docker-compose file should prevent this issue.
Do I understand it correct that the Chronograf, Kapacitor and LoudML use the same database?
I am not sure I understand what the database
is in the kapacitor
section in the loudml.yml
datasources:
- name: influx
type: influxdb
addr: 192.168.1.211:8086
database: telegraf
- name: kapacitor
type: influxdb
addr: 192.168.1.211:9092
database: from_loudml
storage:
path: /var/lib/loudml
server:
listen: 0.0.0.0:8077
In this example, Loud ML reads data from the influx
source and then writes data to kapacitor
for alerting purposes.
Kapacitor is not the database, it's a stream processor: data in - data out. Sometimes there is no data out, and it's only used for alerting.
Hi, I'm getting the same issue as above.
"Unable to find LoadML datasource for selected database. Check configuration."
I'm using the exact same settings as @yolkhovyy above. I've tried a number of different configurations, and removed DB authentication, in case this was blocking LoudML.
`datasources:
- name: influx
type: influxdb
addr: localhost:8086
database: plc
- name: kapacitor
type: influxdb
addr: localhost:9092
database: from_loudml
`
I am having the exact same issue as mentioned by @yolkhovyy . Any suggestions?
loudml.yml
datasources:
server: listen: 0.0.0.0:8077
I got the issue , had to specify the retention policy with below entry :
retention_policy:myRetentionPolicy
Try three solution here. Latest-devel (September 2019) may not be compatible with the current chronograf https://github.com/regel/loudml/issues/151#issuecomment-539701633
Compatibility issues solved by latest loudml and Chronograf docker images.
The 1-click ML button is not available, please see attached screenshot.
Have followed a tutorial here: https://medium.com/loud-ml/a-devops-tutorial-to-setup-intelligent-machine-learning-driven-alerts-c4de93cf6d66
InfluxDB/Telegraf/Kapacitor run on a Raspberry Pi 3B: Kapacitor OSS 1.5.2 (git: HEAD 3086452d00830e01d932838d8c6d1df818648ad3) Influxdb OSS 1.7.6 de0528dc-8f69-11e9-847f-b827eb200a4c Telegraf 1.10.3 (git: HEAD 294bb666)
Chronograf/LoudML - on Ubuntu 2018.4: Docker version 18.09.6, build 481bc77
loudml.yml:
docker-compose:
Some log:
This might be important:
Just noticed that
linear
fill is not supported, have triedprevious
- no change.When mouse is over the button I see a pop up with the following message (among other things that look ok):
localhost:8077 returns: