mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 21:54:10 -08:00
9ea9189dd1
Currently, rendering a view is capable of handling multiple ops for the same fingerprint efficiently. However, this capability requires a lot of complexity in the code, which we are not using at all because the way we assemble a viewRequest will never have more than one operation per fingerprint. This commit weeds out the said capability, along with all the code needed for it. It is still possible to have more than one operation for the same fingerprint, it will just be handled in a less efficient way (as proven by the unit tests). As a result, scanjob.go could be removed entirely. This commit also contains a few related refactorings and removals of dead code in operation.go, view,go, and freelist.go. Also, the docstrings received some love. Change-Id: I032b976e0880151c3f3fdb3234fb65e484f0e2e5 |
||
---|---|---|
.. | ||
.gitignore | ||
compaction_regression_test.go | ||
curator.go | ||
dto.go | ||
end_to_end_test.go | ||
freelist.go | ||
helpers_test.go | ||
index.go | ||
instrumentation.go | ||
interface.go | ||
interface_test.go | ||
labelpair.go | ||
labelpair_test.go | ||
leveldb.go | ||
memory.go | ||
memory_test.go | ||
objective.go | ||
operation.go | ||
operation_test.go | ||
processor.go | ||
processor_test.go | ||
regressions_test.go | ||
rule_integration_test.go | ||
sample.go | ||
samplekey.go | ||
stochastic_test.go | ||
tiered.go | ||
tiered_test.go | ||
view.go | ||
view_test.go | ||
watermark.go |