ir: Add health status #87
No reviewers
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#87
Loading…
Reference in a new issue
No description provided.
Delete branch "acid-ant/frostfs-node:feature/50-hc-for-ir"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Close #50
Signed-off-by: Anton Nikiforov an.nikiforov@yadro.com
[#50] ir: Add health statusto ir: Add health status@ -926,3 +926,3 @@
})
if cfg.GetString("metrics.address") != "" {
if cfg.GetString("prometheus.address") != "" {
Worth a separate commit.
Agree, moved in separate commit.
@ -168,2 +168,4 @@
func (s *Server) setHealthStatus(hs control.HealthStatus) {
s.healthStatus.Store(hs)
if s.metrics != nil {
s.metrics.SetHealth(int32(hs))
Does the number means the same for other services? Like 0 == HEALTHY?
We have two enums for HealthStatus - one in
control
and one inir
. But they have the same numbers for statuses. Can we move HealthStatus incommon
proto file, one for both packages?b1f2bec8d7
tob8c3b5a74d
b8c3b5a74d
to72145c2a08