Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APMSP-1317] Fetch agent info endpoint #619

Merged
merged 23 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b168e5f
Add AgentInfoFetcher
VianneyRuhlmann Sep 4, 2024
0c374b1
Use ArcSwapOption
VianneyRuhlmann Sep 9, 2024
f9db241
Add tests
VianneyRuhlmann Sep 9, 2024
7c87c3f
Add docs
VianneyRuhlmann Sep 10, 2024
d605f3e
Add test for fetch_info
VianneyRuhlmann Sep 10, 2024
9f2f729
Move mods to separate files
VianneyRuhlmann Sep 10, 2024
d1e4c37
Fix CI
VianneyRuhlmann Sep 10, 2024
1dc7266
Improve tests speed
VianneyRuhlmann Sep 12, 2024
cce2f45
Add integration tests with test-agent
VianneyRuhlmann Sep 12, 2024
5617d1f
Add span_kinds to schema
VianneyRuhlmann Sep 12, 2024
6a17f55
Update README
VianneyRuhlmann Sep 12, 2024
9b1a402
Removing version for ddcommon
VianneyRuhlmann Sep 17, 2024
3203906
Merge branch 'main' into vianney/ddcommon/fetch-info-endpoint
VianneyRuhlmann Sep 17, 2024
a93231c
Update cargo.lock
VianneyRuhlmann Sep 17, 2024
39c22b5
Move agent-info to data-pipeline
VianneyRuhlmann Sep 18, 2024
c147bee
Merge branch 'main' into vianney/ddcommon/fetch-info-endpoint
VianneyRuhlmann Sep 19, 2024
27bfe8e
Fix CI
VianneyRuhlmann Sep 10, 2024
dc65743
Fix test agent tests in CI
VianneyRuhlmann Sep 20, 2024
559dcd0
Add logs
VianneyRuhlmann Sep 23, 2024
31637fa
Merge branch 'main' into vianney/ddcommon/fetch-info-endpoint
VianneyRuhlmann Sep 23, 2024
9756cd4
Remove agent-info from docker
VianneyRuhlmann Sep 23, 2024
d89b6e4
Revert to tracing_integration_tests
VianneyRuhlmann Sep 25, 2024
1439225
Merge branch 'main' into vianney/ddcommon/fetch-info-endpoint
VianneyRuhlmann Sep 25, 2024
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
16 changes: 8 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,21 @@ jobs:
- name: "[${{ steps.rust-version.outputs.version}}] cargo build --workspace --exclude builder --verbose"
shell: bash
run: cargo build --workspace --exclude builder --verbose
- name: "[${{ steps.rust-version.outputs.version}}] cargo nextest run --workspace --exclude builder --profile ci --verbose -E '!test(tracing_integration_tests::)'"
- name: "[${{ steps.rust-version.outputs.version}}] cargo nextest run --workspace --exclude builder --profile ci --verbose -E '!test(::require_test_agent::)'"
shell: bash
# Run doc tests with cargo test and run tests with nextest and generate junit.xml
run: cargo test --workspace --exclude builder --doc --verbose && cargo nextest run --workspace --exclude builder --profile ci --verbose -E '!test(tracing_integration_tests::)'
run: cargo test --workspace --exclude builder --doc --verbose && cargo nextest run --workspace --exclude builder --profile ci --verbose -E '!test(::require_test_agent::)'
env:
RUST_BACKTRACE: 1
- name: "[${{ steps.rust-version.outputs.version}}] Tracing integration tests: cargo nextest run --workspace --exclude builder --profile ci --verbose -E 'test(tracing_integration_tests::)'"
- name: "[${{ steps.rust-version.outputs.version}}] Test agent tests: cargo nextest run --workspace --exclude builder --profile ci --verbose -E 'test(::require_test_agent::)'"
if: runner.os == 'Linux'
shell: bash
run: cargo nextest run --workspace --exclude builder --profile ci --verbose -E 'test(tracing_integration_tests::)'
run: cargo nextest run --workspace --exclude builder --profile ci --verbose -E 'test(::require_test_agent::)'
env:
RUST_BACKTRACE: 1
- name: "[${{ steps.rust-version.outputs.version}}] RUSTFLAGS=\"-C prefer-dynamic\" cargo nextest run --package test_spawn_from_lib --features prefer-dynamic -E '!test(tracing_integration_tests::)'"
- name: "[${{ steps.rust-version.outputs.version}}] RUSTFLAGS=\"-C prefer-dynamic\" cargo nextest run --package test_spawn_from_lib --features prefer-dynamic -E '!test(::require_test_agent::)'"
shell: bash
run: cargo nextest run --package test_spawn_from_lib --features prefer-dynamic -E '!test(tracing_integration_tests::)'
run: cargo nextest run --package test_spawn_from_lib --features prefer-dynamic -E '!test(::require_test_agent::)'
env:
RUSTFLAGS: "-C prefer-dynamic"
RUST_BACKTRACE: 1
Expand Down Expand Up @@ -220,8 +220,8 @@ jobs:
rust_version: cross-centos7
- run: cargo install cross || true
- run: cross build --workspace --target x86_64-unknown-linux-gnu --exclude builder
- run: cross test --workspace --target x86_64-unknown-linux-gnu --exclude builder -- --skip "::single_threaded_tests::" --skip "tracing_integration_tests::"
- run: cross test --workspace --target x86_64-unknown-linux-gnu --exclude builder --exclude bin_tests -- --skip "::tests::" --skip "::api_tests::" --test-threads 1 --skip "tracing_integration_tests::"
- run: cross test --workspace --target x86_64-unknown-linux-gnu --exclude builder -- --skip "::single_threaded_tests::" --skip "::require_test_agent::"
- run: cross test --workspace --target x86_64-unknown-linux-gnu --exclude builder --exclude bin_tests -- --skip "::tests::" --skip "::api_tests::" --test-threads 1 --skip "::require_test_agent::"

ffi_bake:
strategy:
Expand Down
27 changes: 19 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading