@jfvilas/plugin-kwirth-metrics 0.12.5 → 0.12.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@ This very first version of KwirthMetrics is compatible with Kwirth core server v
|
|
|
7
7
|
|
|
8
8
|
| Plugin Kwirth version | Kwirth version |
|
|
9
9
|
|-|-|
|
|
10
|
-
|0.
|
|
10
|
+
|0.12.5|0.4.20|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -63,7 +63,7 @@ If everyting is correctly configured and tagged, the user should see a list of c
|
|
|
63
63
|
|
|
64
64
|
```bash
|
|
65
65
|
# From your Backstage root directory
|
|
66
|
-
yarn --cwd packages/app add @jfvilas/plugin-kwirth-metrics @jfvilas/plugin-kwirth-common
|
|
66
|
+
yarn --cwd packages/app add @jfvilas/plugin-kwirth-metrics @jfvilas/plugin-kwirth-common @jfvilas/kwirth-common
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
3. Make sure the [Kwirth backend plugin](https://www.npmjs.com/package/@jfvilas/plugin-kwirth-backend#configure) is installed and configured.
|
|
@@ -77,7 +77,7 @@ If everyting is correctly configured and tagged, the user should see a list of c
|
|
|
77
77
|
Firstly, import the plugin module.
|
|
78
78
|
```typescript
|
|
79
79
|
// In packages/app/src/components/catalog/EntityPage.tsx
|
|
80
|
-
import { EntityKwirthMetricsContent, isKwirthAvailable } from '@jfvilas/plugin-kwirth-
|
|
80
|
+
import { EntityKwirthMetricsContent, isKwirthAvailable } from '@jfvilas/plugin-kwirth-metrics';
|
|
81
81
|
```
|
|
82
82
|
|
|
83
83
|
Then, add a tab to your EntityPage (the 'if' is optional, you can keep the 'KwirthMetrics' tab always visible if you prefer to do it that way).
|
|
@@ -87,7 +87,7 @@ If everyting is correctly configured and tagged, the user should see a list of c
|
|
|
87
87
|
<EntityLayout>
|
|
88
88
|
{/* other tabs... */}
|
|
89
89
|
<EntityLayout.Route if={isKwirthAvailable} path="/kwirthmetrics" title="KwirthMetrics">
|
|
90
|
-
<EntityKwirthMetricsContent />
|
|
90
|
+
<EntityKwirthMetricsContent allMetrics={true} enableRestart={false} />
|
|
91
91
|
</EntityLayout.Route>
|
|
92
92
|
</EntityLayout>
|
|
93
93
|
)
|