Skip to content

Commit 93b9c77

Browse files
authored
[azure] Adjust Azure Plugin (#578)
Adjust the Azure Plugin to use the new plugin architecture and design. The Azure plugin page now contains only a metrics explorer for Cost Management, Kubernetes Services and Virtual Machine Scale Sets. The Azure panel can now be used to get the values from the "Cost Management" and "Metrics".
1 parent 36a2d19 commit 93b9c77

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+4301
-6
lines changed

.github/workflows/continuous-integration.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
matrix:
5555
plugin:
5656
- app
57+
- azure
5758
- core
5859
- flux
5960
- github

app/package-lock.json

+182-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/packages/app/src/main.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import Azure from '@kobsio/azure';
12
import { App } from '@kobsio/core';
23
import Flux from '@kobsio/flux';
34
import Github from '@kobsio/github';
@@ -31,6 +32,7 @@ ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
3132
<StrictMode>
3233
<App
3334
plugins={[
35+
Azure,
3436
Flux,
3537
Github,
3638
Grafana,

app/packages/azure/package.json

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"name": "@kobsio/azure",
3+
"private": true,
4+
"version": "0.0.0",
5+
"type": "module",
6+
"files": [
7+
"dist"
8+
],
9+
"module": "./dist/index.js",
10+
"types": "./dist/index.d.ts",
11+
"exports": {
12+
".": {
13+
"import": "./dist/index.js"
14+
}
15+
},
16+
"scripts": {
17+
"analyze": "source-map-explorer 'dist/**/*.js' --no-border-checks",
18+
"build": "tsc && vite build",
19+
"lint": "eslint 'src/**/*.{js,ts,tsx}'",
20+
"test": "vitest run",
21+
"test:coverage": "vitest run --coverage",
22+
"test:watch": "vitest"
23+
},
24+
"peerDependencies": {
25+
"@emotion/react": "^11.10.5",
26+
"@emotion/styled": "^11.10.5",
27+
"@kobsio/core": "*",
28+
"@mui/icons-material": "^5.11.0",
29+
"@mui/lab": "^5.0.0-alpha.121",
30+
"@mui/material": "^5.11.7",
31+
"@tanstack/react-query": "^4.24.4",
32+
"react": "^18.2.0",
33+
"react-dom": "^18.2.0",
34+
"react-router-dom": "^6.8.0",
35+
"victory": "^36.6.8"
36+
},
37+
"devDependencies": {
38+
"@testing-library/jest-dom": "^5.16.5",
39+
"@testing-library/react": "^13.4.0",
40+
"@testing-library/user-event": "^14.4.3",
41+
"@types/node": "^14.18.36",
42+
"@types/react": "^18.0.27",
43+
"@types/react-dom": "^18.0.10",
44+
"@types/react-router-dom": "^5.3.3",
45+
"@vitejs/plugin-react": "^3.1.0",
46+
"@vitest/coverage-c8": "^0.28.4",
47+
"@vitest/ui": "^0.28.4",
48+
"jsdom": "^21.1.0",
49+
"typescript": "^4.9.3",
50+
"vite": "^4.1.0",
51+
"vite-plugin-dts": "^1.7.2",
52+
"vitest": "^0.28.4"
53+
},
54+
"dependencies": {
55+
"@azure/arm-monitor": "^7.0.0"
56+
}
57+
}
22.3 KB
Loading

0 commit comments

Comments
 (0)