alexandrainst / alexandra-trackmap-panel

Grafana map plugin to visualise coordinates as markers, hexbin, ant path, or heatmap.
MIT License
78 stars 26 forks source link

Trackmap not working on Grafana 7.5.5 #58

Closed yotastefan closed 3 years ago

yotastefan commented 3 years ago

I have installed your cool Trackmap plugin successfully on Grafana cloud 7.5.5 and also local installation, but when I try to crate a panel I receive the error:

<TypeError: undefined is not an object (evaluating 'this.events.emit')>

Support from Grafana means: "It seems the alexandra-trackmap-panel plugin isn't compatible with the latest version of Grafana."

Can you please advise?

Alkarex commented 3 years ago

Hello, Can you please confirm that you are using our latest version, i.e. 2.2.1 at the moment? https://github.com/alexandrainst/alexandra-trackmap-panel/releases/tag/v2.2.1

yotastefan commented 3 years ago

Hi

Yes, I confirm that I tried the latest version 2.2.1 (just downloaded). It does not work, neither on Grafana cloud nor on local installation.

Best regards Stefan

Am 03.05.2021 um 11:31 schrieb Alexandre Alapetite @.***>:

Hello, Can you please confirm that you are using our latest version, i.e. 2.2.1 at the moment? https://github.com/alexandrainst/alexandra-trackmap-panel/releases/tag/v2.2.1 https://github.com/alexandrainst/alexandra-trackmap-panel/releases/tag/v2.2.1 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/alexandrainst/alexandra-trackmap-panel/issues/58#issuecomment-831141062, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT4WLNI6C4SKPJEAMQTHN73TLZUOLANCNFSM434AI6XQ.

ZhongyuWang commented 3 years ago

Hi @yotastefan

Could you please elaborate your issue a bit more. I have deployed grafana in docker and the plugin works fine. grafana-trackmap

Best regards, Zhongyu

yotastefan commented 3 years ago

I have checked again and I thought the version was correct - I used the normal install procedure on Grafana cloud. But it shows:

Can it be that there is a wrong link for installation?

I don’t know how to have other installation method. Any idea?

Am 03.05.2021 um 13:01 schrieb Zhongyu Wang @.***>:

Hi @yotastefan https://github.com/yotastefan Could you please elaborate your issue a bit more. I have deployed grafana in docker and the plugin works fine. https://user-images.githubusercontent.com/15715503/116868693-858c8d80-ac0f-11eb-92f8-e6ce04920cf5.PNG Best regards, Zhongyu

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/alexandrainst/alexandra-trackmap-panel/issues/58#issuecomment-831187221, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT4WLNPFXR4IZZUJI3TPGJ3TLZ67LANCNFSM434AI6XQ.

ZhongyuWang commented 3 years ago

I have checked again and I thought the version was correct - I used the normal install procedure on Grafana cloud. But it shows: Can it be that there is a wrong link for installation? I don’t know how to have other installation method. Any idea? Am 03.05.2021 um 13:01 schrieb Zhongyu Wang @.***>: Hi @yotastefan https://github.com/yotastefan Could you please elaborate your issue a bit more. I have deployed grafana in docker and the plugin works fine. https://user-images.githubusercontent.com/15715503/116868693-858c8d80-ac0f-11eb-92f8-e6ce04920cf5.PNG Best regards, Zhongyu — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#58 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT4WLNPFXR4IZZUJI3TPGJ3TLZ67LANCNFSM434AI6XQ.

I just use the release here: https://github.com/alexandrainst/alexandra-trackmap-panel/releases/tag/v2.2.1

Extract the file and put the folder under the /plugins. It should work after restarting the grafana service.

yotastefan commented 3 years ago

Thanks for your info - I now re-installed this version and it works (the error is gone and map displays)!!! Great!!

Question: do you have an example for an Influx query? I have just some fields (3 values) to display, plus ‚lon‘ and ‚lat‘ information.

Thanks again for your help (just missing the GRAFANA setup, not sure if I can install this version). Maybe you ask their support to install and make it easier for users. Please also check if this great panel can be validated and certified as well.

Best regards Stefan

Am 03.05.2021 um 14:01 schrieb Zhongyu Wang @.***>:

I have checked again and I thought the version was correct - I used the normal install procedure on Grafana cloud. But it shows: Can it be that there is a wrong link for installation? I don’t know how to have other installation method. Any idea? … <x-msg://16/#> Am 03.05.2021 um 13:01 schrieb Zhongyu Wang @.***>: Hi @yotastefan https://github.com/yotastefan https://github.com/yotastefan https://github.com/yotastefan Could you please elaborate your issue a bit more. I have deployed grafana in docker and the plugin works fine. https://user-images.githubusercontent.com/15715503/116868693-858c8d80-ac0f-11eb-92f8-e6ce04920cf5.PNG https://user-images.githubusercontent.com/15715503/116868693-858c8d80-ac0f-11eb-92f8-e6ce04920cf5.PNG Best regards, Zhongyu — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#58 (comment) https://github.com/alexandrainst/alexandra-trackmap-panel/issues/58#issuecomment-831187221>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT4WLNPFXR4IZZUJI3TPGJ3TLZ67LANCNFSM434AI6XQ https://github.com/notifications/unsubscribe-auth/AT4WLNPFXR4IZZUJI3TPGJ3TLZ67LANCNFSM434AI6XQ.

I just use the release here: https://github.com/alexandrainst/alexandra-trackmap-panel/releases/tag/v2.2.1 https://github.com/alexandrainst/alexandra-trackmap-panel/releases/tag/v2.2.1 Extract the file and put the folder under the /plugins. It should work after restarting the grafana service.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/alexandrainst/alexandra-trackmap-panel/issues/58#issuecomment-831214526, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT4WLNLFYLOTHOWBZQLUOGTTL2GCRANCNFSM434AI6XQ.

ZhongyuWang commented 3 years ago

Thanks for your info - I now re-installed this version and it works (the error is gone and map displays)!!! Great!! Question: do you have an example for an Influx query? I have just some fields (3 values) to display, plus ‚lon‘ and ‚lat‘ information. Thanks again for your help (just missing the GRAFANA setup, not sure if I can install this version). Maybe you ask their support to install and make it easier for users. Please also check if this great panel can be validated and certified as well. Best regards Stefan Am 03.05.2021 um 14:01 schrieb Zhongyu Wang @.>: I have checked again and I thought the version was correct - I used the normal install procedure on Grafana cloud. But it shows: Can it be that there is a wrong link for installation? I don’t know how to have other installation method. Any idea? … <x-msg://16/#> Am 03.05.2021 um 13:01 schrieb Zhongyu Wang @.>: Hi @yotastefan https://github.com/yotastefan https://github.com/yotastefan https://github.com/yotastefan Could you please elaborate your issue a bit more. I have deployed grafana in docker and the plugin works fine. https://user-images.githubusercontent.com/15715503/116868693-858c8d80-ac0f-11eb-92f8-e6ce04920cf5.PNG https://user-images.githubusercontent.com/15715503/116868693-858c8d80-ac0f-11eb-92f8-e6ce04920cf5.PNG Best regards, Zhongyu — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#58 (comment) <#58 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT4WLNPFXR4IZZUJI3TPGJ3TLZ67LANCNFSM434AI6XQ https://github.com/notifications/unsubscribe-auth/AT4WLNPFXR4IZZUJI3TPGJ3TLZ67LANCNFSM434AI6XQ. I just use the release here: https://github.com/alexandrainst/alexandra-trackmap-panel/releases/tag/v2.2.1 https://github.com/alexandrainst/alexandra-trackmap-panel/releases/tag/v2.2.1 Extract the file and put the folder under the /plugins. It should work after restarting the grafana service. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#58 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT4WLNLFYLOTHOWBZQLUOGTTL2GCRANCNFSM434AI6XQ.

An influx query could be: SELECT mean("longitude") AS "longitude", mean("latitude") AS "latitude", count(*) AS "value" FROM "db"."autogen"."table" WHERE $timeFilter GROUP BY time(10m), "id" fill(0);

yotastefan commented 3 years ago

Thanks for your help, but I am still struggling to get a marker shown in map. My query to INFLUX (database is „snap_data") is:

SELECT mean(„lat“) AS „latitude“, mean(„lon“) AS „longitude“, mean („RSSI“) as „intensity“ from „autogen“.“snap_data“ WHERE time>= now() - 6h GROUP BY time(5s) fill(null)

The result is a marker shown below in Africa where LON=0 and LAT=0. If I inspect the data from the query, the positions are correct from the GPS measurement and also the RSSI value is correctly read from database. I have tried many options and settings now… what am I doing wrong here? Thanks for your help.

Am 03.05.2021 um 21:02 schrieb Zhongyu Wang @.***>:

Thanks for your info - I now re-installed this version and it works (the error is gone and map displays)!!! Great!! Question: do you have an example for an Influx query? I have just some fields (3 values) to display, plus ‚lon‘ and ‚lat‘ information. Thanks again for your help (just missing the GRAFANA setup, not sure if I can install this version). Maybe you ask their support to install and make it easier for users. Please also check if this great panel can be validated and certified as well. Best regards Stefan … <x-msg://2/#> Am 03.05.2021 um 14:01 schrieb Zhongyu Wang @.>: I have checked again and I thought the version was correct - I used the normal install procedure on Grafana cloud. But it shows: Can it be that there is a wrong link for installation? I don’t know how to have other installation method. Any idea? … x-msg://16/# Am 03.05.2021 um 13:01 schrieb Zhongyu Wang @.>: Hi @yotastefan https://github.com/yotastefan https://github.com/yotastefan https://github.com/yotastefan https://github.com/yotastefan https://github.com/yotastefan https://github.com/yotastefan https://github.com/yotastefan Could you please elaborate your issue a bit more. I have deployed grafana in docker and the plugin works fine. https://user-images.githubusercontent.com/15715503/116868693-858c8d80-ac0f-11eb-92f8-e6ce04920cf5.PNG https://user-images.githubusercontent.com/15715503/116868693-858c8d80-ac0f-11eb-92f8-e6ce04920cf5.PNG https://user-images.githubusercontent.com/15715503/116868693-858c8d80-ac0f-11eb-92f8-e6ce04920cf5.PNG https://user-images.githubusercontent.com/15715503/116868693-858c8d80-ac0f-11eb-92f8-e6ce04920cf5.PNG Best regards, Zhongyu — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#58 https://github.com/alexandrainst/alexandra-trackmap-panel/issues/58 (comment) <#58 (comment) https://github.com/alexandrainst/alexandra-trackmap-panel/issues/58#issuecomment-831187221>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT4WLNPFXR4IZZUJI3TPGJ3TLZ67LANCNFSM434AI6XQ https://github.com/notifications/unsubscribe-auth/AT4WLNPFXR4IZZUJI3TPGJ3TLZ67LANCNFSM434AI6XQ https://github.com/notifications/unsubscribe-auth/AT4WLNPFXR4IZZUJI3TPGJ3TLZ67LANCNFSM434AI6XQ https://github.com/notifications/unsubscribe-auth/AT4WLNPFXR4IZZUJI3TPGJ3TLZ67LANCNFSM434AI6XQ. I just use the release here: https://github.com/alexandrainst/alexandra-trackmap-panel/releases/tag/v2.2.1 https://github.com/alexandrainst/alexandra-trackmap-panel/releases/tag/v2.2.1 https://github.com/alexandrainst/alexandra-trackmap-panel/releases/tag/v2.2.1 https://github.com/alexandrainst/alexandra-trackmap-panel/releases/tag/v2.2.1 Extract the file and put the folder under the /plugins. It should work after restarting the grafana service. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#58 (comment) https://github.com/alexandrainst/alexandra-trackmap-panel/issues/58#issuecomment-831214526>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT4WLNLFYLOTHOWBZQLUOGTTL2GCRANCNFSM434AI6XQ https://github.com/notifications/unsubscribe-auth/AT4WLNLFYLOTHOWBZQLUOGTTL2GCRANCNFSM434AI6XQ.

An influx query could be: SELECT mean("longitude") AS "longitude", mean("latitude") AS "latitude", count(*) AS "value" FROM "db"."autogen"."table" WHERE $timeFilter GROUP BY time(10m), "id" fill(0);

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/alexandrainst/alexandra-trackmap-panel/issues/58#issuecomment-831466222, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT4WLNN6BQRZRXH43LURKH3TL3XLXANCNFSM434AI6XQ.

alduxvm commented 3 years ago

Hello,

I'm using grafana via docker and I installed this plugin via the cli> grafana-cli plugins install alexandra-trackmap-panel is installing version 1.2.6... I tried doing the next and I'm getting error:

Error: ✗ could not find the version you're looking for

How to install the latest version using the cli? thanks!!!

mapleafGWN commented 3 years ago

Hi alduxvm: I'm not sure if this helps - take a look at the Grafana site regarding using Docker and adding third party plugins: https://grafana.com/docs/grafana/latest/installation/docker/#install-plugins-from-other-sources

Alkarex commented 3 years ago

@alduxvm @mapleafGWN We have added additional installation instructions. I hope that helps: https://github.com/alexandrainst/alexandra-trackmap-panel#installation

ZhongyuWang commented 3 years ago

Close for now and feel free to post more information.