Skip to content
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

Add Telemetry support #208

Merged
merged 122 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from 104 commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
ce74b1b
Add initial telemetry components
jterapin Jun 19, 2024
a12d571
Update required with telemetry file
jterapin Jun 19, 2024
a465378
Add telemetry provider to context
jterapin Jun 19, 2024
cf4bc0f
Update operation to render root span
jterapin Jun 24, 2024
9984e1c
Add telemetry provider to config
jterapin Jun 24, 2024
f81d7d5
Update tracer scope naming
jterapin Jun 24, 2024
7452f02
Replace telemetry_provider with tracer reference
jterapin Jun 24, 2024
833bde5
Add more telemetry components
jterapin Jun 24, 2024
dad422b
Rearrange telemetry components
jterapin Jun 24, 2024
f8c86c1
Add initial draft specs
jterapin Jun 24, 2024
f6c8238
Update specs
jterapin Jun 24, 2024
97fd7d7
Update existing config spec
jterapin Jun 26, 2024
fe7556f
Update tracer on operation
jterapin Jun 26, 2024
5ad3b38
Add changes to no-op context manager
jterapin Jun 26, 2024
0c9fbcd
Add otel provider
jterapin Jul 8, 2024
871cc93
Add initial integration tests
jterapin Jul 8, 2024
3571c0f
Move otel dependency check
jterapin Jul 10, 2024
030f832
Add starting integration specs
jterapin Jul 10, 2024
8b42222
Add initial telemetry specs
jterapin Jul 10, 2024
2789321
Fix typo for attr
jterapin Jul 10, 2024
352d4fc
Fix rubocop violation
jterapin Jul 10, 2024
ff2ef33
Add opentelemetry-sdk to testing gems
jterapin Jul 10, 2024
94a6b81
Update to exclude telemetry file for no-op interfaces
jterapin Jul 10, 2024
cadb988
Fix rubocop violations
jterapin Jul 10, 2024
87967eb
Fix rubocop violations
jterapin Jul 10, 2024
d547971
Add rbs file for telemetry provider
jterapin Jul 10, 2024
d70f233
Add more specs
jterapin Jul 11, 2024
ee3cd32
Update projections
jterapin Jul 11, 2024
a3b62fb
Merge branch 'main' into implement_observability
jterapin Jul 11, 2024
a8a6861
Fix hearth spec failure
jterapin Jul 11, 2024
dbef79e
Fix rubocop violations
jterapin Jul 11, 2024
71d8f25
Create base class for ContextManager
jterapin Jul 11, 2024
bd5c427
Update projections
jterapin Jul 11, 2024
a740f6b
Merge branch 'main' into implement_observability
jterapin Jul 11, 2024
7de80e5
Organize interfaces
jterapin Jul 11, 2024
819a957
Update minor documentation
jterapin Jul 11, 2024
bf9134d
Update specs
jterapin Jul 11, 2024
d9c41ad
Merge branch 'main' into implement_observability
jterapin Jul 12, 2024
11b21ac
Wrap send_request with tracer
jterapin Jul 15, 2024
950b9b2
Update specs for send_request
jterapin Jul 15, 2024
1f4ad7d
Resolve rubocop violations
jterapin Jul 15, 2024
cd20d4d
Wrap stub send_request with tracer
jterapin Jul 15, 2024
27d13b3
Add a new method to no-op span
jterapin Jul 15, 2024
c18ef1c
Update no-op span specs
jterapin Jul 15, 2024
5005618
Use add_attributes to add span data
jterapin Jul 15, 2024
1f31be0
Handle request body that does not respond to size
jterapin Jul 15, 2024
f8b8bb6
Handle response body that does not respond to size
jterapin Jul 15, 2024
5cc8f9d
Refactor handling of checking of content-length
jterapin Jul 15, 2024
87b3cb6
Update specs
jterapin Jul 15, 2024
39c1192
Refactor specs for test coverage
jterapin Jul 16, 2024
11cacbe
Add new operation
jterapin Jul 16, 2024
6edbb11
Fix operation
jterapin Jul 16, 2024
050126f
Generate http_method for whitelabel
jterapin Jul 16, 2024
d8488e4
Update smithy model
jterapin Jul 16, 2024
06f6919
Fix specs
jterapin Jul 16, 2024
0f93256
Refactor specs
jterapin Jul 16, 2024
b86359d
Update projections
jterapin Jul 16, 2024
79989b9
Remove unused method
jterapin Jul 16, 2024
cbc2d87
Update stub spec
jterapin Jul 17, 2024
8ed5aab
Add new method to no-op span
jterapin Jul 17, 2024
507fd5c
Update error spec
jterapin Jul 17, 2024
a3a0af2
Update otel spec to cover record exceptions
jterapin Jul 17, 2024
46a8d26
Clean up
jterapin Jul 17, 2024
0fc7a55
Remove debugging print
jterapin Jul 17, 2024
e515726
Add config documentation
jterapin Jul 17, 2024
2059f36
Update projections
jterapin Jul 17, 2024
60b1d48
Use the correct telemetry provider default
jterapin Jul 17, 2024
25e6f4a
Add telemetry documentation
jterapin Jul 17, 2024
816bd21
Fix rubocop violations
jterapin Jul 17, 2024
148724a
Update projections
jterapin Jul 17, 2024
fa0a55f
Draft rbs types
jterapin Jul 17, 2024
cab7065
Update telemetry rbs types
jterapin Jul 17, 2024
b40a708
Minor updates
jterapin Jul 17, 2024
25eb58a
Remove whitespace
jterapin Jul 17, 2024
9726c23
Clean up integration specs
jterapin Jul 17, 2024
4b5ff9b
Refactor otel specs
jterapin Jul 17, 2024
dc20724
Update projections
jterapin Jul 17, 2024
0ab775f
Update integrations specs based on feedbacks
jterapin Jul 18, 2024
2479319
Update integrations specs based on feedbacks
jterapin Jul 18, 2024
aa7a86c
Update documentation
jterapin Jul 18, 2024
1063e69
Update hearth telemetry specs
jterapin Jul 19, 2024
574a6c6
Update docs
jterapin Jul 19, 2024
552a115
Add a way to access SDK_ID
jterapin Jul 22, 2024
667c850
Use sdkId for service span attribute
jterapin Jul 22, 2024
c8a13ba
Update module transformer
jterapin Jul 22, 2024
d69d01e
Update projections
jterapin Jul 22, 2024
479446e
Merge main into branch
jterapin Jul 22, 2024
c47a9f2
Update projections
jterapin Jul 22, 2024
b0ffdc7
Add telemetryServiceSpanName
jterapin Jul 22, 2024
a5fd5f0
Update transformer
jterapin Jul 23, 2024
c98b150
Update specs
jterapin Jul 23, 2024
6ddc8fd
Update specs
jterapin Jul 23, 2024
b4095a5
Merge main into branch
jterapin Jul 24, 2024
6c91558
Update projections
jterapin Jul 24, 2024
3f33193
Add skip
jterapin Jul 24, 2024
4e1c45d
Rename span name
jterapin Jul 24, 2024
e800c7e
Update for readability for Send Middleware
jterapin Jul 24, 2024
4a70122
Remove base ContextManager class
jterapin Jul 24, 2024
e080249
Add documentation
jterapin Jul 24, 2024
4841993
Update documentation
jterapin Jul 24, 2024
07e1c6e
Add SDK_ID so that it does not warn during codegen
jterapin Jul 24, 2024
b942bfe
Minor update
jterapin Jul 24, 2024
4a1c0a2
Minor updates
jterapin Jul 24, 2024
f2ca17d
Add more minor updates to clean up some whitespaces
jterapin Jul 24, 2024
7f2d92e
Use tap instead of separate methods
jterapin Jul 26, 2024
408ea7c
Update based on feedbacks
jterapin Jul 26, 2024
371dd33
Add TelemetryGenerator
jterapin Jul 26, 2024
d3dee6a
Move documentation
jterapin Jul 28, 2024
3558787
Update RBS signatures
jterapin Jul 29, 2024
50177ff
Create base classes for all
jterapin Jul 29, 2024
7ee61b5
Address feedbacks
jterapin Jul 30, 2024
69410a1
Merge main into branch
jterapin Jul 31, 2024
334b903
Add RBS updates
jterapin Jul 31, 2024
7254a6f
Update documentation syntax
jterapin Jul 31, 2024
1d35c5a
Update telemetry file
jterapin Jul 31, 2024
f3075ef
Update projections
jterapin Jul 31, 2024
25ff9fe
Update based on team discussion
jterapin Aug 4, 2024
08f2abd
Minor fixes
jterapin Aug 5, 2024
8a9896a
Merge branch 'main' into implement_observability
jterapin Aug 5, 2024
09ab4ae
Update based on feedback
jterapin Aug 5, 2024
61b0c3b
Fix rubocop
jterapin Aug 5, 2024
3f6107a
Fix documentation
jterapin Aug 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ group :test do
gem 'rspec'
gem 'simplecov'
gem 'webmock'
gem 'opentelemetry-sdk'
end
1,690 changes: 1,170 additions & 520 deletions codegen/projections/rails_json/lib/rails_json/client.rb

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions codegen/projections/rails_json/lib/rails_json/config.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions codegen/projections/rails_json/sig/rails_json/client.rbs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions codegen/projections/rails_json/sig/rails_json/config.rbs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

312 changes: 221 additions & 91 deletions codegen/projections/rpcv2_cbor/lib/rpcv2_cbor/client.rb

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions codegen/projections/rpcv2_cbor/lib/rpcv2_cbor/config.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions codegen/projections/rpcv2_cbor/sig/rpcv2_cbor/client.rbs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions codegen/projections/rpcv2_cbor/sig/rpcv2_cbor/config.rbs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions codegen/projections/white_label/lib/white_label/auth.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions codegen/projections/white_label/lib/white_label/builders.rb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading