enhancement(prometheus_scrape source): Add scraping of Prometheus metrics over Unix sockets #1114
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Integration - Windows | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| changes: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| outputs: | |
| windows: ${{ steps.filter.outputs.windows }} | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | |
| id: filter | |
| with: | |
| filters: | | |
| windows: | |
| - "src/sources/windows_event_log/**" | |
| - "src/internal_events/windows_event_log.rs" | |
| - "src/internal_events/windows.rs" | |
| - "src/vector_windows.rs" | |
| - "src/service.rs" | |
| - "tests/integration/windows-event-log/**" | |
| - ".github/workflows/integration_windows.yml" | |
| run-test-integration-windows: | |
| needs: changes | |
| if: needs.changes.outputs.windows == 'true' | |
| runs-on: windows-2025-8core | |
| timeout-minutes: 60 | |
| steps: | |
| - name: Checkout branch | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: "3.10" | |
| - run: .\scripts\environment\bootstrap-windows-2025.ps1 | |
| - name: Run Windows Event Log integration tests | |
| run: make test-integration-windows-event-log | |
| test-integration-windows: | |
| if: always() | |
| runs-on: ubuntu-latest | |
| needs: run-test-integration-windows | |
| steps: | |
| - run: | | |
| if [[ "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}" == "true" ]]; then | |
| echo "One or more jobs failed or were cancelled" | |
| exit 1 | |
| fi |