Graphite: Decouple from core Grafana (#110294)

* Add lint rules

* Backend decoupling

- Add standalone files
- Add graphite query type
- Add logger to Service
- Create logger in the ProvideService method
- Use a pointer for the HTTP client provider
- Update logger usage everywhere
- Update tracer type
- Replace simplejson with json
- Add dummy CallResource and CheckHealth methods
- Update tests

* Update ConfigEditor imports

* Update types imports

* Update datasource

- Switch to using semver package
- Update imports

* Update store imports

* Update helper imports and notification creation

* Update context import

* Update version numbers and logic

* Copy array_move from core

* Test updates

* Add required files and update plugin.json

* Update core references and packages

* Remove commented code

* Update wire

* Lint

* Fix import

* Copy null type

* More lint

* Update snapshot

* Add tests

* Review

* Fix packages
This commit is contained in:
Andreas Christou
2025-09-10 19:48:29 +02:00
committed by GitHub
parent 2c1821e77b
commit d3c0980c84
35 changed files with 973 additions and 290 deletions
+43
View File
@@ -2582,6 +2582,49 @@ __metadata:
languageName: unknown
linkType: soft
"@grafana-plugins/graphite@workspace:public/app/plugins/datasource/graphite":
version: 0.0.0-use.local
resolution: "@grafana-plugins/graphite@workspace:public/app/plugins/datasource/graphite"
dependencies:
"@emotion/css": "npm:11.13.5"
"@grafana/data": "npm:12.2.0-pre"
"@grafana/e2e-selectors": "npm:12.2.0-pre"
"@grafana/plugin-configs": "npm:12.2.0-pre"
"@grafana/plugin-ui": "npm:^0.10.10"
"@grafana/runtime": "npm:12.2.0-pre"
"@grafana/schema": "npm:12.2.0-pre"
"@grafana/ui": "npm:12.2.0-pre"
"@reduxjs/toolkit": "npm:2.8.2"
"@testing-library/dom": "npm:10.4.1"
"@testing-library/jest-dom": "npm:6.6.4"
"@testing-library/react": "npm:16.3.0"
"@testing-library/user-event": "npm:14.6.1"
"@types/jest": "npm:29.5.14"
"@types/lodash": "npm:4.17.20"
"@types/node": "npm:22.17.0"
"@types/react": "npm:18.3.18"
"@types/react-dom": "npm:18.3.5"
"@types/semver": "npm:7.7.0"
"@types/uuid": "npm:10.0.0"
jest: "npm:29.7.0"
lodash: "npm:4.17.21"
moment: "npm:2.30.1"
react: "npm:18.3.1"
react-dom: "npm:18.3.1"
react-use: "npm:17.6.0"
redux: "npm:5.0.1"
rxjs: "npm:7.8.2"
semver: "npm:7.7.2"
ts-node: "npm:10.9.2"
tslib: "npm:2.8.1"
typescript: "npm:5.9.2"
uuid: "npm:11.1.0"
webpack: "npm:5.101.0"
peerDependencies:
"@grafana/runtime": "*"
languageName: unknown
linkType: soft
"@grafana-plugins/jaeger@workspace:public/app/plugins/datasource/jaeger":
version: 0.0.0-use.local
resolution: "@grafana-plugins/jaeger@workspace:public/app/plugins/datasource/jaeger"