Closed RobAtticus closed 5 years ago
Merging #87 into master will increase coverage by
3.99%
. The diff coverage is87.1%
.
@@ Coverage Diff @@
## master #87 +/- ##
==========================================
+ Coverage 64.96% 68.96% +3.99%
==========================================
Files 84 102 +18
Lines 4282 5484 +1202
==========================================
+ Hits 2782 3782 +1000
- Misses 1463 1637 +174
- Partials 37 65 +28
Impacted Files | Coverage Δ | |
---|---|---|
...sbs_generate_queries/databases/cassandra/devops.go | 7.89% <ø> (-17.11%) |
:arrow_down: |
.../tsbs_generate_queries/databases/cratedb/devops.go | 98.43% <ø> (+1.29%) |
:arrow_up: |
internal/inputs/utils.go | 78.26% <ø> (ø) |
:arrow_up: |
cmd/tsbs_load_clickhouse/main.go | 34.48% <ø> (ø) |
:arrow_up: |
...d/tsbs_generate_queries/databases/siridb/devops.go | 100% <ø> (ø) |
:arrow_up: |
cmd/tsbs_load_clickhouse/process.go | 2.03% <0%> (-0.38%) |
:arrow_down: |
...sbs_generate_queries/uses/devops/single_groupby.go | 0% <0%> (ø) |
:arrow_up: |
...d/tsbs_generate_queries/uses/devops/max_all_cpu.go | 0% <0%> (ø) |
:arrow_up: |
cmd/tsbs_generate_queries/uses/devops/high_cpu.go | 0% <0%> (ø) |
:arrow_up: |
cmd/tsbs_generate_data/serialize/util.go | 90.9% <0%> (-9.1%) |
:arrow_down: |
... and 72 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 57922da...c6682db. Read the comment docs.
This PR introduces a new use case to TSBS alongside the original devops use case: IoT.
This use case is based on a scenario where a trucking company has outfitted their trucks with devices to report back various metrics, including fuel levels, load levels, and location. Given that IoT data can be spotty or delayed due to incomplete Internet coverage, we also introduce a way for TSBS to reorder, drop, or otherwise manipulate data before it is loaded into the database.
Currently only TimescaleDB and InfluxDB have support for this new use case, but more should come in the future and we welcome additional PRs.