From 152715fd6b03ee640453bc2f1a74e450001818bf Mon Sep 17 00:00:00 2001 From: Andrei Malashkin Date: Fri, 8 Nov 2024 08:13:48 +0100 Subject: [PATCH] add post telemetry in regular workflow; to be removed --- .github/workflows/pull-request.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 2a64cce870..0046fc102c 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -22,6 +22,24 @@ jobs: always() && !cancelled() secrets: inherit + post-telemetry: + name: Post test results in Open Telemetry format + runs-on: [self-hosted, Linux, X64, aws_autoscaling] + needs: + - test-linux-sanitizers + steps: + - name: Post logs to Sig Noz + run: | + ls -l -a + ls -l -a ./result/ + export OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED=true + opentelemetry-instrument \ + --traces_exporter console,otlp \ + --metrics_exporter console,otlp \ + --logs_exporter console,otlp \ + --service_name nightly-build \ + python3 ./example.py + test-linux-gcc: name: Linux placeholder testing with gcc uses: ./.github/workflows/gcc-linux-nix-check.yml