├── .dockerignore ├── .github └── workflows │ └── ci.yaml ├── .gitignore ├── .swiftformat ├── CODE_OF_CONDUCT.md ├── IntegrationTests ├── allocation-counter-tests-framework │ ├── run-allocation-counter.sh │ └── template │ │ ├── AtomicCounter │ │ ├── Package.swift │ │ └── Sources │ │ │ └── AtomicCounter │ │ │ ├── include │ │ │ └── atomic-counter.h │ │ │ └── src │ │ │ └── atomic-counter.c │ │ ├── HookedFunctionsDoHook │ │ ├── Package.swift │ │ └── Sources │ │ │ └── HookedFunctions │ │ │ ├── include │ │ │ └── hooked-functions.h │ │ │ └── src │ │ │ └── hooked-functions.c │ │ ├── HookedFunctionsDoNotHook │ │ ├── Package.swift │ │ └── Sources │ │ │ └── HookedFunctions │ │ │ ├── include │ │ │ └── hooked-functions.h │ │ │ └── src │ │ │ └── hooked-functions.c │ │ ├── Sources │ │ ├── bootstrapDoHook │ │ │ └── main.c │ │ └── bootstrapDoNotHook │ │ │ └── main.c │ │ └── scaffolding.swift ├── plugin_echo.sh ├── plugin_junit_xml.sh ├── run-single-test.sh ├── run-tests.sh ├── test_functions.sh └── tests_01_performance │ ├── defines.sh │ ├── test_01_allocation_counts.sh │ └── test_01_resources │ ├── README.md │ ├── run-nio-alloc-counter-tests.sh │ ├── shared.swift │ ├── test_001_pass_around_static_strings_small.swift │ └── test_002_pass_around_static_strings_large.swift ├── LICENSE.txt ├── Package.swift ├── README.md ├── Sources ├── Instrumentation │ ├── Instrument.swift │ ├── InstrumentationSystem.swift │ ├── Locks.swift │ ├── MultiplexInstrument.swift │ └── NoOpInstrument.swift ├── NIOInstrumentation │ ├── HTTPHeadersCarrier.swift │ ├── HeaderExtractingHTTPServerHandler.swift │ └── HeaderInjectingHTTPClientHandler.swift ├── OpenTelemetryInstrumentationSupport │ ├── SpanAttribute+EndUser.swift │ ├── SpanAttribute+GRPCSemantics.swift │ ├── SpanAttribute+HTTPSemantics.swift │ ├── SpanAttribute+NetSemantics.swift │ ├── SpanAttribute+PeerSemantics.swift │ ├── SpanAttribute+RPCSemantics.swift │ └── SpanAttributeName.swift ├── Tracing │ ├── InstrumentationSystem+Tracing.swift │ ├── NoOpTracer.swift │ ├── Span.swift │ ├── Timestamp.swift │ └── Tracer.swift ├── TracingBenchmarkTools │ ├── ArgParser.swift │ ├── BenchmarkCategory.swift │ ├── BenchmarkTools.swift │ ├── DriverUtils.swift │ └── README_SWIFT.md └── TracingBenchmarks │ ├── ExampleBenchmark.swift │ └── main.swift ├── Tests ├── InstrumentationTests │ ├── InstrumentTests+XCTest.swift │ ├── InstrumentTests.swift │ ├── InstrumentationSystemTests+XCTest.swift │ └── InstrumentationSystemTests.swift ├── LinuxMain.swift ├── NIOInstrumentationTests │ ├── FakeTracer.swift │ ├── HTTPHeadersCarrierTests+XCTest.swift │ ├── HTTPHeadersCarrierTests.swift │ ├── HTTPHeadersExtractInjectTests+XCTest.swift │ ├── HTTPHeadersExtractInjectTests.swift │ ├── HeaderExtractingHTTPServerHandlerTests+XCTest.swift │ ├── HeaderExtractingHTTPServerHandlerTests.swift │ ├── HeaderInjectingHTTPClientHandlerTests+XCTest.swift │ └── HeaderInjectingHTTPClientHandlerTests.swift ├── OpenTelemetryInstrumentationSupportTests │ ├── SpanAttributeSemanticsTests+XCTest.swift │ └── SpanAttributeSemanticsTests.swift └── TracingTests │ ├── SpanTests+XCTest.swift │ ├── SpanTests.swift │ ├── TestTracer.swift │ ├── TimestampTests+XCTest.swift │ ├── TimestampTests.swift │ ├── TracedLock.swift │ ├── TracedLockTests+XCTest.swift │ ├── TracedLockTests.swift │ ├── TracerTests+XCTest.swift │ ├── TracerTests.swift │ ├── TracingInstrumentationSystemTests+XCTest.swift │ └── TracingInstrumentationSystemTests.swift ├── UseCases ├── .gitignore ├── Package.swift └── Sources │ ├── HTTPEndToEnd │ ├── InstrumentedHTTPClient.swift │ ├── README.md │ ├── Services │ │ ├── OrderServiceHandler.swift │ │ └── StorageServiceHandler.swift │ └── main.swift │ ├── InstrumentsAppTracing │ ├── OSSignpostTracing.swift │ └── main.swift │ ├── InstrumentsAppTracingInstrpkg │ ├── SpansExampleInstrument │ │ ├── SpansExampleInstrument.xcodeproj │ │ │ └── project.pbxproj │ │ └── SpansExampleInstrument │ │ │ ├── SpansExampleInstrument.instrpkg │ │ │ └── SpansExampleInstrumentTemplate.tracetemplate │ └── custom instrument screenshot.png │ ├── ManualAsyncHTTPClient │ └── main.swift │ └── ManualContextPropagation │ └── main.swift ├── dev ├── Dockerfile-5.0.3 ├── Dockerfile-5.1 └── Dockerfile-5.2 ├── images └── zipkin_trace.png └── scripts ├── generate_linux_tests.rb ├── sanity.sh ├── validate_format.sh ├── validate_license_headers.sh └── validate_naming.sh /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/.gitignore -------------------------------------------------------------------------------- /.swiftformat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/.swiftformat -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /IntegrationTests/allocation-counter-tests-framework/run-allocation-counter.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/allocation-counter-tests-framework/run-allocation-counter.sh -------------------------------------------------------------------------------- /IntegrationTests/allocation-counter-tests-framework/template/AtomicCounter/Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/allocation-counter-tests-framework/template/AtomicCounter/Package.swift -------------------------------------------------------------------------------- /IntegrationTests/allocation-counter-tests-framework/template/AtomicCounter/Sources/AtomicCounter/include/atomic-counter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/allocation-counter-tests-framework/template/AtomicCounter/Sources/AtomicCounter/include/atomic-counter.h -------------------------------------------------------------------------------- /IntegrationTests/allocation-counter-tests-framework/template/AtomicCounter/Sources/AtomicCounter/src/atomic-counter.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/allocation-counter-tests-framework/template/AtomicCounter/Sources/AtomicCounter/src/atomic-counter.c -------------------------------------------------------------------------------- /IntegrationTests/allocation-counter-tests-framework/template/HookedFunctionsDoHook/Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/allocation-counter-tests-framework/template/HookedFunctionsDoHook/Package.swift -------------------------------------------------------------------------------- /IntegrationTests/allocation-counter-tests-framework/template/HookedFunctionsDoHook/Sources/HookedFunctions/include/hooked-functions.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/allocation-counter-tests-framework/template/HookedFunctionsDoHook/Sources/HookedFunctions/include/hooked-functions.h -------------------------------------------------------------------------------- /IntegrationTests/allocation-counter-tests-framework/template/HookedFunctionsDoHook/Sources/HookedFunctions/src/hooked-functions.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/allocation-counter-tests-framework/template/HookedFunctionsDoHook/Sources/HookedFunctions/src/hooked-functions.c -------------------------------------------------------------------------------- /IntegrationTests/allocation-counter-tests-framework/template/HookedFunctionsDoNotHook/Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/allocation-counter-tests-framework/template/HookedFunctionsDoNotHook/Package.swift -------------------------------------------------------------------------------- /IntegrationTests/allocation-counter-tests-framework/template/HookedFunctionsDoNotHook/Sources/HookedFunctions/include/hooked-functions.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/allocation-counter-tests-framework/template/HookedFunctionsDoNotHook/Sources/HookedFunctions/include/hooked-functions.h -------------------------------------------------------------------------------- /IntegrationTests/allocation-counter-tests-framework/template/HookedFunctionsDoNotHook/Sources/HookedFunctions/src/hooked-functions.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/allocation-counter-tests-framework/template/HookedFunctionsDoNotHook/Sources/HookedFunctions/src/hooked-functions.c -------------------------------------------------------------------------------- /IntegrationTests/allocation-counter-tests-framework/template/Sources/bootstrapDoHook/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/allocation-counter-tests-framework/template/Sources/bootstrapDoHook/main.c -------------------------------------------------------------------------------- /IntegrationTests/allocation-counter-tests-framework/template/Sources/bootstrapDoNotHook/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/allocation-counter-tests-framework/template/Sources/bootstrapDoNotHook/main.c -------------------------------------------------------------------------------- /IntegrationTests/allocation-counter-tests-framework/template/scaffolding.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/allocation-counter-tests-framework/template/scaffolding.swift -------------------------------------------------------------------------------- /IntegrationTests/plugin_echo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/plugin_echo.sh -------------------------------------------------------------------------------- /IntegrationTests/plugin_junit_xml.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/plugin_junit_xml.sh -------------------------------------------------------------------------------- /IntegrationTests/run-single-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/run-single-test.sh -------------------------------------------------------------------------------- /IntegrationTests/run-tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/run-tests.sh -------------------------------------------------------------------------------- /IntegrationTests/test_functions.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/test_functions.sh -------------------------------------------------------------------------------- /IntegrationTests/tests_01_performance/defines.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/tests_01_performance/defines.sh -------------------------------------------------------------------------------- /IntegrationTests/tests_01_performance/test_01_allocation_counts.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/tests_01_performance/test_01_allocation_counts.sh -------------------------------------------------------------------------------- /IntegrationTests/tests_01_performance/test_01_resources/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/tests_01_performance/test_01_resources/README.md -------------------------------------------------------------------------------- /IntegrationTests/tests_01_performance/test_01_resources/run-nio-alloc-counter-tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/tests_01_performance/test_01_resources/run-nio-alloc-counter-tests.sh -------------------------------------------------------------------------------- /IntegrationTests/tests_01_performance/test_01_resources/shared.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/tests_01_performance/test_01_resources/shared.swift -------------------------------------------------------------------------------- /IntegrationTests/tests_01_performance/test_01_resources/test_001_pass_around_static_strings_small.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/tests_01_performance/test_01_resources/test_001_pass_around_static_strings_small.swift -------------------------------------------------------------------------------- /IntegrationTests/tests_01_performance/test_01_resources/test_002_pass_around_static_strings_large.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/IntegrationTests/tests_01_performance/test_01_resources/test_002_pass_around_static_strings_large.swift -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/README.md -------------------------------------------------------------------------------- /Sources/Instrumentation/Instrument.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/Instrumentation/Instrument.swift -------------------------------------------------------------------------------- /Sources/Instrumentation/InstrumentationSystem.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/Instrumentation/InstrumentationSystem.swift -------------------------------------------------------------------------------- /Sources/Instrumentation/Locks.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/Instrumentation/Locks.swift -------------------------------------------------------------------------------- /Sources/Instrumentation/MultiplexInstrument.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/Instrumentation/MultiplexInstrument.swift -------------------------------------------------------------------------------- /Sources/Instrumentation/NoOpInstrument.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/Instrumentation/NoOpInstrument.swift -------------------------------------------------------------------------------- /Sources/NIOInstrumentation/HTTPHeadersCarrier.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/NIOInstrumentation/HTTPHeadersCarrier.swift -------------------------------------------------------------------------------- /Sources/NIOInstrumentation/HeaderExtractingHTTPServerHandler.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/NIOInstrumentation/HeaderExtractingHTTPServerHandler.swift -------------------------------------------------------------------------------- /Sources/NIOInstrumentation/HeaderInjectingHTTPClientHandler.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/NIOInstrumentation/HeaderInjectingHTTPClientHandler.swift -------------------------------------------------------------------------------- /Sources/OpenTelemetryInstrumentationSupport/SpanAttribute+EndUser.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/OpenTelemetryInstrumentationSupport/SpanAttribute+EndUser.swift -------------------------------------------------------------------------------- /Sources/OpenTelemetryInstrumentationSupport/SpanAttribute+GRPCSemantics.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/OpenTelemetryInstrumentationSupport/SpanAttribute+GRPCSemantics.swift -------------------------------------------------------------------------------- /Sources/OpenTelemetryInstrumentationSupport/SpanAttribute+HTTPSemantics.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/OpenTelemetryInstrumentationSupport/SpanAttribute+HTTPSemantics.swift -------------------------------------------------------------------------------- /Sources/OpenTelemetryInstrumentationSupport/SpanAttribute+NetSemantics.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/OpenTelemetryInstrumentationSupport/SpanAttribute+NetSemantics.swift -------------------------------------------------------------------------------- /Sources/OpenTelemetryInstrumentationSupport/SpanAttribute+PeerSemantics.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/OpenTelemetryInstrumentationSupport/SpanAttribute+PeerSemantics.swift -------------------------------------------------------------------------------- /Sources/OpenTelemetryInstrumentationSupport/SpanAttribute+RPCSemantics.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/OpenTelemetryInstrumentationSupport/SpanAttribute+RPCSemantics.swift -------------------------------------------------------------------------------- /Sources/OpenTelemetryInstrumentationSupport/SpanAttributeName.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/OpenTelemetryInstrumentationSupport/SpanAttributeName.swift -------------------------------------------------------------------------------- /Sources/Tracing/InstrumentationSystem+Tracing.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/Tracing/InstrumentationSystem+Tracing.swift -------------------------------------------------------------------------------- /Sources/Tracing/NoOpTracer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/Tracing/NoOpTracer.swift -------------------------------------------------------------------------------- /Sources/Tracing/Span.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/Tracing/Span.swift -------------------------------------------------------------------------------- /Sources/Tracing/Timestamp.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/Tracing/Timestamp.swift -------------------------------------------------------------------------------- /Sources/Tracing/Tracer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/Tracing/Tracer.swift -------------------------------------------------------------------------------- /Sources/TracingBenchmarkTools/ArgParser.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/TracingBenchmarkTools/ArgParser.swift -------------------------------------------------------------------------------- /Sources/TracingBenchmarkTools/BenchmarkCategory.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/TracingBenchmarkTools/BenchmarkCategory.swift -------------------------------------------------------------------------------- /Sources/TracingBenchmarkTools/BenchmarkTools.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/TracingBenchmarkTools/BenchmarkTools.swift -------------------------------------------------------------------------------- /Sources/TracingBenchmarkTools/DriverUtils.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/TracingBenchmarkTools/DriverUtils.swift -------------------------------------------------------------------------------- /Sources/TracingBenchmarkTools/README_SWIFT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/TracingBenchmarkTools/README_SWIFT.md -------------------------------------------------------------------------------- /Sources/TracingBenchmarks/ExampleBenchmark.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/TracingBenchmarks/ExampleBenchmark.swift -------------------------------------------------------------------------------- /Sources/TracingBenchmarks/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Sources/TracingBenchmarks/main.swift -------------------------------------------------------------------------------- /Tests/InstrumentationTests/InstrumentTests+XCTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/InstrumentationTests/InstrumentTests+XCTest.swift -------------------------------------------------------------------------------- /Tests/InstrumentationTests/InstrumentTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/InstrumentationTests/InstrumentTests.swift -------------------------------------------------------------------------------- /Tests/InstrumentationTests/InstrumentationSystemTests+XCTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/InstrumentationTests/InstrumentationSystemTests+XCTest.swift -------------------------------------------------------------------------------- /Tests/InstrumentationTests/InstrumentationSystemTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/InstrumentationTests/InstrumentationSystemTests.swift -------------------------------------------------------------------------------- /Tests/LinuxMain.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/LinuxMain.swift -------------------------------------------------------------------------------- /Tests/NIOInstrumentationTests/FakeTracer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/NIOInstrumentationTests/FakeTracer.swift -------------------------------------------------------------------------------- /Tests/NIOInstrumentationTests/HTTPHeadersCarrierTests+XCTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/NIOInstrumentationTests/HTTPHeadersCarrierTests+XCTest.swift -------------------------------------------------------------------------------- /Tests/NIOInstrumentationTests/HTTPHeadersCarrierTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/NIOInstrumentationTests/HTTPHeadersCarrierTests.swift -------------------------------------------------------------------------------- /Tests/NIOInstrumentationTests/HTTPHeadersExtractInjectTests+XCTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/NIOInstrumentationTests/HTTPHeadersExtractInjectTests+XCTest.swift -------------------------------------------------------------------------------- /Tests/NIOInstrumentationTests/HTTPHeadersExtractInjectTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/NIOInstrumentationTests/HTTPHeadersExtractInjectTests.swift -------------------------------------------------------------------------------- /Tests/NIOInstrumentationTests/HeaderExtractingHTTPServerHandlerTests+XCTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/NIOInstrumentationTests/HeaderExtractingHTTPServerHandlerTests+XCTest.swift -------------------------------------------------------------------------------- /Tests/NIOInstrumentationTests/HeaderExtractingHTTPServerHandlerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/NIOInstrumentationTests/HeaderExtractingHTTPServerHandlerTests.swift -------------------------------------------------------------------------------- /Tests/NIOInstrumentationTests/HeaderInjectingHTTPClientHandlerTests+XCTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/NIOInstrumentationTests/HeaderInjectingHTTPClientHandlerTests+XCTest.swift -------------------------------------------------------------------------------- /Tests/NIOInstrumentationTests/HeaderInjectingHTTPClientHandlerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/NIOInstrumentationTests/HeaderInjectingHTTPClientHandlerTests.swift -------------------------------------------------------------------------------- /Tests/OpenTelemetryInstrumentationSupportTests/SpanAttributeSemanticsTests+XCTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/OpenTelemetryInstrumentationSupportTests/SpanAttributeSemanticsTests+XCTest.swift -------------------------------------------------------------------------------- /Tests/OpenTelemetryInstrumentationSupportTests/SpanAttributeSemanticsTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/OpenTelemetryInstrumentationSupportTests/SpanAttributeSemanticsTests.swift -------------------------------------------------------------------------------- /Tests/TracingTests/SpanTests+XCTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/TracingTests/SpanTests+XCTest.swift -------------------------------------------------------------------------------- /Tests/TracingTests/SpanTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/TracingTests/SpanTests.swift -------------------------------------------------------------------------------- /Tests/TracingTests/TestTracer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/TracingTests/TestTracer.swift -------------------------------------------------------------------------------- /Tests/TracingTests/TimestampTests+XCTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/TracingTests/TimestampTests+XCTest.swift -------------------------------------------------------------------------------- /Tests/TracingTests/TimestampTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/TracingTests/TimestampTests.swift -------------------------------------------------------------------------------- /Tests/TracingTests/TracedLock.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/TracingTests/TracedLock.swift -------------------------------------------------------------------------------- /Tests/TracingTests/TracedLockTests+XCTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/TracingTests/TracedLockTests+XCTest.swift -------------------------------------------------------------------------------- /Tests/TracingTests/TracedLockTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/TracingTests/TracedLockTests.swift -------------------------------------------------------------------------------- /Tests/TracingTests/TracerTests+XCTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/TracingTests/TracerTests+XCTest.swift -------------------------------------------------------------------------------- /Tests/TracingTests/TracerTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/TracingTests/TracerTests.swift -------------------------------------------------------------------------------- /Tests/TracingTests/TracingInstrumentationSystemTests+XCTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/TracingTests/TracingInstrumentationSystemTests+XCTest.swift -------------------------------------------------------------------------------- /Tests/TracingTests/TracingInstrumentationSystemTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/Tests/TracingTests/TracingInstrumentationSystemTests.swift -------------------------------------------------------------------------------- /UseCases/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/UseCases/.gitignore -------------------------------------------------------------------------------- /UseCases/Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/UseCases/Package.swift -------------------------------------------------------------------------------- /UseCases/Sources/HTTPEndToEnd/InstrumentedHTTPClient.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/UseCases/Sources/HTTPEndToEnd/InstrumentedHTTPClient.swift -------------------------------------------------------------------------------- /UseCases/Sources/HTTPEndToEnd/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/UseCases/Sources/HTTPEndToEnd/README.md -------------------------------------------------------------------------------- /UseCases/Sources/HTTPEndToEnd/Services/OrderServiceHandler.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/UseCases/Sources/HTTPEndToEnd/Services/OrderServiceHandler.swift -------------------------------------------------------------------------------- /UseCases/Sources/HTTPEndToEnd/Services/StorageServiceHandler.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/UseCases/Sources/HTTPEndToEnd/Services/StorageServiceHandler.swift -------------------------------------------------------------------------------- /UseCases/Sources/HTTPEndToEnd/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/UseCases/Sources/HTTPEndToEnd/main.swift -------------------------------------------------------------------------------- /UseCases/Sources/InstrumentsAppTracing/OSSignpostTracing.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/UseCases/Sources/InstrumentsAppTracing/OSSignpostTracing.swift -------------------------------------------------------------------------------- /UseCases/Sources/InstrumentsAppTracing/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/UseCases/Sources/InstrumentsAppTracing/main.swift -------------------------------------------------------------------------------- /UseCases/Sources/InstrumentsAppTracingInstrpkg/SpansExampleInstrument/SpansExampleInstrument.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/UseCases/Sources/InstrumentsAppTracingInstrpkg/SpansExampleInstrument/SpansExampleInstrument.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /UseCases/Sources/InstrumentsAppTracingInstrpkg/SpansExampleInstrument/SpansExampleInstrument/SpansExampleInstrument.instrpkg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/UseCases/Sources/InstrumentsAppTracingInstrpkg/SpansExampleInstrument/SpansExampleInstrument/SpansExampleInstrument.instrpkg -------------------------------------------------------------------------------- /UseCases/Sources/InstrumentsAppTracingInstrpkg/SpansExampleInstrument/SpansExampleInstrument/SpansExampleInstrumentTemplate.tracetemplate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/UseCases/Sources/InstrumentsAppTracingInstrpkg/SpansExampleInstrument/SpansExampleInstrument/SpansExampleInstrumentTemplate.tracetemplate -------------------------------------------------------------------------------- /UseCases/Sources/InstrumentsAppTracingInstrpkg/custom instrument screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/UseCases/Sources/InstrumentsAppTracingInstrpkg/custom instrument screenshot.png -------------------------------------------------------------------------------- /UseCases/Sources/ManualAsyncHTTPClient/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/UseCases/Sources/ManualAsyncHTTPClient/main.swift -------------------------------------------------------------------------------- /UseCases/Sources/ManualContextPropagation/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/UseCases/Sources/ManualContextPropagation/main.swift -------------------------------------------------------------------------------- /dev/Dockerfile-5.0.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/dev/Dockerfile-5.0.3 -------------------------------------------------------------------------------- /dev/Dockerfile-5.1: -------------------------------------------------------------------------------- 1 | FROM swift:5.1 2 | -------------------------------------------------------------------------------- /dev/Dockerfile-5.2: -------------------------------------------------------------------------------- 1 | FROM swift:5.2 2 | -------------------------------------------------------------------------------- /images/zipkin_trace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/images/zipkin_trace.png -------------------------------------------------------------------------------- /scripts/generate_linux_tests.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/scripts/generate_linux_tests.rb -------------------------------------------------------------------------------- /scripts/sanity.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/scripts/sanity.sh -------------------------------------------------------------------------------- /scripts/validate_format.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/scripts/validate_format.sh -------------------------------------------------------------------------------- /scripts/validate_license_headers.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/scripts/validate_license_headers.sh -------------------------------------------------------------------------------- /scripts/validate_naming.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slashmo/gsoc-swift-tracing/HEAD/scripts/validate_naming.sh --------------------------------------------------------------------------------