NovatecConsulting / novatec-service-dependency-graph-panel

A Grafana panel for visualizing a Service Dependency Graph.
Apache License 2.0
191 stars 64 forks source link

[Question] - "No data to show" when trying out the sample #80

Closed Vijay-Nirmal closed 3 years ago

Vijay-Nirmal commented 3 years ago

Write your question here

I am trying out the Example 1 provided in the docs. I am getting No data to show - the query returned no data error. I think this is a mistake from my part rather than a bug, so I raised this issue as question.

Steps I followed

Below steps are done in latest version in Grafana Plugin website (2.3.0)

  1. Set data source as Azure Data Explorer Datasource using there plugin, since I have to get actual data from ADX.
  2. Used KQL to create the Example table in Grafana. Its creating proper table when using Table visualization.
    let T = datatable(app:string, target_app:string, req_rate:int)
    [
       "service a", "service b", 50,
       "service a", "service c", 75,
       "service c", "service d", 25,
    ];
    T

    image

  3. Set visualization to Service Dependency Graph and set the following values
    • Target Component Column Prefix as target_
    • Request Rate Column as req_rate
    • Create a new variable for dashboard and name it as aggregationType with type as constant and value as app image
  4. After I give Run Query, it shows No data to show - the query returned no data error image

Your Setup:

MariusBrill commented 3 years ago

Hi @Vijay-Nirmal ,

could you check in the query inspector if the data arrives correctly in grafana? You can see here how it works.

Greetings Marius

Vijay-Nirmal commented 3 years ago

When I use the latest version from the GitHub release it worked fine so I will close this issue. Anyway, thanks for the help and the wonderful plugin.