Commit d7c65e2
committed
Merge branch 'otel'
This migrates AWS SDK instrumentation from the deprecated X-Ray SDK to
OpenTelemetry. OTel is better about not crashing the program when
there's no parent span or the collected traces aren't going anywhere,
so in general the instrumentation is always enabled but X-Ray exports
are only active if set in the environment.
In theory, this really opens up what we can do on the randomizer-server
side, but I'm not sure how many options are out there to export traces.File tree
894 files changed
+84626
-340745
lines changed- cmd/randomizer-lambda
- internal/awsconfig
- vendor
- github.com
- andybalholm/brotli
- matchfinder
- aws-observability/aws-otel-go/exporters/xrayudp
- aws
- aws-lambda-go
- events
- lambdacontext
- lambda
- messages
- aws-sdk-go-v2
- aws
- middleware
- transport/http
- internal
- configsources
- endpoints
- awsrulesfn
- v2
- service
- dynamodb
- internal/endpoints
- internal
- accept-encoding
- endpoint-discovery
- sns
- internal/endpoints
- types
- sqs
- internal/endpoints
- types
- aws-xray-sdk-go/v2
- daemoncfg
- header
- instrumentation/awsv2
- internal
- logger
- plugins
- pattern
- resources
- strategy
- ctxmissing
- exception
- sampling
- utils
- xraylog
- xray
- smithy-go
- metrics
- middleware
- transport/http
- cenkalti/backoff/v5
- cespare/xxhash/v2
- google/uuid
- grpc-ecosystem/grpc-gateway/v2
- internal/httprule
- runtime
- utilities
- klauspost/compress
- flate
- fse
- gzip
- huff0
- internal
- cpuinfo
- le
- snapref
- zlib
- zstd
- internal/xxhash
- pkg/errors
- valyala
- bytebufferpool
- fasthttp
- fasthttputil
- stackless
- go.opentelemetry.io
- auto/sdk
- internal/telemetry
- contrib
- detectors/aws/lambda
- instrumentation
- github.com/aws
- aws-lambda-go/otellambda
- xrayconfig
- aws-sdk-go-v2/otelaws
- google.golang.org/grpc/otelgrpc
- net/http/otelhttp
- internal/semconv
- propagators/aws
- xray
- otel
- attribute
- internal/xxhash
- baggage
- exporters/otlp/otlptrace
- internal/tracetransform
- otlptracegrpc
- internal
- counter
- envconfig
- observ
- otlpconfig
- retry
- x
- internal/global
- metric
- propagation
- sdk
- instrumentation
- internal/x
- resource
- trace
- internal
- env
- observ
- semconv
- v1.26.0
- v1.37.0
- httpconv
- otelconv
- rpcconv
- trace
- proto/otlp
- collector/trace/v1
- common/v1
- resource/v1
- trace/v1
- golang.org/x
- net
- http2
- trace
- sys
- cpu
- unix
- google.golang.org
- genproto/googleapis/api/httpbody
- grpc
- balancer
- grpclb
- grpc_lb_v1
- pickfirst
- pickfirstleaf
- roundrobin
- binarylog/grpc_binarylog_v1
- credentials
- alts/internal/proto/grpc_gcp
- encoding
- gzip
- internal
- proto
- experimental/stats
- health/grpc_health_v1
- internal
- balancer/gracefulswitch
- buffer
- channelz
- envconfig
- grpcsync
- idle
- resolver/delegatingresolver
- stats
- transport
- xds
- clients
- mem
- protobuf
- internal
- encoding
- tag
- text
- filedesc
- genid
- impl
- version
- proto
- types
- descriptorpb
- known
- fieldmaskpb
- timestamppb
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
894 files changed
+84626
-340745
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
23 | 33 | | |
24 | 34 | | |
25 | 35 | | |
26 | 36 | | |
27 | 37 | | |
28 | 38 | | |
| 39 | + | |
29 | 40 | | |
30 | 41 | | |
31 | 42 | | |
| |||
34 | 45 | | |
35 | 46 | | |
36 | 47 | | |
37 | | - | |
| 48 | + | |
38 | 49 | | |
39 | 50 | | |
40 | 51 | | |
41 | 52 | | |
42 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
43 | 68 | | |
44 | 69 | | |
45 | 70 | | |
46 | 71 | | |
47 | 72 | | |
48 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
49 | 120 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
| 12 | + | |
12 | 13 | | |
13 | | - | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
| |||
24 | 31 | | |
25 | 32 | | |
26 | 33 | | |
27 | | - | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
31 | | - | |
32 | | - | |
| 37 | + | |
| 38 | + | |
33 | 39 | | |
34 | 40 | | |
35 | | - | |
36 | | - | |
| 41 | + | |
| 42 | + | |
37 | 43 | | |
| 44 | + | |
| 45 | + | |
38 | 46 | | |
39 | 47 | | |
40 | 48 | | |
41 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
42 | 53 | | |
43 | 54 | | |
44 | 55 | | |
45 | 56 | | |
| 57 | + | |
46 | 58 | | |
| 59 | + | |
47 | 60 | | |
48 | | - | |
49 | | - | |
| 61 | + | |
50 | 62 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
61 | 73 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
65 | 77 | | |
66 | 78 | | |
67 | 79 | | |
68 | | - | |
69 | | - | |
70 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
71 | 83 | | |
0 commit comments