This repository has been archived by the owner on Aug 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Isaac Hier <[email protected]>
- Loading branch information
Showing
8 changed files
with
163 additions
and
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM debian | ||
RUN apt-get update | ||
RUN apt-get install --yes build-essential curl git | ||
RUN curl -L -O "https://cmake.org/files/v3.11/cmake-3.11.0-Linux-x86_64.sh" && \ | ||
bash cmake-3.11.0-Linux-x86_64.sh --skip-license | ||
|
||
ADD . /src/jaeger-cpp-client | ||
WORKDIR /src/jaeger-cpp-client | ||
RUN ./scripts/build-plugin.sh |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
set(CMAKE_CXX_STANDARD_REQUIRED true) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
set(CMAKE_CXX_STANDARD 11) | ||
set(CMAKE_CXX_EXTENSIONS OFF) | ||
set(CMAKE_POSITION_INDEPENDENT_CODE ON) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
service_name: test-service | ||
disabled: false | ||
sampler: | ||
type: probabilistic | ||
param: 0.001 | ||
reporter: | ||
queueSize: 100 | ||
bufferFlushInterval: 10 | ||
logSpans: false | ||
localAgentHostPort: 127.0.0.1:6831 | ||
headers: | ||
jaegerDebugHeader: debug-id | ||
jaegerBaggageHeader: baggage | ||
TraceContextHeaderName: trace-id | ||
traceBaggageHeaderPrefix: testctx- | ||
baggage_restrictions: | ||
denyBaggageOnInitializationFailure: false | ||
hostPort: 127.0.0.1:5778 | ||
refreshInterval: 60 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
function main() { | ||
local project_dir | ||
project_dir="$(git rev-parse --show-toplevel)" | ||
|
||
mkdir -p build | ||
cd build | ||
export CFLAGS="$CFLAGS -march=x86-64" | ||
export CXXFLAGS="$CXXFLAGS -march=x86-64" | ||
|
||
cat <<EOF > export.map | ||
{ | ||
global: | ||
OpenTracingMakeTracerFactory; | ||
local: *; | ||
}; | ||
EOF | ||
|
||
cmake -DCMAKE_BUILD_TYPE=Release \ | ||
-DJAEGERTRACING_PLUGIN=ON \ | ||
-DBUILD_TESTING=ON \ | ||
-DHUNTER_CONFIGURATION_TYPES=Release \ | ||
.. | ||
make -j3 | ||
mv libjaegertracing_plugin.so /libjaegertracing_plugin.so | ||
./DynamicallyLoadTracerTest /libjaegertracing_plugin.so | ||
} | ||
|
||
main |
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