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

Nit: Export for tests and Singleton instance for BaseMetricProducerMa…#277

Merged
mayurkale22 merged 1 commit intocensus-instrumentation:masterfrom
mayurkale22:minor_change
Jan 12, 2019
Merged

Nit: Export for tests and Singleton instance for BaseMetricProducerMa…#277
mayurkale22 merged 1 commit intocensus-instrumentation:masterfrom
mayurkale22:minor_change

Conversation

@mayurkale22
Copy link
Copy Markdown
Member

…nager

@mayurkale22 mayurkale22 requested review from draffensperger and justindsmith and removed request for draffensperger January 11, 2019 08:07
}
}

export const metricProducerManagerInstance = new BaseMetricProducerManager();
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This will fix compiler error: error TS4025: Exported variable 'metricProducerManagerInstance' has or is using private name 'BaseMetricProducerManager'.

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #277 into master will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #277      +/-   ##
==========================================
- Coverage    94.8%   94.78%   -0.03%     
==========================================
  Files         110      110              
  Lines        7764     7764              
  Branches      713      714       +1     
==========================================
- Hits         7361     7359       -2     
- Misses        403      405       +2
Impacted Files Coverage Δ
test/test-http2.ts 97.33% <0%> (-1.34%) ⬇️
src/stackdriver-stats-utils.ts 99.01% <0%> (-0.02%) ⬇️
test/test-stackdriver-stats-utils.ts 100% <0%> (ø) ⬆️
src/metrics/export/metric-producer-manager.ts 100% <0%> (ø) ⬆️

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 7af93bb...4b9b4d0. Read the comment docs.

@mayurkale22 mayurkale22 merged commit 239a9e2 into census-instrumentation:master Jan 12, 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.

5 participants