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

[Feature] - Remove requirement for "aggregationType" template variable #61

Closed mariusoe closed 3 years ago

mariusoe commented 3 years ago

Currently, the SDG panel require a template variable "aggregationType" which is used for determining the source and target columns. This requirement can be quite confusing for users when setting up the panel. Especially, if the user's data does not provide multiple aggregation levels, this option doesn't provide added value.

It would be easier and less complex when removing the need for the template variable and change the "prefix" option so that a user does not have to specify the prefix for e.g. the target column, but directly the full name of it. In addition, this option should be able to resolve template variable. Doing this, the same functionallity could be achieved as before.

Current behavior:

The service graph internally creates the column name for connection mapping by doing the following: <prefix> + <tempalte variable>

Proposed behavior

Users could specify directly <column_name> or <prefix> + $customVariable