From dd814a9f57c5f06b1188297ecc64368968b68d3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Pl=C3=BCddemann?= Date: Wed, 17 Apr 2024 11:07:10 +0200 Subject: [PATCH] adds tasks --- .vscode/tasks.json | 95 ++++++++++++++++++++++++++++++++++++++++ labs/.vscode/launch.json | 50 --------------------- labs/.vscode/tasks.json | 73 ------------------------------ 3 files changed, 95 insertions(+), 123 deletions(-) create mode 100644 .vscode/tasks.json delete mode 100644 labs/.vscode/launch.json delete mode 100644 labs/.vscode/tasks.json diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..b503aab --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,95 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Run otel-in-action docker", + "type": "shell", + "command": "docker compose -f labs/otel-in-action/docker-compose.yaml up", + "problemMatcher": [] + }, + { + "label": "Run automatic auto instrumentation initial", + "type": "shell", + "command": "python3 labs/automatic-instrumentation/auto-instrumentation/initial/src/app.py", + "problemMatcher": [] + }, + { + "label": "Run automatic auto instrumentation solution", + "type": "shell", + "command": "python3 labs/automatic-instrumentation/auto-instrumentation/solution/src/app.py", + "problemMatcher": [] + }, + { + "label": "Run automatic library instrumentation initial", + "type": "shell", + "command": "python3 labs/automatic-instrumentation/library-instrumentation/initial/src/app.py", + "problemMatcher": [] + }, + { + "label": "Run automatic library instrumentation solution", + "type": "shell", + "command": "python3 labs/automatic-instrumentation/library-instrumentation/solution/src/app.py", + "problemMatcher": [] + }, + { + "label": "Run manual-instrumentation-logs initial application", + "type": "shell", + "command": "python3 labs/manual-instrumentation-logs/initial/src/app.py", + "problemMatcher": [] + }, + { + "label": "Run manual-instrumentation-logs solution application", + "type": "shell", + "command": "python3 labs/manual-instrumentation-logs/solution/src/app.py", + "problemMatcher": [] + }, + { + "label": "Run manual-instrumentation-metrics initial application", + "type": "shell", + "command": "python3 labs/manual-instrumentation-metrics/initial/src/app.py", + "problemMatcher": [] + }, + { + "label": "Run manual-instrumentation-metrics solution application", + "type": "shell", + "command": "python3 labs/manual-instrumentation-metrics/solution/src/app.py", + "problemMatcher": [] + }, + { + "label": "Run manual-instrumentation-traces initial application", + "type": "shell", + "command": "python3 labs/manual-instrumentation-traces/initial/src/app.py", + "problemMatcher": [] + }, + { + "label": "Run manual-instrumentation-traces solution application", + "type": "shell", + "command": "python3 labs/manual-instrumentation-traces/solution/src/app.py", + "problemMatcher": [] + }, + { + "label": "Run collector initial application", + "type": "shell", + "command": "python3 labs/collector/initial/src/app.py", + "problemMatcher": [] + }, + { + "label": "Run collector solution application", + "type": "shell", + "command": "python3 labs/collector/solution/src/app.py", + "problemMatcher": [] + }, + { + "label": "Run collector initial", + "type": "shell", + "command": "docker compose -f labs/collector/initial/docker-compose.yml up", + "problemMatcher": [] + }, + { + "label": "Run collector solution", + "type": "shell", + "command": "docker compose -f labs/collector/solution/docker-compose.yml up", + "problemMatcher": [] + } + ] +} \ No newline at end of file diff --git a/labs/.vscode/launch.json b/labs/.vscode/launch.json deleted file mode 100644 index 3296c17..0000000 --- a/labs/.vscode/launch.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Manual-Instrumentation-Traces initial application", - "type": "debugpy", - "request": "launch", - "program": "${workspaceFolder}/manual-instrumentation-traces/initial/src/app.py", - "console": "integratedTerminal" - }, - { - "name": "Manual-Instrumentation-Traces solution application", - "type": "debugpy", - "request": "launch", - "program": "${workspaceFolder}/manual-instrumentation-metrics/solution/src/app.py", - "console": "integratedTerminal" - }, - { - "name": "Manual-Instrumentation-Metrics initial application", - "type": "debugpy", - "request": "launch", - "program": "${workspaceFolder}/manual-instrumentation-metrics/initial/src/app.py", - "console": "integratedTerminal" - }, - { - "name": "Manual-Instrumentation-Metrics solution application", - "type": "debugpy", - "request": "launch", - "program": "${workspaceFolder}/manual-instrumentation-metrics/solution/src/app.py", - "console": "integratedTerminal" - }, - { - "name": "Manual-Instrumentation-Logs initial application", - "type": "debugpy", - "request": "launch", - "program": "${workspaceFolder}/manual-instrumentation-logs/initial/src/app.py", - "console": "integratedTerminal" - }, - { - "name": "Manual-Instrumentation-Logs solution application", - "type": "debugpy", - "request": "launch", - "program": "${workspaceFolder}/manual-instrumentation-logs/solution/src/app.py", - "console": "integratedTerminal" - }, - ] -} \ No newline at end of file diff --git a/labs/.vscode/tasks.json b/labs/.vscode/tasks.json deleted file mode 100644 index 7034172..0000000 --- a/labs/.vscode/tasks.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "2.0.0", - "tasks": [ - { - "label": "Run manual-instrumentation-logs initial application", - "type": "shell", - "command": "python3 manual-instrumentation-logs/initial/src/app.py", - "problemMatcher": [] - }, - { - "label": "Run manual-instrumentation-logs solution application", - "type": "shell", - "command": "python3 manual-instrumentation-logs/solution/src/app.py", - "problemMatcher": [] - }, - { - "label": "Run manual-instrumentation-metrics initial application", - "type": "shell", - "command": "python3 manual-instrumentation-metrics/initial/src/app.py", - "problemMatcher": [] - }, - { - "label": "Run manual-instrumentation-metrics solution application", - "type": "shell", - "command": "python3 manual-instrumentation-metrics/solution/src/app.py", - "problemMatcher": [] - }, - { - "label": "Run manual-instrumentation-traces initial application", - "type": "shell", - "command": "python3 manual-instrumentation-traces/initial/src/app.py", - "problemMatcher": [] - }, - { - "label": "Run manual-instrumentation-traces solution application", - "type": "shell", - "command": "python3 manual-instrumentation-traces/solution/src/app.py", - "problemMatcher": [] - }, - { - "label": "Run collector initial application", - "type": "shell", - "command": "python3 collector/initial/src/app.py", - "problemMatcher": [] - }, - { - "label": "Run collector solution application", - "type": "shell", - "command": "python3 collector/solution/src/app.py", - "problemMatcher": [] - }, - { - "label": "Run collector initial", - "type": "shell", - "command": "docker compose -f collector/initial/docker-compose.yml up", - "problemMatcher": [] - }, - { - "label": "Run collector solution", - "type": "shell", - "command": "docker compose -f collector/solution/docker-compose.yml up", - "problemMatcher": [] - }, - { - "label": "Run otel-in-action docker", - "type": "shell", - "command": "docker compose -f otel-in-action/docker-compose.yaml up", - "problemMatcher": [] - } - ] -} \ No newline at end of file