-
Notifications
You must be signed in to change notification settings - Fork 61
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
OpenTelemetry OTLP setup for tracing, take 2 #697
Open
mzabaluev
wants to merge
16
commits into
main
Choose a base branch
from
mikhail/opentelemetry-through-tracing
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 11 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
583d124
feat: tracing with OpenTelemetry OTLP
mzabaluev 57845ba
feat(process-compose):telemetry overlay
mzabaluev bece93e
feat(tracing)!: break out telemetry
mzabaluev 607ba0b
fix(process-compose): correctly specify enviroment
mzabaluev 56899ca
feat: produce some telemetry spans and events
mzabaluev f713d71
fix(tracing): work around another shutdown problem
mzabaluev 8ce2e07
feat: spans for each telemetry event
mzabaluev c915948
feat(suzuka-full-node): execute_block telemetry
mzabaluev c1ba7fc
chore: comments on some metrics
mzabaluev 372f9b4
feat(opt-executor): emit telemetry on tx failure
mzabaluev acc202b
feat(suzuka-full-node): telemetry on executed tx
mzabaluev 954c8e4
fix: add feed.
l-monninger e6144f8
fix: add otlp test.
l-monninger 3fed933
Merge branch 'main' into mikhail/opentelemetry-through-tracing
mzabaluev f59cb2f
chore(tracing): comment on the guard
mzabaluev 2fab8d7
feat(ci): add telemetry to local tests
mzabaluev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
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
24 changes: 24 additions & 0 deletions
24
process-compose/suzuka-full-node/process-compose.telemetry.yml
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,24 @@ | ||
version: "3" | ||
|
||
environment: | ||
|
||
processes: | ||
otlp-collector: | ||
is_daemon: true | ||
command: | | ||
docker run -d --rm --name suzuka-otlp-collector -p16686:16686 -p4317:4317 -e COLLECTOR_OTLP_ENABLED=true jaegertracing/all-in-one:latest | ||
shutdown: | ||
command: | | ||
docker stop suzuka-otlp-collector | ||
suzuka-full-node: | ||
depends_on: | ||
otlp-collector: | ||
condition: process_started | ||
environment: | ||
- MOVEMENT_OTLP=http://localhost:4317 | ||
m1-da-light-node: | ||
depends_on: | ||
otlp-collector: | ||
condition: process_started | ||
environment: | ||
- MOVEMENT_OTLP=http://localhost:4317 |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't seem to be getting anything served by this and the e2e tests for the basic simulation are failing. Is this how I should be using this?:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is all I'm seeing from the collector process when I start with the above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a
feed
overlay in case for some reason this is not in fact staying open with the--keep-project
flag.