refactor(metrics): separate metrics recorder impl from the server #2561
1.52% of diff hit (target 69.44%)
View this Pull Request on Codecov
1.52% of diff hit (target 69.44%)
Annotations
Check warning on line 304 in bin/torii/src/main.rs
codecov / codecov/patch
bin/torii/src/main.rs#L300-L304
Added lines #L300 - L304 were not covered by tests
Check warning on line 102 in crates/katana/node/src/lib.rs
codecov / codecov/patch
crates/katana/node/src/lib.rs#L102
Added line #L102 was not covered by tests
Check warning on line 109 in crates/katana/node/src/lib.rs
codecov / codecov/patch
crates/katana/node/src/lib.rs#L108-L109
Added lines #L108 - L109 were not covered by tests
Check warning on line 112 in crates/katana/node/src/lib.rs
codecov / codecov/patch
crates/katana/node/src/lib.rs#L111-L112
Added lines #L111 - L112 were not covered by tests
Check warning on line 157 in crates/katana/node/src/lib.rs
codecov / codecov/patch
crates/katana/node/src/lib.rs#L157
Added line #L157 was not covered by tests
Check warning on line 33 in crates/metrics/src/exporters/prometheus.rs
codecov / codecov/patch
crates/metrics/src/exporters/prometheus.rs#L25-L33
Added lines #L25 - L33 were not covered by tests
Check warning on line 35 in crates/metrics/src/exporters/prometheus.rs
codecov / codecov/patch
crates/metrics/src/exporters/prometheus.rs#L35
Added line #L35 was not covered by tests
Check warning on line 40 in crates/metrics/src/exporters/prometheus.rs
codecov / codecov/patch
crates/metrics/src/exporters/prometheus.rs#L37-L40
Added lines #L37 - L40 were not covered by tests
Check warning on line 45 in crates/metrics/src/exporters/prometheus.rs
codecov / codecov/patch
crates/metrics/src/exporters/prometheus.rs#L43-L45
Added lines #L43 - L45 were not covered by tests
Check warning on line 51 in crates/metrics/src/exporters/prometheus.rs
codecov / codecov/patch
crates/metrics/src/exporters/prometheus.rs#L49-L51
Added lines #L49 - L51 were not covered by tests
Check warning on line 22 in crates/metrics/src/lib.rs
codecov / codecov/patch
crates/metrics/src/lib.rs#L22
Added line #L22 was not covered by tests
Check warning on line 45 in crates/metrics/src/lib.rs
codecov / codecov/patch
crates/metrics/src/lib.rs#L43-L45
Added lines #L43 - L45 were not covered by tests
Check warning on line 11 in crates/metrics/src/process.rs
codecov / codecov/patch
crates/metrics/src/process.rs#L6-L11
Added lines #L6 - L11 were not covered by tests
Check warning on line 14 in crates/metrics/src/process.rs
codecov / codecov/patch
crates/metrics/src/process.rs#L14
Added line #L14 was not covered by tests
Check warning on line 17 in crates/metrics/src/process.rs
codecov / codecov/patch
crates/metrics/src/process.rs#L16-L17
Added lines #L16 - L17 were not covered by tests
Check warning on line 20 in crates/metrics/src/process.rs
codecov / codecov/patch
crates/metrics/src/process.rs#L19-L20
Added lines #L19 - L20 were not covered by tests
Check warning on line 23 in crates/metrics/src/process.rs
codecov / codecov/patch
crates/metrics/src/process.rs#L22-L23
Added lines #L22 - L23 were not covered by tests
Check warning on line 26 in crates/metrics/src/process.rs
codecov / codecov/patch
crates/metrics/src/process.rs#L26
Added line #L26 was not covered by tests
Check warning on line 30 in crates/metrics/src/process.rs
codecov / codecov/patch
crates/metrics/src/process.rs#L28-L30
Added lines #L28 - L30 were not covered by tests
Check warning on line 33 in crates/metrics/src/process.rs
codecov / codecov/patch
crates/metrics/src/process.rs#L32-L33
Added lines #L32 - L33 were not covered by tests
Check warning on line 36 in crates/metrics/src/process.rs
codecov / codecov/patch
crates/metrics/src/process.rs#L36
Added line #L36 was not covered by tests
Check warning on line 40 in crates/metrics/src/process.rs
codecov / codecov/patch
crates/metrics/src/process.rs#L38-L40
Added lines #L38 - L40 were not covered by tests
Check warning on line 43 in crates/metrics/src/process.rs
codecov / codecov/patch
crates/metrics/src/process.rs#L42-L43
Added lines #L42 - L43 were not covered by tests
Check warning on line 46 in crates/metrics/src/process.rs
codecov / codecov/patch
crates/metrics/src/process.rs#L46
Added line #L46 was not covered by tests
Check warning on line 50 in crates/metrics/src/process.rs
codecov / codecov/patch
crates/metrics/src/process.rs#L48-L50
Added lines #L48 - L50 were not covered by tests