@backstage-community/plugin-grafana 0.10.0 → 0.10.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @backstage-community/plugin-grafana
2
2
 
3
+ ## 0.10.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 45ce0ac: Added documentation for the New Frontend System
8
+
3
9
  ## 0.10.0
4
10
 
5
11
  ### Minor Changes
package/README.md CHANGED
@@ -21,6 +21,33 @@ Entity dashboards card:
21
21
 
22
22
  ![Dashboards card](./docs/dashboards_card.png)
23
23
 
24
+ ## New Frontend System
25
+
26
+ ### Setup
27
+
28
+ If you're using [feature discovery](https://backstage.io/docs/frontend-system/architecture/app/#feature-discovery), the plugin should be automatically discovered and enabled. Otherwise, you can manually enable the plugin by adding it to your app:
29
+
30
+ ```tsx
31
+ // packages/app/src/App.tsx
32
+ import grafanaPlugin from '@backstage-community/plugin-grafana/alpha';
33
+
34
+ const app = createApp({
35
+ features: [
36
+ // ...
37
+ grafanaPlugin,
38
+ ],
39
+ });
40
+ ```
41
+
42
+ ### Extensions
43
+
44
+ The following extensions are available in the plugin:
45
+
46
+ - `api:grafana`
47
+ - `entity-card:grafana/dashboards`
48
+ - `entity-card:grafana/alerts`
49
+ - `entity-card:grafana/overview-dashboard`
50
+
24
51
  ## Special thanks & Disclaimer
25
52
 
26
53
  Thanks to K-Phoen for creating the grafana plugin found [here](https://github.com/K-Phoen/backstage-plugin-grafana). As an outcome
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-grafana",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "A Backstage backend plugin that integrates towards Grafana",
5
5
  "main": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",