Skip to content

Add FaaS attributes.#1634

Merged
jkwatson merged 2 commits intoopen-telemetry:masterfrom
anuraaga:faas-attributes
Sep 11, 2020
Merged

Add FaaS attributes.#1634
jkwatson merged 2 commits intoopen-telemetry:masterfrom
anuraaga:faas-attributes

Conversation

@anuraaga
Copy link
Copy Markdown
Contributor

No description provided.

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 11, 2020

Codecov Report

Merging #1634 into master will increase coverage by 0.06%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1634      +/-   ##
============================================
+ Coverage     86.65%   86.71%   +0.06%     
  Complexity     1409     1409              
============================================
  Files           163      163              
  Lines          5529     5557      +28     
  Branches        553      553              
============================================
+ Hits           4791     4819      +28     
  Misses          542      542              
  Partials        196      196              
Impacted Files Coverage Δ Complexity Δ
...telemetry/trace/attributes/SemanticAttributes.java 100.00% <100.00%> (ø) 1.00 <0.00> (ø)
...pentelemetry/sdk/resources/ResourceAttributes.java 100.00% <100.00%> (ø) 1.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d138908...d128afd. Read the comment docs.

public static final StringAttributeSetter FAAS_INVOKED_REGION =
StringAttributeSetter.create("faas.invoked_region");

// faas.trigger == datasource
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this comment be added to the Javadoc of the respective attributes somehow?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, thanks

@jkwatson
Copy link
Copy Markdown
Contributor

Thanks! I bet you did this just so I would have to update #1631 , didn't you? ;)

Copy link
Copy Markdown
Contributor

@jkwatson jkwatson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jkwatson jkwatson merged commit 751177f into open-telemetry:master Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants