vsergeyev / loudml-grafana-app

Visualization panel and datasource for Grafana to connect with Loud ML AI solution for ICT and IoT automation
https://vsergeyev.github.io/loudml-grafana-app/
MIT License
48 stars 21 forks source link

Annotations not shown in LoudML Pannel #18

Open toni-moreno opened 4 years ago

toni-moreno commented 4 years ago

I'm sorry @vsergeyev . There is no way to show annotations in the panel and can not see why.

image

image

but in my db a lot of them exist.

> select * from annotations;
name: annotations
time                 deleted id                                   modified_time_ns    start_time          text                                                                          type
----                 ------- --                                   ----------------    ----------          ----                                                                          ----
2020-07-28T08:20:00Z false   487b916e-1e5d-418b-97d7-b7dbabca875d 1595924400000000000 1595924400000000000 feature 'mean_usage_system[host:myserver1]' is too low (score = 100.0)  loudml
2020-07-28T08:25:00Z false   e675b6ba-7e31-4886-8ed0-1faa0a87ec7b 1595924700000000000 1595924700000000000 feature 'mean_usage_system[host:myserver1]' is too low (score = 100.0)  loudml
2020-07-28T08:30:00Z false   af61f9e7-428f-4c13-aec4-bc2be849dddd 1595925000000000000 1595925000000000000 feature 'mean_usage_system[host:myserver1]' is too high (score = 100.0) loudml
2020-07-28T08:35:00Z false   cd4235d0-6fef-46df-b1a4-ed7fea365336 1595925300000000000 1595925300000000000 feature 'mean_usage_system[host:myserver1]' is too low (score = 100.0)  loudml
2020-07-28T08:40:00Z false   254ff09a-2ab7-4c6b-839f-13315271890c 1595925600000000000 1595925600000000000 feature 'mean_usage_system[host:myserver1]' is too high (score = 99.8)  loudml
2020-07-28T08:50:00Z false   8dfd18b3-b72b-4255-9b76-d960d4ac3e4d 1595926200000000000 1595926200000000000 feature 'mean_usage_system[host:myserver1]' is too high (score = 100.0) loudml
2020-07-28T09:00:00Z false   1de0257b-15ba-4853-919c-1ab2593da829 1595926800000000000 1595926800000000000 feature 'mean_usage_system[host:myserver1]' is too high (score = 99.8)  loudml
2020-07-28T09:05:00Z false   c98cbc9f-c473-4d46-9cd2-dc5c43578c97 1595927100000000000 1595927100000000000 feature 'mean_usage_system[host:myserver1]' is too low (score = 100.0)  loudml
2020-07-28T09:20:00Z false   93d641cc-51b4-4615-8504-9827cc1fe88e 1595928000000000000 1595928000000000000 feature 'mean_usage_system[host:myserver1]' is too low (score = 100.0)  loudml
2020-07-28T09:25:00Z false   f37de05d-338f-4290-bf0f-45af0be801cd 1595928300000000000 1595928300000000000 feature 'mean_usage_system[host:myserver1]' is too high (score = 100.0) loudml
2020-07-28T09:30:00Z false   215a4448-9d66-4196-9b5e-6cf249de8533 1595928600000000000 1595928600000000000 feature 'mean_usage_system[host:myserver1]' is too high (score = 100.0) loudml
2020-07-28T09:35:00Z false   73b57412-1bf8-4140-8593-0805bca5d0a8 1595928900000000000 1595928900000000000 feature 'mean_usage_system[host:myserver1]' is too low (score = 100.0)  loudml
2020-07-28T09:40:00Z false   5749f33c-3626-48e9-82d3-683df26cef19 1595929200000000000 1595929200000000000 feature 'mean_usage_system[host:myserver1]' is too high (score = 100.0) loudml
2020-07-28T09:50:00Z false   1aa5ffb2-7ac2-4997-b251-1b13af6e3b00 1595929800000000000 1595929800000000000 feature 'mean_usage_system[host:myserver1]' is too high (score = 100.0) loudml
2020-07-28T10:00:00Z false   e80efe08-5304-4175-b241-6ac3bbfbb38b 1595930400000000000 1595930400000000000 feature 'mean_usage_system[host:myserver1]' is too high (score = 99.9)  loudml
2020-07-28T10:05:00Z false   e1f82a4d-256d-4b74-81dd-c095763773ad 1595930700000000000 1595930700000000000 feature 'mean_usage_system[host:myserver1]' is too low (score = 100.0)  loudml
2020-07-28T10:10:00Z false   cea81bd9-83bb-4931-85f8-9b28467005ee 1595931000000000000 1595931000000000000 feature 'mean_usage_system[host:myserver1]' is too low (score = 100.0)  loudml
2020-07-28T10:15:00Z false   4cf7785a-0b1d-4053-9c3c-e925bc92ba9d 1595931300000000000 1595931300000000000 feature 'mean_usage_system[host:myserver1]' is too low (score = 100.0)  loudml
2020-07-28T10:20:00Z false   5d0c9f87-3e8e-4091-9ae1-756bfed91b38 1595931600000000000 1595931600000000000 feature 'mean_usage_system[host:myserver1]' is too low (score = 99.9)   loudml
2020-07-28T10:25:00Z false   f48d2a2a-efa4-4eee-838f-24e4790b7fb3 1595931900000000000 1595931900000000000 feature 'mean_usage_system[host:myserver1]' is too low (score = 100.0)  loudml
2020-07-28T10:30:00Z false   55a59cf9-26c4-44c6-8ccc-280f058fca96 1595932200000000000 1595932200000000000 feature 'mean_usage_system[host:myserver1]' is too high (score = 100.0) loudml
2020-07-28T10:35:00Z false   7d1637e8-2be9-4bf1-a637-ba897f6eadab 1595932500000000000 1595932500000000000 feature 'mean_usage_system[host:myserver1]' is too low (score = 100.0)  loudml
2020-07-28T10:40:00Z false   b9460530-048f-4381-9eae-ad29168c9287 1595932800000000000 1595932800000000000 feature 'mean_usage_system[host:myserver1]' is too high (score = 100.0) loudml
2020-07-28T10:50:00Z false   742aa962-66f3-4d49-941f-90e46c7173ff 1595933400000000000 1595933400000000000 feature 'mean_usage_system[host:myserver1]' is too high (score = 99.9)  loudml
2020-07-28T10:55:00Z false   71a47659-d896-4e8c-98d7-695b683eb5f4 1595933700000000000 1595933700000000000 feature 'mean_usage_system' is too low (score = 100.0)                        loudml
toni-moreno commented 4 years ago

hello again @vsergeyev

I've tested in a standard panel and annotations still working.

image

vsergeyev commented 4 years ago

@toni-moreno , no need to sorry - I'm really appreciate you using it and sending me so detailed bug report!

Working on fixing this.

-Volodymyr