NovatecConsulting / novatec-service-dependency-graph-panel

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

[Question] - Graph is blank #85

Closed CrashLaker closed 2 years ago

CrashLaker commented 3 years ago

Hi all,

I just started using this plugin. I'm trying to setup a vis but it's not rendering. Can anyone help me?

my aggregationType is set to app.

my datatable is shown as this:

image

when switching to service map nothing is shown

image

CrashLaker commented 3 years ago

Ok so trying with readme's example.

image

image

image

image

CrashLaker commented 3 years ago

it's working now. but this is strange i could only make it work by setting app as target and origin_app as source. if i set Target Component Column to target_app it breaks. can i just ignore this option?

table image

working image

broke

image

CrashLaker commented 3 years ago

Am i missing some config or I can only tag an icon by its name?

Target Name (RegEx)

image

emma-luk commented 3 years ago

Hi all,

I just started using this plugin. I'm trying to setup a vis but it's not rendering. Can anyone help me?

my aggregationType is set to app.

my datatable is shown as this:

image

when switching to service map nothing is shown

image @CrashLaker I just started using the novatec service dependency graph panel.

Could you please help me with the following questions? How can I import the dummy data to the service dependency graph? How to use data sources to the service dependency graph in Grafana?

CrashLaker commented 3 years ago

Hi @emma-luk You mean to show "Dummy Data"? Check if your Dummy Data switch is on. image

The only problem is that I think this version lost icon mapping by an specific column. Now only names are supported Target Name (RegEx)

image

emma-luk commented 3 years ago

Hi @emma-luk You mean to show "Dummy Data"? Check if your Dummy Data switch is on. image

The only problem is that I think this version lost icon mapping by an specific column. Now only names are supported Target Name (RegEx)

image

Hi @CrashLaker I don't have data. Do I need to upload Dummy Data first then show "Dummy Data"?

image

thanks

Emma

CrashLaker commented 3 years ago

Hi @emma-luk

You don't need to upload any data to use Dummy Data the data is already there hardcoded

Your problem is that you need to setup an 'aggregationType' variable.

You have 2 options:

  1. create the variable
  2. use a newer version

the plugin version above 4.0.0 doesn't require that anymore image

https://github.com/NovatecConsulting/novatec-service-dependency-graph-panel/releases

emma-luk commented 3 years ago

Hi @emma-luk

You don't need to upload any data to use Dummy Data the data is already there hardcoded

Your problem is that you need to setup an 'aggregationType' variable.

You have 2 options:

  1. create the variable
  2. use a newer version

the plugin version above 4.0.0 doesn't require that anymore image

https://github.com/NovatecConsulting/novatec-service-dependency-graph-panel/releases

@CrashLaker Thank you

emma-luk commented 3 years ago

@CrashLaker

I used InfluxDB, error: Invalid query types - only use queries which return table data. How do you insert data? I will use my own data source?

image

CrashLaker commented 3 years ago

@emma-luk

I see you're using aggregationType = service when you switch to Table visualization make sure it shows at least 2 columns: origin_service and service or whatever you've inserted in Source Component Column Prefix = origin_ like the first image of this issue

emma-luk commented 3 years ago

@CrashLaker

Thank you for your help.

Could you please take a look at this bug at https://github.com/NovatecConsulting/novatec-service-dependency-graph-panel/issues/87 Why does my screen freeze zoom in (Chrome version 83.0.4103.61 (Official Build) (64-bit)

MariusBrill commented 3 years ago

Hi @CrashLaker, Sorry for the late repy!

Am i missing some config or I can only tag an icon by its name?

Target Name (RegEx)

image

In case you have not found a solution yet: The Target Name is interpreted as a RegEx. This RegEx-Pattern then matches for all internal node-names. The External Icon Mapping however matches by the given type.

So as for now you can only match by name. If you have other ideas how the matching could be enhanced, you are very welcome to create a feature request!

Greetings Marius