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

[Feature] Support for "Node Graph" panel #352

Closed
hyberdk opened this issue Jun 16, 2021 · 5 comments
Closed

[Feature] Support for "Node Graph" panel #352

hyberdk opened this issue Jun 16, 2021 · 5 comments
Assignees
Milestone

Comments

@hyberdk
Copy link

hyberdk commented Jun 16, 2021

Hi all,

I was wondering if there are support for the new Node Graph panel plugin in the clickhouse datasource?

This is the one that I am talking about:
https://grafana.com/docs/grafana/latest/panels/visualizations/node-graph/

As far as I can see, there needs to be some special data frames returned. If there already are support, then do anyone have a working installation running or can you point to some better documentation than what is on the grafana.com docs?

Thanks a lot.

Esben

@Slach Slach self-assigned this Jun 23, 2021
@Slach
Copy link
Collaborator

Slach commented Jun 23, 2021

@hyberdk thanks a lot for your reporting
I will try add this functionality to next release

@Slach Slach changed the title [Question] Support for "Node Graph" panel? [Feature] Support for "Node Graph" panel? Jun 23, 2021
@Slach Slach changed the title [Feature] Support for "Node Graph" panel? [Feature] Support for "Node Graph" panel Jun 23, 2021
@hyberdk
Copy link
Author

hyberdk commented Jun 25, 2021

@Slach that would be awesome, let me know if you need someone to test or something like that..

Unfortunately the languages you use in this project is not really my flavor, so help coding is not realistic ;-)

@lmangani
Copy link

lmangani commented Jul 26, 2021

Surprisingly, this actually works without any modifications in Grafana 8.1.0

Node Graph can be fed using two different table formatted (A,B) queries with the following mandatory fields in each:

  • nodes
    • id (distinct, unique)
    • title
    • mainStat (optional float metric)
  • edges
    • id (ie: concat(source,target))
    • source
    • target
    • mainStat (optional float metric)

Note all the objects in source + target edges must exist as node ids for the panel to work!

The full list of optional parameters is available here

image

@Slach Slach added this to the 2.5.2 milestone Sep 5, 2022
@Slach Slach closed this as completed in a4abb4d Sep 5, 2022
@iamshreeram
Copy link

Hi @lmangani, I hope you're doing well.

Does this setup without requiring any plugins?
We're currently publishing OpenTelemetry metrics to ClickHouse, and we're trying to view the data in node graph. However, it appears that the node graph isn't displaying any information, even though the query itself is returning the expected results.

I've attached a screenshot for your reference. I would really appreciate any assistance you can provide. Thank you!

image

@lmangani
Copy link

lmangani commented Oct 7, 2024

@iamshreeram at the time of writing it did but Grafana is ever changing so they probably broke this capability. Which version are you using? If you want something to do this nicely out of the box with ClickHouse check our project qryn which does this (and much more) natively and supports the full tempo API 😉

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

4 participants