Skip to content

node: add `neofs_node_engine_capacity` metric

Codecov / codecov/patch succeeded Nov 21, 2024 in 0s

25.71% of diff hit (target 22.87%)

View this Pull Request on Codecov

25.71% of diff hit (target 22.87%)

Annotations

Check warning on line 66 in cmd/neofs-node/main.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/main.go#L64-L66

Added lines #L64 - L66 were not covered by tests

Check warning on line 44 in cmd/neofs-node/metrics.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/metrics.go#L35-L44

Added lines #L35 - L44 were not covered by tests

Check warning on line 49 in cmd/neofs-node/metrics.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/metrics.go#L46-L49

Added lines #L46 - L49 were not covered by tests

Check warning on line 52 in cmd/neofs-node/metrics.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/metrics.go#L52

Added line #L52 was not covered by tests

Check warning on line 58 in cmd/neofs-node/metrics.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/metrics.go#L55-L58

Added lines #L55 - L58 were not covered by tests

Check warning on line 60 in cmd/neofs-node/metrics.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/metrics.go#L60

Added line #L60 was not covered by tests

Check warning on line 63 in cmd/neofs-node/metrics.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/neofs-node/metrics.go#L63

Added line #L63 was not covered by tests

Check warning on line 226 in pkg/metrics/engine.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/metrics/engine.go#L225-L226

Added lines #L225 - L226 were not covered by tests