From 913a4593e31735f034500177149aa1d55cd5279d Mon Sep 17 00:00:00 2001 From: Nikolai Thingnes Leira <140617589+NikolaiTL@users.noreply.github.com> Date: Fri, 8 Nov 2024 17:03:09 +0100 Subject: [PATCH] chore: add newlines before and after codeblock Signed-off-by: Nikolai Thingnes Leira <140617589+NikolaiTL@users.noreply.github.com> --- docs/tutorials/setup-opentelemetry.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/tutorials/setup-opentelemetry.md b/docs/tutorials/setup-opentelemetry.md index ea3351245a..ae46f87aa3 100644 --- a/docs/tutorials/setup-opentelemetry.md +++ b/docs/tutorials/setup-opentelemetry.md @@ -67,9 +67,11 @@ You can now start your Backstage instance as usual, using `yarn dev`. ## Production Setup In your '.dockerignore', add this line: + ``` !packages/backend/src/instrumentation.js ``` + This ensures that Docker build will not ignore the instrumentation file if you are following the recommended `.dockerignore` setup. In your `Dockerfile`, copy `instrumentation.js` file into the root of the working directory.