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

Grafana-Flow plugin is not show any data with Grafana 11 #92

Open
hamidrhashmi opened this issue Dec 10, 2024 · 7 comments
Open

Grafana-Flow plugin is not show any data with Grafana 11 #92

hamidrhashmi opened this issue Dec 10, 2024 · 7 comments

Comments

@hamidrhashmi
Copy link

hamidrhashmi commented Dec 10, 2024

I have installed the plugin on Grafana v11.4.0 (b58701869e) with the following command

wget https://github.com/metrico/grafana-flow/archive/refs/tags/v10.2.0.tar.gz
tar -zxvf v10.2.0.tar.gz
mv qxip-flow-panel /var/lib/grafana/plugins/

Then I edit the Grafana configuration file

vim /etc/grafana/grafana.ini

[plugin]
allow_loading_unsigned_plugins = qxip-flow-panel

then restart grafana-server

systemctl restart grafana-server

and then imported the attached dashboard ( Call Flow-1733403281102.json ) with Loki data source but its not show any data.

image

@amnapa
Copy link

amnapa commented Dec 25, 2024

@hamidrhashmi I can confirm that, it works on Grafana 10.4.0 but not on 11.1.5. The Hep Flow panel show JavaScript error.

@amnapa
Copy link

amnapa commented Dec 28, 2024

@hamidrhashmi I just installed the latest version of plugin (v10.2.0) and everything works like before. Just make sure in your setup, heplify server is configured with LokiIPPortLabels = true so that IP and port labels are sent to LOKI (qryn).

@hamidrhashmi
Copy link
Author

Hi, @amnapa LokiIPPortLabels is already set to true in my configuration and I using the latest version but It's still not working for me.

[Unit]
Description=Captures packets from wire and sends them to Hepic
After=network.target

[Service]
Type=fork
Environment="HEPLIFYSERVER_HEPADDR=0.0.0.0:9060"
Environment="HEPLIFYSERVER_HEPTCPADDR=0.0.0.0:9061"
Environment="HEPLIFYSERVER_DBSHEMA=mock"
Environment="HEPLIFYSERVER_DBDRIVER=mock"
Environment="HEPLIFYSERVER_DBADDR="
Environment="HEPLIFYSERVER_LOGLVL=info"
Environment="HEPLIFYSERVER_LOGSTD=true"
Environment="HEPLIFYSERVER_PROMADDR=0.0.0.0:9096"
Environment="HEPLIFYSERVER_DEDUP=false"
Environment="HEPLIFYSERVER_LOKIURL=http://qryn.local:3100/loki/api/v1/push"
Environment="HEPLIFYSERVER_LOKITIMER=1"
Environment="HEPLIFYSERVER_LOKIIPPORTLABELS=true"
ExecStart=/usr/bin/heplify-server
ExecStop=/bin/kill ${MAINPID}
Restart=on-failure
RestartSec=10s

[Install]
WantedBy=multi-user.target

@amnapa
Copy link

amnapa commented Dec 30, 2024

@hamidrhashmi I recommend setting LokiHEPFilter, like described here, also increase the log level to debug and check if logs are actually sent to qryn. Also make sure that LOKI data source is correctly configured in Grafana and you can query {job="heplify-server", method="INVITE"} |~ "INVITE.*Call-ID:" in the Explore section of Grafana.

@hamidrhashmi
Copy link
Author

I can see data using the provided query
image

see the video, It's showing labels but not Call Flow.

@lmangani
Copy link
Contributor

lmangani commented Dec 30, 2024

Thanks @amnapa

I can confirm the Flow plugin (and qryn itself) currently only fully target and support Grafana 10.x compatibility

We're currently working on the H11 release and Grafana is going through many changes so we're waiting for a stable version of the APIs to resume the integration which might be for 11.x or 12.x depending on their release cycle madness.

@amnapa
Copy link

amnapa commented Dec 30, 2024

@hamidrhashmi That's strange, Did you change the time interval in Grafana call flow dashboard? because In your video, the explore shows the logs from last hour, but the call flow shows the data in last 5 minutes.

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

3 participants