-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
applied patch from
STR-440-opentelemetry-output
(#473)
STR-440 OpenTelemetry tracing exporter (#342) * common: tried to set up otlp This deletes Cargo.lock because we couldn't get the deps to work anyways. * fix: bump opentelemetry stuff to 0.26 now it compiles at least-ish * common: added more correct init for OTLP tracing output * common, contrib: fixed some more logging stuff, added Jaeger util script * common, stratad: reworked logging init some more to try to make it work * contrib: fixed Jaeger init script to use a recent version * bridge-client: fixed broken test, fixed Tokio version * common: added `service.name` property to OTLP params * prover-client: fixed missing `LoggerConfig` * stratad: fixed broken tests??? idk why this is here * tests: fixed broken logging * btcio: fixed broken logging --------- Co-authored-by: Trey Del Bonis <[email protected]>
- Loading branch information
Showing
12 changed files
with
324 additions
and
28 deletions.
There are no files selected for viewing
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
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
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
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,28 @@ | ||
#!/bin/bash | ||
# Script for standing up a local instance of Jaeger, so we can use it for | ||
# running fntests, for example. | ||
# | ||
# Adapted from: https://www.jaegertracing.io/docs/1.6/getting-started/ | ||
|
||
TAG_VER=1.62.0 | ||
|
||
OTLP_GRPC_PORT=4317 | ||
WEB_PORT=16686 | ||
|
||
docker run -d \ | ||
--name jaeger \ | ||
-e COLLECTOR_ZIPKIN_HTTP_PORT=9411 \ | ||
-e COLLECTOR_OTLP_ENABLED=true \ | ||
-p $OTLP_GRPC_PORT:4317 \ | ||
-p 4318:4318 \ | ||
-p 5775:5775/udp \ | ||
-p 6831:6831/udp \ | ||
-p 6832:6832/udp \ | ||
-p 5778:5778 \ | ||
-p $WEB_PORT:16686 \ | ||
-p 14268:14268 \ | ||
-p 9411:9411 \ | ||
jaegertracing/all-in-one:$TAG_VER | ||
|
||
echo "Set envvar: 'export STRATA_OTLP_URL=http://127.0.0.1:$OTLP_GRPC_PORT'" | ||
echo "Open http://localhost:$WEB_PORT/ in your browser." |
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.