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
@@ -209,7 +209,7 @@
"path": "public/plugins/grafana-azure-monitor-datasource/img/azure_monitor_cpu.png"
}
],
"version": "12.1.0-pre",
"version": "12.2.0-pre",
"updated": "",
"keywords": [
"azure",
@@ -880,7 +880,7 @@
},
"build": {},
"screenshots": null,
"version": "12.1.0-pre",
"version": "12.2.0-pre",
"updated": "",
"keywords": null
},
@@ -934,7 +934,7 @@
},
"build": {},
"screenshots": null,
"version": "12.1.0-pre",
"version": "12.2.0-pre",
"updated": "",
"keywords": [
"grafana",
@@ -1000,12 +1000,12 @@
},
"build": {},
"screenshots": null,
"version": "",
"version": "12.2.0-pre",
"updated": "",
"keywords": null
},
"dependencies": {
"grafanaDependency": "",
"grafanaDependency": "\u003e=10.3.0",
"grafanaVersion": "*",
"plugins": [],
"extensions": {
@@ -1217,7 +1217,7 @@
},
"build": {},
"screenshots": null,
"version": "12.1.0-pre",
"version": "12.2.0-pre",
"updated": "",
"keywords": null
},
@@ -1325,7 +1325,7 @@
},
"build": {},
"screenshots": null,
"version": "12.1.0-pre",
"version": "12.2.0-pre",
"updated": "",
"keywords": null
},
@@ -1375,7 +1375,7 @@
},
"build": {},
"screenshots": null,
"version": "12.1.0-pre",
"version": "12.2.0-pre",
"updated": "",
"keywords": null
},
@@ -1425,7 +1425,7 @@
},
"build": {},
"screenshots": null,
"version": "12.1.0-pre",
"version": "12.2.0-pre",
"updated": "",
"keywords": null
},
@@ -1629,7 +1629,7 @@
},
"build": {},
"screenshots": null,
"version": "12.1.0-pre",
"version": "12.2.0-pre",
"updated": "",
"keywords": [
"grafana",
@@ -1734,7 +1734,7 @@
},
"build": {},
"screenshots": null,
"version": "12.1.0-pre",
"version": "12.2.0-pre",
"updated": "",
"keywords": null
},
@@ -2042,7 +2042,7 @@
},
"build": {},
"screenshots": null,
"version": "12.1.0-pre",
"version": "12.2.0-pre",
"updated": "",
"keywords": null
},
@@ -2092,7 +2092,7 @@
},
"build": {},
"screenshots": null,
"version": "12.1.0-pre",
"version": "12.2.0-pre",
"updated": "",
"keywords": null
},
@@ -2445,7 +2445,7 @@
},
"build": {},
"screenshots": null,
"version": "12.1.0-pre",
"version": "12.2.0-pre",
"updated": "",
"keywords": null
},
@@ -2467,4 +2467,4 @@
"signatureOrg": "",
"angularDetected": false
}
]
]