This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2404: Instrument tests with custom macro & export over OTLP r=klochowicz a=Restioson This PR uses a custom `#[otel_test]` macro to instrument `daemon-tests` and export the spans over OTLP to Jaeger, when the `ITCHYSATS_TEST_INSTRUMENTATION` environment variable is set to `1`. This currently uses the simple exporter. I tried the batch exporter, but this strangely caused some tests to hang. ## TODOs - [x] Disable instrumentation option for CI - [x] Get gRPC to build on ARM CI, or swap it for tonic (which doesn't currently work) - [x] How can we configure the service name and log levels for crates other than daemon-tests? Co-authored-by: Mariusz Klochowicz <mariusz@klochowicz.com> Co-authored-by: Restioson <restiosondev@gmail.com>
- Loading branch information
Showing
11 changed files
with
368 additions
and
79 deletions.
There are no files selected for viewing
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.