Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
3167c3a
chore(integrations): add standalone integration crate stubs
Dogbu-cyber Mar 22, 2026
77f85fa
refactor(instrumentation): rename to instrumentation/, consolidate wo…
Dogbu-cyber Apr 2, 2026
083a30e
chore(instrumentation): fix gitignore, add workspace deps, align pack…
Dogbu-cyber Apr 2, 2026
00b1029
ci(aws): run integrations on al2023
Dogbu-cyber Apr 3, 2026
9cd8f6e
ci(aws): drop pr trigger
Dogbu-cyber Apr 3, 2026
fe2ef0f
ci(aws): allow arm runner in actionlint
Dogbu-cyber Apr 3, 2026
500c286
chore(instrumentation): add aws workspace lockfile
Dogbu-cyber Apr 3, 2026
a8a27bc
ci(instrumentation): add workspace fmt and clippy
Dogbu-cyber Apr 3, 2026
44664b6
ci(instrumentation): fix shellcheck in clippy job
Dogbu-cyber Apr 3, 2026
6e4c543
ci(lint): keep original trigger scope
Dogbu-cyber Apr 3, 2026
7c42df0
ci(instrumentation): use supported clippy toolchains
Dogbu-cyber Apr 3, 2026
bb5f47f
address pr feedback
Dogbu-cyber Apr 13, 2026
0f94e5a
chore(instrumentation): flatten workspace from instrumentation/aws/ t…
Dogbu-cyber Apr 14, 2026
61cdac8
chore(ci): update workflows for flattened instrumentation/ workspace
Dogbu-cyber Apr 14, 2026
eb21f5d
chore(ci): simplify instrumentation lint to single workspace calls
Dogbu-cyber Apr 21, 2026
7a6276e
fix(ci): use multi-line run block so shellcheck disable is recognized
Dogbu-cyber Apr 21, 2026
83a19d2
chore(datadog-aws-lambda): use minimal stub description
Dogbu-cyber Apr 21, 2026
7f48ce9
chore(instrumentation): regenerate Cargo.lock
Dogbu-cyber Apr 21, 2026
68130fa
feat(datadog-opentelemetry): ungate set_trace_writer_synchronous_writ…
Dogbu-cyber Apr 21, 2026
9fc7828
chore(instrumentation): set workspace version to 0.1.0
Dogbu-cyber Apr 21, 2026
e5e7dc7
Revert "feat(datadog-opentelemetry): ungate set_trace_writer_synchron…
Dogbu-cyber Apr 21, 2026
e0edfb7
chore(instrumentation): remove premature datadog-aws stub from workspace
Dogbu-cyber Apr 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/actionlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
self-hosted-runner:
labels:
- ubuntu-24.04-arm
35 changes: 35 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,20 @@ jobs:
- name: Install nightly-2026-04-07 toolchain and rustfmt
run: rustup install nightly-2026-04-07 && rustup default nightly-2026-04-07 && rustup component add rustfmt
- run: cargo fmt --all -- --check
# The instrumentation/ crates live in a separate workspace and are not members
# of the root workspace, so the `cargo fmt --all` step above does not cover them.
instrumentation-rustfmt:
Comment thread
Dogbu-cyber marked this conversation as resolved.
name: "rustfmt #instrumentation"
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Cache
uses: ./.github/actions/cache
- name: Install nightly-2026-04-07 toolchain and rustfmt
run: rustup install nightly-2026-04-07 && rustup default nightly-2026-04-07 && rustup component add rustfmt
- name: Run rustfmt in instrumentation workspace
run: cd instrumentation && cargo fmt --all -- --check
clippy:
name: "clippy #${{ matrix.platform }} ${{ matrix.rust_version }}"
runs-on: ${{ matrix.platform }}
Expand All @@ -52,6 +66,27 @@ jobs:
run: |
# shellcheck disable=SC2046
cargo hack --each-feature clippy -- -D warnings $([ ${{ matrix.rust_version }} = 1.84.1 ] || [ ${{ matrix.rust_version }} = stable ] && echo -Aunknown-lints -Ainvalid_reference_casting -Aclippy::redundant-closure-call)
instrumentation-clippy:
name: "clippy #instrumentation ${{ matrix.rust_version }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
rust_version: ["1.91.1", "stable", "nightly-2026-04-07"]
steps:
- name: Checkout sources
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Cache
uses: ./.github/actions/cache
with:
rust_version: ${{ matrix.rust_version }}
- name: Install ${{ matrix.rust_version }} toolchain and clippy
run: rustup install ${{ matrix.rust_version }} && rustup default ${{ matrix.rust_version }} && rustup component add clippy
- name: Run clippy in instrumentation workspace
shell: bash
run: |
# shellcheck disable=SC2046
cd instrumentation && cargo clippy --workspace --all-targets -- -D warnings $([ ${{ matrix.rust_version }} = 1.91.1 ] || [ ${{ matrix.rust_version }} = stable ] && echo -Aunknown-lints -Ainvalid_reference_casting -Aclippy::redundant-closure-call)
shellcheck:
runs-on: ubuntu-latest
steps:
Expand Down
92 changes: 92 additions & 0 deletions .github/workflows/test-aws-integrations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: Test (AWS integrations)
permissions:
contents: read
on:
push:
paths:
- "instrumentation/**"
- "datadog-opentelemetry/**"
- ".github/workflows/test-aws-integrations.yaml"
workflow_dispatch:

env:
CARGO_TERM_COLOR: always

defaults:
run:
working-directory: instrumentation

jobs:
# Build the AWS workspace natively in Amazon Linux 2023 on both Lambda architectures
build:
name: "build ${{ matrix.target }} (AL2023)"
runs-on: ${{ matrix.runner }}
container: public.ecr.aws/amazonlinux/amazonlinux:2023
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-unknown-linux-gnu
runner: ubuntu-24.04
- target: aarch64-unknown-linux-gnu
runner: ubuntu-24.04-arm
steps:
- name: Install container dependencies
working-directory: /
run: dnf install -y ca-certificates cmake gcc gcc-c++ git gzip make perl tar xz zstd
- name: Checkout sources
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: |
~/.cargo/git/db/
~/.cargo/registry/index/
~/.cargo/registry/cache/
instrumentation/target/
key: v2-${{ runner.os }}-${{ runner.arch }}-aws-al2023-build-${{ matrix.target }}-${{ hashFiles('instrumentation/**/Cargo.toml', 'instrumentation/**/Cargo.lock') }}
restore-keys: v2-${{ runner.os }}-${{ runner.arch }}-aws-al2023-build-${{ matrix.target }}-
- name: Install Rust stable
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal --default-toolchain stable
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
- name: Build --workspace
run: cargo build --workspace --locked

# Run unit and integration tests in Amazon Linux 2023
test:
name: "test ${{ matrix.target }} (AL2023)"
runs-on: ${{ matrix.runner }}
container: public.ecr.aws/amazonlinux/amazonlinux:2023
strategy:
fail-fast: false
matrix:
include:
- target: x86_64-unknown-linux-gnu
runner: ubuntu-24.04
- target: aarch64-unknown-linux-gnu
runner: ubuntu-24.04-arm
steps:
- name: Install container dependencies
working-directory: /
run: dnf install -y ca-certificates cmake gcc gcc-c++ git gzip make perl tar xz zstd
- name: Checkout sources
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: |
~/.cargo/git/db/
~/.cargo/registry/index/
~/.cargo/registry/cache/
instrumentation/target/
key: v2-${{ runner.os }}-${{ runner.arch }}-aws-al2023-test-${{ matrix.target }}-${{ hashFiles('instrumentation/**/Cargo.toml', 'instrumentation/**/Cargo.lock') }}
restore-keys: v2-${{ runner.os }}-${{ runner.arch }}-aws-al2023-test-${{ matrix.target }}-
- name: Install Rust stable
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal --default-toolchain stable
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
- name: Run tests
run: cargo test --workspace --locked
env:
RUST_BACKTRACE: 1
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/target
/.vscode
/datadog-opentelemetry/target
/instrumentation/**/target
Loading
Loading