Skip to content

Conversation

@swfunc
Copy link
Contributor

@swfunc swfunc commented Oct 30, 2019

What does this PR do?

Adds runtime and memorysize tags to enhanced invocations and errors metrics.

Motivation

https://trello.com/c/DPjTvXFl/164-add-runtime-and-memorysize-tags-to-layer-enhanced-metrics

Testing Guidelines

Tested and confirmed to work on our demo functions

@swfunc swfunc requested a review from a team as a code owner October 30, 2019 19:39
processVersionTagString = RuntimeTagValues.Node8;
}

if (processVersion.startsWith("v10")) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Wondering if it might be useful to keep the minor version, since AWS seems to reserve the right to update it 🤔 . On one hand, it's more accurate and might reveal why a regression occurred, on the other it doesn't match the aws specified runtime.

@codecov-io
Copy link

Codecov Report

Merging #31 into master will increase coverage by 0.69%.
The diff coverage is 89.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #31      +/-   ##
==========================================
+ Coverage   90.09%   90.78%   +0.69%     
==========================================
  Files          21       22       +1     
  Lines         555      575      +20     
  Branches       88       92       +4     
==========================================
+ Hits          500      522      +22     
+ Misses         34       32       -2     
  Partials       21       21
Impacted Files Coverage Δ
src/index.ts 87.87% <100%> (ø) ⬆️
src/utils/process-version.ts 50% <50%> (ø)
src/metrics/enhanced-metrics.ts 92.85% <91.66%> (+32.85%) ⬆️
src/utils/cold-start.ts 100% <0%> (+8.33%) ⬆️

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 6b94ed5...c83d1db. Read the comment docs.

@swfunc swfunc merged commit 021acfd into master Nov 4, 2019
@swfunc swfunc deleted the stephenf/add-runtime-and-memorysize-tags branch November 4, 2019 19:32
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.

4 participants