Skip to content

Commit 0b70a43

Browse files
author
Marius Brill
committed
Release 4.1.0
1 parent 2143be9 commit 0b70a43

File tree

8 files changed

+23
-27
lines changed

8 files changed

+23
-27
lines changed

coverage/junit.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<testsuites name="jest tests" tests="1" failures="0" time="4.883">
3-
<testsuite name="placeholder test" errors="0" failures="0" skipped="0" timestamp="2021-08-26T09:40:47" time="2.215" tests="1">
4-
<testcase classname="placeholder test should return true" name="placeholder test should return true" time="0.002">
2+
<testsuites name="jest tests" tests="1" failures="0" errors="0" time="2.504">
3+
<testsuite name="placeholder test" errors="0" failures="0" skipped="0" timestamp="2022-06-13T12:17:58" time="0.994" tests="1">
4+
<testcase classname="placeholder test should return true" name="placeholder test should return true" time="0.001">
55
</testcase>
66
</testsuite>
77
</testsuites>

dist/README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ If you want to get a first impression of this panel without having your own data
3131
The dummy data is basically a snapshot of multiple query results in the table format. You'll find its source [here](https://github.com/NovatecConsulting/novatec-service-dependency-graph-panel/blob/master/src/dummy_data_frame.ts), in the panel's GitHub repository.
3232

3333
Depending on the query result, the data provides the following tags:
34-
* **service**: The service (application) the data is realted to.
34+
* **service**: The service (application) the data is related to.
35+
* **namespace**: The namespace of a service. Every literal divided by "." corresponds to one level of a namespace. For instance **demo.infrastructure**.
3536
* **protocol**: The communication type (e.g. HTTP, JMS, ...).
3637
* **origin_service**: In case of an incoming communication, this is the origin service.
3738
* **target_service**: In case of an outgoing communication, this is the target service.
@@ -158,6 +159,17 @@ The curly brackets `{}` will be replaced with the selected node.
158159

159160
___
160161

162+
### Layering
163+
164+
From version 4.1.0, the Service Dependency Graph Panel supports layering service nodes by their respective namespace.
165+
166+
#### Setup
167+
To use this feature, add a tag containing the namespace of your service to your data. Then set the corresponding option `Namespace Column` in the panel's options to the name of this tag. If you have more than one namespace layer you want to be represented by the panel, you can separate multiple namespaces within your namespace tag by a certain character. This character must be set as the `Namespace Delimiter` in the panel's options. The default delimiter is `.`. Hence, if the content of a namespace column would be `my.awesome.namespace`, the graph would be built with `my` as layer 0, `awesome` as layer 1, and `namespace` as layer 2. Your respective service would then be on layer 3.
168+
169+
#### Usage
170+
You can control the layer of your panel by using the (+) and (-) buttons on the panel's top-right. (+) increases the layer currently displayed, (-) decreases the layer.
171+
___
172+
161173
## Create a Release
162174

163175
To create a release bundle, ensure `release-it` is installed:

dist/module.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/module.js.LICENSE.txt

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
Copyright (c) 2017 Jed Watson.
2+
Copyright (c) 2018 Jed Watson.
33
Licensed under the MIT License (MIT), see
44
http://jedwatson.github.io/classnames
55
*/
@@ -10,21 +10,6 @@ Copyright (c) 2013-2014 Ralf S. Engelschall (http://engelschall.com)
1010
Licensed under The MIT License (http://opensource.org/licenses/MIT)
1111
*/
1212

13-
/*! *****************************************************************************
14-
Copyright (c) Microsoft Corporation.
15-
16-
Permission to use, copy, modify, and/or distribute this software for any
17-
purpose with or without fee is hereby granted.
18-
19-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
20-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
21-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
22-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
23-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
24-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
25-
PERFORMANCE OF THIS SOFTWARE.
26-
***************************************************************************** */
27-
2813
/*! Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */
2914

3015
/*! Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */

dist/module.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"name": "Service Dependency Graph",
44
"id": "novatec-sdg-panel",
55
"info": {
6-
"version": "4.0.2",
7-
"updated": "2021-02-03",
6+
"version": "4.0.3",
7+
"updated": "2021-08-26",
88
"description": "Service Dependency Graph panel for Grafana. Shows metric-based, dynamic dependency graph between services, indicates responsetime, load and error rate statistic for individual services and communication edges. Shows communication to external services, such as Web calls, database calls, message queues, LDAP calls, etc. Provides a details dialog for each selected service that shows statistics about incoming and outgoing traffic.",
99
"author": {
1010
"name": "Novatec Consulting GmbH",

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "novatec-service-dependency-graph-panel",
3-
"version": "4.0.3",
3+
"version": "4.1.0",
44
"description": "Service Dependency Graph panel for Grafana",
55
"main": "src/module.js",
66
"scripts": {
@@ -39,7 +39,6 @@
3939
"engines": {
4040
"node": ">=12"
4141
},
42-
4342
"dependencies": {
4443
"@grafana/runtime": "^8.5.4",
4544
"@types/lodash": "^4.14.167",

0 commit comments

Comments
 (0)