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

Feat: Add EventToCarrier to AWS Lambda semantic conventions #164

Closed
Closed
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
3aaa4cd
Feat: Add EventToCarrier to AWS Lambda semantic conventions
rapphil Jul 6, 2023
526dc65
Fix: fix TOC
rapphil Jul 6, 2023
ab15449
Fix: fix toc
rapphil Jul 6, 2023
8606301
Merge branch 'main' into rapphil-add-event-to-carrier
rapphil Jul 6, 2023
29fdde3
Update specification/faas/aws-lambda.md
rapphil Aug 14, 2023
71f4932
Moved resource semconv directly under the resource directory (#165)
AlexanderWert Jul 6, 2023
f4a5387
Renamed `specification` and `semantic_conventions` to `model` and `do…
AlexanderWert Jul 6, 2023
053fe9a
Fix path of md table generation make task (#173)
joaopgrassi Jul 7, 2023
86940d2
Add markdown file for url semantic conventions (#174)
ChrsMark Jul 7, 2023
c2b9767
[editorial] Add missing `README.md` for Resource Cloud Provider semco…
chalin Jul 7, 2023
02071de
[editorial] docs/rpc/json-rpc: fix title and in-page hypenation (#170)
chalin Jul 7, 2023
57bd011
[editorial] Rename docs files and folders: replace "_" by "-"; add ch…
chalin Jul 7, 2023
c35b1d4
Fix semantic-conventions README.md file links (#168)
YANG-DB Jul 7, 2023
aa85e62
[editorial] Fix doc page titles and add Hugo front matter (#175)
chalin Jul 7, 2023
31ca6ef
[editorial] Link directly to page, not to page's title (#180)
chalin Jul 7, 2023
f875722
Bump to latest version of the specification. (#185)
jsuereth Jul 12, 2023
5200be9
[CI] Report link-check error when external URL used for local doc pag…
chalin Jul 13, 2023
69f6bae
Update documentation for how to cut a release AND perform the action …
jsuereth Jul 13, 2023
12bd6b0
[editorial] markdownlint in less then 1.5 sec (#193)
chalin Jul 14, 2023
b7e10e6
[editorial] Rename general section pages by dropping `general` from t…
chalin Jul 14, 2023
89e1603
[editorial] Setup Prettier and run it on some files (#192)
chalin Jul 21, 2023
c31e03c
Editorial: Remove overlooked messaging.source attributes from aws lam…
lmolkova Jul 21, 2023
de2cf45
Fix the unit of metric.process.runtime.jvm.system.cpu.load_1m to be {…
zeitlinger Jul 21, 2023
be82642
Change company affiliation for Johannes (#207)
pyohannes Jul 25, 2023
fe818fd
`.count` metric naming convention only applies to UpDownCounters (#107)
trask Jul 25, 2023
97e92be
[editorial][CI] Ensure markdownlint has proper exit status (#210)
chalin Jul 27, 2023
c4b58a4
Update contributing documentation for restructuring of repository (#216)
jsuereth Jul 28, 2023
a46db0f
Re-enable the schema check to look at the website. (#217)
jsuereth Jul 28, 2023
1c4e58f
Add Alexander Wert as an Approver (#220)
reyang Aug 1, 2023
ff064a4
Bump semantic conventions tooling to v0.20.0 (#225)
arminru Aug 1, 2023
0cf0e8d
Add system.cpu.physical.count and system.cpu.logical.count metrics (#99)
frzifus Aug 1, 2023
740ebd6
Add PR template (#223)
reyang Aug 1, 2023
6561f68
Generate database metrics semconv from YAML (#90)
joaopgrassi Aug 1, 2023
a491f82
Generate RPC metrics from YAML (#93)
joaopgrassi Aug 2, 2023
790eac9
Rename `http.*.duration` to `http.*.request.duration` (#224)
lmolkova Aug 3, 2023
2f4d8b4
HTTP version should be 2 and 3 instead of 2.0 and 3.0 (#228)
lmolkova Aug 6, 2023
94b653e
Generate FaaS metrics semconv from YAML (#88)
joaopgrassi Aug 7, 2023
8dfd92c
Re-introduce namespace to describe the original destination (#156)
joaopgrassi Aug 7, 2023
50cf594
Move Joao Grassi from approver to maintainer (#239)
reyang Aug 8, 2023
d550c98
Update destination attribute briefs (#243)
trask Aug 10, 2023
a6c3202
Rename all JVM metrics from process.runtime.jvm.* to jvm.* (#241)
trask Aug 10, 2023
92ad618
Fix: fix TOC
rapphil Jul 6, 2023
1d3b5ca
Fix: fix toc
rapphil Jul 6, 2023
58c722c
Update EvenToCarrier based on feedback
rapphil Aug 14, 2023
7fd5a23
Merge branch 'main' into rapphil-add-event-to-carrier
rapphil Aug 14, 2023
94a3bf5
Update to simplify language
rapphil Sep 11, 2023
6dd68fe
Merge branch 'main' into rapphil-add-event-to-carrier
rapphil Sep 12, 2023
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
Prev Previous commit
Next Next commit
Update specification/faas/aws-lambda.md
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
rapphil and Aneurysm9 authored Aug 14, 2023
commit 29fdde3afcf13681c12ddf016c3ec979dd3e4bd0
2 changes: 1 addition & 1 deletion specification/faas/aws-lambda.md
Original file line number Diff line number Diff line change
@@ -57,7 +57,7 @@ and the [cloud resource conventions][cloud]. The following AWS Lambda-specific a

### Determining the remote parent span context

Lambda does not have HTTP headers to read from and instead stores the headers it was invoked with (including TraceID, etc.) as part of the invocation event. If using the AWS XRay tracing then the trace information is instead stored in the Lambda environment. It is also possible that both options are populated at the same time, with different values. Finally it is also possible to propagate tracing information in a SQS message using the system attribute of the message `AWSTraceHeader`. A single lambda function can be triggered from multiple sources, however spans can only have a single parent.
Lambda does not have HTTP headers to read from and instead stores the headers it was invoked with (including any propagated context, etc.) as part of the invocation event. If using AWS X-Ray tracing then the trace context is instead stored in the Lambda environment. It is also possible that both options are populated at the same time, with different values. Finally it is also possible to propagate tracing information in a SQS message using the system attribute of the message `AWSTraceHeader`. A single lambda function can be triggered from multiple sources, however spans can only have a single parent.

To determine the parent span context, the lambda instrumentation SHOULD use a `EventToCarrier`. `EventToCarrier` defines how the instrumentation should prepare a `Carrier` to be used by subsequent `TextMapPropagators`.