Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split the cloud output so metric pushing is separate #1905

Merged
merged 1 commit into from
Mar 15, 2021
Merged

Conversation

na--
Copy link
Member

@na-- na-- commented Mar 15, 2021

Continuation of #1857 and #1874

@na-- na-- added this to the v0.32.0 milestone Mar 15, 2021
@na-- na-- requested review from mstoykov and imiric March 15, 2021 13:04
@na-- na-- added the refactor label Mar 15, 2021
@codecov-io
Copy link

codecov-io commented Mar 15, 2021

Codecov Report

Merging #1905 (39c7df9) into master (731e8df) will increase coverage by 0.03%.
The diff coverage is 81.48%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1905      +/-   ##
==========================================
+ Coverage   71.19%   71.22%   +0.03%     
==========================================
  Files         183      184       +1     
  Lines       14326    14337      +11     
==========================================
+ Hits        10199    10212      +13     
+ Misses       3501     3499       -2     
  Partials      626      626              
Flag Coverage Δ
ubuntu 71.16% <81.48%> (-0.01%) ⬇️
windows 70.84% <81.48%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
output/cloud/metrics_client.go 80.39% <80.39%> (ø)
output/cloud/output.go 81.28% <100.00%> (+0.65%) ⬆️
lib/executor/vu_handle.go 93.33% <0.00%> (-1.91%) ⬇️
core/engine.go 86.93% <0.00%> (+1.80%) ⬆️

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 731e8df...39c7df9. Read the comment docs.

mstoykov
mstoykov previously approved these changes Mar 15, 2021
mstoykov
mstoykov previously approved these changes Mar 15, 2021
imiric
imiric previously approved these changes Mar 15, 2021
Copy link
Contributor

@imiric imiric left a comment

Choose a reason for hiding this comment

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

LGTM, but why was this done? So that we could test/mock the metric pushing?

output/cloud/metrics_client.go Outdated Show resolved Hide resolved
@na-- na-- dismissed stale reviews from imiric and mstoykov via b9f9487 March 15, 2021 14:26
@na-- na-- force-pushed the cloud-output-split branch from b9f9487 to 005c657 Compare March 15, 2021 14:27
@na--
Copy link
Member Author

na-- commented Mar 15, 2021

Yes, though mostly so we can push metrics without initializing a full-blown cloud output, if we need to.

@na-- na-- merged commit 67e33ab into master Mar 15, 2021
@na-- na-- deleted the cloud-output-split branch March 15, 2021 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants