This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Draft: /messages
investigation scratch pad1
#13440
Closed
MadLittleMods
wants to merge
25
commits into
madlittlemods/11850-migrate-to-opentelemetry
from
madlittlemods/13356-messages-investigation-scratch-v1
Closed
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
522c29b
Instrument /messages for understandable traces
MadLittleMods b6a18d2
Trace in Complement
MadLittleMods 2504bc6
Merge branch 'madlittlemods/instrument-messages-tracing' into madlitt…
MadLittleMods 9cd6320
Fix imports after OTEL changes
MadLittleMods c3f3e59
Merge branch 'madlittlemods/11850-migrate-to-opentelemetry' into madl…
MadLittleMods 9f69182
Move Twisted git install where it was before
MadLittleMods 2f75287
Fix @tag_args being one-off (ahead)
MadLittleMods fdce1c2
Allow @trace and @tag_args to be used together
MadLittleMods a7eabb7
Trace more
MadLittleMods 13855c5
More tracing for federated side
MadLittleMods 552b7f1
More tracing for federation
MadLittleMods c51883e
Add length to the list of events
MadLittleMods ee465f9
Fix some lints (mistakes) and better trace when fetching events
MadLittleMods aa5e925
Only set attribute if going forward
MadLittleMods 2a467fd
Merge branch 'madlittlemods/11850-migrate-to-opentelemetry' into madl…
MadLittleMods 597c3f2
Trace some results
MadLittleMods f4ec9d1
Instrument FederationStateIdsServlet
MadLittleMods 898ba0e
More tracing
MadLittleMods 53b8453
Refactor from feedback
MadLittleMods 0f2bfa4
Merge branch 'madlittlemods/11850-migrate-to-opentelemetry' into madl…
MadLittleMods db04b16
Some cleanup
MadLittleMods 4168ba5
Remove debug logs
MadLittleMods 05e5113
Merge branch 'madlittlemods/11850-migrate-to-opentelemetry' into madl…
MadLittleMods d8899e4
Merge branch 'madlittlemods/11850-migrate-to-opentelemetry' into madl…
MadLittleMods 04de9ea
Merge branch 'madlittlemods/11850-migrate-to-opentelemetry' into madl…
MadLittleMods 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
This file contains hidden or 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 |
---|---|---|
|
@@ -184,3 +184,23 @@ trusted_key_servers: | |
|
||
password_config: | ||
enabled: true | ||
|
||
|
||
# foo | ||
tracing: | ||
enabled: true | ||
sample_rate: 1 | ||
homeserver_whitelist: | ||
- ".*" | ||
jaeger_exporter_config: | ||
agent_host_name: host.docker.internal | ||
agent_port: 6831 | ||
# Split UDP packets (UDP_PACKET_MAX_LENGTH is set to 65k in OpenTelemetry) | ||
udp_split_oversized_batches: true | ||
# If you define a collector, it will communicate directly to the collector, | ||
# bypassing the agent | ||
# | ||
# It does not seem like the agent can keep up with the massive UDP load | ||
# (1065 spans in one trace) so lets just use the HTTP collector endpoint | ||
# instead which seems to work. | ||
Comment on lines
+203
to
+205
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder why this is the case? I was seeing this same behavior with the Jaeger But using the HTTP Jaeger collector endpoint seems to work fine for getting the whole trace. |
||
collector_endpoint: "http://host.docker.internal:14268/api/traces?format=jaeger.thrift" |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
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.
Uh oh!
There was an error while loading. Please reload this page.