diff --git a/.gitignore b/.gitignore index e77522f..ca299d6 100644 --- a/.gitignore +++ b/.gitignore @@ -79,7 +79,6 @@ tmp/ temp/ # Editor directories and files -.vscode/ .idea/ *.swp *.swo diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..2d845b6 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,24 @@ +{ + "yaml.schemas": { + "https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json": [ + "docker-compose*.yml", + "docker-compose*.yaml" + ], + "https://json.schemastore.org/grafana-dashboard-5.x.json": [ + "monitoring/grafana/provisioning/datasources/*.yml" + ], + "https://json.schemastore.org/kustomization.json": [ + "k8s/**/kustomization.yml" + ] + }, + "yaml.customTags": [ + "!datasources", + "!dashboard", + "!notification", + "!template" + ], + "yaml.validate": true, + "yaml.completion": true, + "yaml.hover": true, + "yaml.format.enable": true +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..b76deee --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,99 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Start Market Data Gateway", + "type": "shell", + "command": "bun", + "args": ["run", "dev"], + "options": { + "cwd": "${workspaceFolder}/apps/core-services/market-data-gateway" + }, + "group": "build", + "presentation": { + "echo": true, + "reveal": "always", + "focus": false, + "panel": "new", + "showReuseMessage": true, + "clear": false + }, + "isBackground": true, + "problemMatcher": [] + }, + { + "label": "Start Trading Dashboard", + "type": "shell", + "command": "bun", + "args": ["run", "dev"], + "options": { + "cwd": "${workspaceFolder}/apps/interface-services/trading-dashboard" + }, + "group": "build", + "presentation": { + "echo": true, + "reveal": "always", + "focus": false, + "panel": "new", + "showReuseMessage": true, + "clear": false + }, + "isBackground": true, + "problemMatcher": [] + }, + { + "label": "Start Strategy Orchestrator", + "type": "shell", + "command": "bun", + "args": ["run", "dev"], + "options": { + "cwd": "${workspaceFolder}/apps/intelligence-services/strategy-orchestrator" + }, + "group": "build", + "presentation": { + "echo": true, + "reveal": "always", + "focus": false, + "panel": "new", + "showReuseMessage": true, + "clear": false + }, + "isBackground": true, + "problemMatcher": [] + }, + { + "label": "Start Risk Guardian", + "type": "shell", + "command": "bun", + "args": ["run", "dev"], + "options": { + "cwd": "${workspaceFolder}/apps/core-services/risk-guardian" + }, + "group": "build", + "presentation": { + "echo": true, + "reveal": "always", + "focus": false, + "panel": "new", + "showReuseMessage": true, + "clear": false + }, + "isBackground": true, + "problemMatcher": [] + }, + { + "label": "Start All Services", + "dependsOn": [ + "Start Market Data Gateway", + "Start Trading Dashboard", + "Start Strategy Orchestrator", + "Start Risk Guardian" + ], + "dependsOrder": "parallel", + "group": { + "kind": "build", + "isDefault": true + } + } + ] +} diff --git a/monitoring/grafana/provisioning/datasources/prometheus.yml b/monitoring/grafana/provisioning/datasources/prometheus.yml index 1a57b69..8697d5d 100644 --- a/monitoring/grafana/provisioning/datasources/prometheus.yml +++ b/monitoring/grafana/provisioning/datasources/prometheus.yml @@ -1,9 +1,7 @@ -apiVersion: 1 - datasources: - name: Prometheus type: prometheus access: proxy url: http://prometheus:9090 isDefault: true - editable: true + editable: true \ No newline at end of file