freerware / work

A compact library for tracking and committing changes to your entities.
Apache License 2.0
59 stars 2 forks source link

Introduce metrics for successful unit inserts, updates, and deletes. #51

Closed fr33r closed 3 years ago

fr33r commented 3 years ago

Description

Introduce the following metrics that track successful inserts, updates, and deletes.

Rationale

These metrics can provide a means of understand unit throughput, as they communicate the amount of entities involved in unit operations.

Suggested Version

v4.0.0-beta.2

Example Usage

N/A

codecov[bot] commented 3 years ago

Codecov Report

Merging #51 (fe25947) into master (663c536) will increase coverage by 0.04%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #51      +/-   ##
==========================================
+ Coverage   90.75%   90.79%   +0.04%     
==========================================
  Files          20       20              
  Lines        1200     1206       +6     
==========================================
+ Hits         1089     1095       +6     
  Misses         98       98              
  Partials       13       13              
Impacted Files Coverage Δ
v4/unit.go 100.00% <ø> (ø)
v4/best_effort_unit.go 87.50% <100.00%> (+0.25%) :arrow_up:
v4/sql_unit.go 93.68% <100.00%> (+0.20%) :arrow_up:

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 663c536...fe25947. Read the comment docs.