Skip to content

ci: Add test monitors and export data to betterstack#429

Draft
jedevc wants to merge 1 commit into
prod-stagingfrom
jedevc/monitor-tests
Draft

ci: Add test monitors and export data to betterstack#429
jedevc wants to merge 1 commit into
prod-stagingfrom
jedevc/monitor-tests

Conversation

@jedevc

@jedevc jedevc commented Jul 25, 2026

Copy link
Copy Markdown
Member

Runs the tests at regular intervals, allowing some flakes, and then pushes the data into betterstack.

[skip ci]

Runs the tests at regular intervals, allowing some flakes, and then
pushes the data into betterstack.

Signed-off-by: Justin Chadwell <justin@unikraft.com>
env:
UNIKRAFT_ORG: ${{ vars.UNIKRAFT_ORG }}
UNIKRAFT_TOKEN: ${{ secrets.UNIKRAFT_TOKEN }}
UNIKRAFT_ENDPOINT: ${{ secrets[format('UNIKRAFT_ENDPOINT_{0}', matrix.target)] }}
Comment on lines +91 to +96
- name: Export workflow trace
uses: dash0hq/otel-cicd-action@v4
with:
otlpEndpoint: https://${{ secrets.BETTERSTACK_INGESTING_HOST }}/v1/traces
otlpHeaders: Authorization=Bearer ${{ secrets.BETTERSTACK_SOURCE_TOKEN }}
githubToken: ${{ secrets.GITHUB_TOKEN }}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only exports workflow-level traces. Ideally, we would also be exporting test level traces to monitor which tests exactly are causing failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants