Gowee / traceroute-map-panel

📍🗺️ Visualize traceroute paths on a map in a Grafana panel
Apache License 2.0
37 stars 2 forks source link

GeoIP Token? #2

Closed x86txt closed 3 years ago

x86txt commented 4 years ago

How/where do we input the GeoIP token for IPinfo?

wasabi222 commented 3 years ago

I just upgraded from grafana 5 to grafana 7 and this option is now missing in grafana 7 - it was formerly located on the side panel in grafana 5

Gowee commented 3 years ago

Sorry for the late reply. It appears that I mistakenly turned off all notifications from the repo someday.

The API token of IPInfo can be obtained by signing up on their websites: https://ipinfo.io/signup.

To specify the token, assuming it is on Grafana 7.0:

  1. "Edit" the panel: image
  2. Options are merged into the section of panel settings on Grafana 7.0. Just scroll down and there are. image

(Screenshots are captured on v7.1.4 (82a235b54c).)

BTW, as Grafana breaks plugin compatibility between their major version, please make sure the corresponding version is installed: v0.1.0 is for Grafana 6.7.x and recent releases are for Grafana 7.0+. It is a little surprising to me to know it works on Grafana 5. Anyway, if it does not show errors before or just after installing, then it should work.

Feel free to left messages here if you still find it confusing.

Gowee commented 3 years ago

I am closing this issue for now as it has not received new comments for a few days. Please re-open it if necessary.

Gowee commented 3 years ago

Hi there!

It is a late update. I found that some a version between Grafana 7.1 - 7.3 dropped the support of an internal API used by the plugin silently without raising an error (#5), which may result in missing option editor.

I did not notice this issue until issue #4 is raised as I was using an outdated version of Grafana for months. Since then, I have rewritten the panel plugin to be compatible with the new APIs of the Grafana 7.x series. The new beta version is here. It should work well with the latest Grafana.

Since the new version has not yet been included in the official plugin repo of Grafana, installation requires manual operation and does not support the Grafana cloud. If everything goes well, I will make a stable release and update it in the plugin repo next week.

I feel sorry for the confusion.