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

Exporter/Stackdriver: Add common utils#321

Merged
mayurkale22 merged 1 commit intocensus-instrumentation:masterfrom
mayurkale22:common_utils
Jan 31, 2019
Merged

Exporter/Stackdriver: Add common utils#321
mayurkale22 merged 1 commit intocensus-instrumentation:masterfrom
mayurkale22:common_utils

Conversation

@mayurkale22
Copy link
Copy Markdown
Member

This PR contains common utils which is shared between stats and trace exporter especially to get default resources and its SD specific mappings. Also, removed some unused imports (I am planning to enforce "noUnusedLocals": true very soon on SD package) and AWS_REGION_VALUE_PREFIX constant moved in exporter as this prefix is only important to SD.

This PR is foundation for issuse #39.

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #321 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #321      +/-   ##
==========================================
+ Coverage   94.96%   94.97%   +<.01%     
==========================================
  Files         118      119       +1     
  Lines        8170     8172       +2     
  Branches      732      732              
==========================================
+ Hits         7759     7761       +2     
  Misses        411      411
Impacted Files Coverage Δ
src/stackdriver-stats-utils.ts 99.02% <0%> (-0.18%) ⬇️
src/resource-labels.ts 100% <0%> (ø) ⬆️
test/test-stackdriver-stats-utils.ts 100% <0%> (ø) ⬆️
src/stackdriver-cloudtrace.ts 87.93% <0%> (ø) ⬆️
src/common-utils.ts 100% <0%> (ø)
src/stackdriver-monitoring.ts 84.21% <0%> (+0.16%) ⬆️

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 f98ec08...18dda65. Read the comment docs.

@mayurkale22 mayurkale22 merged commit c10212f into census-instrumentation:master Jan 31, 2019
@mayurkale22 mayurkale22 deleted the common_utils branch January 31, 2019 21:43
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