Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Plug-in Cumulative APIs into the Metric-Registry #505

Conversation

mayurkale22
Copy link
Member

Updates #450

Registering Derived Cumulative APIs with Metric-Registry will be in a follow-up PR. Dependency on #503

@codecov-io
Copy link

codecov-io commented May 7, 2019

Codecov Report

Merging #505 into master will increase coverage by 0.43%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #505      +/-   ##
==========================================
+ Coverage   94.58%   95.02%   +0.43%     
==========================================
  Files         145      145              
  Lines       10195    10224      +29     
  Branches      875      890      +15     
==========================================
+ Hits         9643     9715      +72     
+ Misses        552      509      -43
Impacted Files Coverage Δ
src/tags/propagation/variant-encoding.ts 96% <0%> (-4%) ⬇️
src/detect-resource.ts 90.9% <0%> (-1.95%) ⬇️
src/tags/propagation/binary-serializer.ts 95.58% <0%> (-1.52%) ⬇️
test/test-detect-resource.ts 99.13% <0%> (-0.38%) ⬇️
src/tags/propagation/text-format.ts 95.23% <0%> (-0.32%) ⬇️
src/common/validations.ts 95.83% <0%> (-0.17%) ⬇️
src/internal/string-utils.ts 100% <0%> (ø) ⬆️
test/test-tag-map.ts 100% <0%> (ø) ⬆️
test/test-metric-producer-manager.ts 100% <0%> (ø) ⬆️
test/test-exporter-buffer.ts 100% <0%> (ø) ⬆️
... and 24 more

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 d4c3b19...1d06040. Read the comment docs.

* useful when you want to manually increase and reset values as per service
* requirements.
*
* @param {string} name The name of the metric.
Copy link
Contributor

Choose a reason for hiding this comment

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

What would you think about removing these types in the JSDoc that are the same as the TS types?

Copy link
Member Author

Choose a reason for hiding this comment

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

sure, done.

* useful when you want to manually increase and reset values as per service
* requirements.
*
* @param {string} name The name of the metric.
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here on types in JSDoc

@mayurkale22 mayurkale22 force-pushed the hook_cumulative_api_to_registry branch from e2a3251 to 09f17ab Compare May 8, 2019 16:36
@mayurkale22 mayurkale22 merged commit 5db22c9 into census-instrumentation:master May 8, 2019
@mayurkale22 mayurkale22 deleted the hook_cumulative_api_to_registry branch May 8, 2019 23:53
@mayurkale22 mayurkale22 added this to the Release 0.0.12 milestone May 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants