Skip to content

add post telemetry in regular workflow; to be removed #6

add post telemetry in regular workflow; to be removed

add post telemetry in regular workflow; to be removed #6

Workflow file for this run

name: Nightly Testing

Check failure on line 1 in .github/workflows/nightly.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/nightly.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: post-telemetry
on:
schedule:
- cron: '0 0 * * *'
jobs:
test-linux-sanitizers:
name: Linux placeholder testing and sanitize with clang
uses: ./.github/workflows/clang-sanitizers-linux-nix-check.yml
if: |
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
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