Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model create error (invalid time delta value) #13

Open
el-tanito opened this issue Jul 21, 2020 · 6 comments
Open

Model create error (invalid time delta value) #13

el-tanito opened this issue Jul 21, 2020 · 6 comments

Comments

@el-tanito
Copy link

Hello, I am having an error (invalid time delta value) while creating a baseline.

Am I doing something wrong?

model create error

@vsergeyev
Copy link
Owner

vsergeyev commented Jul 21, 2020 via email

@el-tanito
Copy link
Author

el-tanito commented Jul 21, 2020

@vsergeyev, below are the configuration details.

config

If I change the configuration parameters (E.g., group by, fill) another error message appears.

@vsergeyev
Copy link
Owner

vsergeyev commented Jul 21, 2020 via email

@el-tanito
Copy link
Author

el-tanito commented Jul 22, 2020

@vsergeyev , I tried to force the group by time variable, but it doesn't work.

Inside the configuration file (loudm.yml) I have defined the two buckets. On grafana I then selected database name.
Is it correct?

buckets

loudml.yml

 buckets:

 # Input bucket
 - name: welding
   type: influxdb
   addr: 127.0.0.1:8086
   database: Marelli
   retention_policy: autogen
   measurement: loudml

 # Output bucket
 - name: loudml
   type: influxdb
   addr: 127.0.0.1:8086
   database: loudml_db
   retention_policy: autogen
   measurement: loudml
   annotation_db: loudmlannotations
   
storage:
  path: /var/lib/loudml

server:
  listen: 127.0.0.1:8077

docker-compose.yml

This is the mapping between host and container within the LoudML service

 volumes:
  - loudml-storage:/var/lib/loudml
  - ./loudml/loudml.yml:/etc/loudml/loudml.yml:ro

@vsergeyev
Copy link
Owner

Hello @el-tanito ,

Thank you for giving it a try.

For Input bucket it should be used "welding"
For Output bucket it should be used "loudml"

Docker settings looks good for me.

V.

@el-tanito
Copy link
Author

Hi @vsergeyev ,
By changing some configuration parameters, I managed to generate the baseline.

Unfortunately, when I perform the "refresh models and jobs from Loud ML server", the job fails because it does not find the bucket (name = 'Marelli').
As shown in the picture below :

bucket_not_found

Here are the configuration parameters used:

  • grafana
  • loudml.yml

buckets

loudml.yml

 # Output bucket
 
 - name: loudml_db
   type: influxdb
   addr: http://influxdb:8086
   database: loudml_db
   retention_policy: autogen
   measurement: "current_output_analysis"
   annotation_db: loudmlannotations
  
  
 # Input bucket
  
 - name: Marelli
   type: influxdb
   addr: http://influxdb:8086
   database: Marelli
   retention_policy: autogen
   measurement: "current_output"

What could be the problem?

vsergeyev pushed a commit that referenced this issue Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants