Skip to content

feat: add kvstore-manager to collect kvstore metrics#35

Open
AGT-H wants to merge 1 commit intoK-Yo:mainfrom
AGT-H:add-kvstore-manager
Open

feat: add kvstore-manager to collect kvstore metrics#35
AGT-H wants to merge 1 commit intoK-Yo:mainfrom
AGT-H:add-kvstore-manager

Conversation

@AGT-H
Copy link
Copy Markdown
Collaborator

@AGT-H AGT-H commented Mar 30, 2026

No description provided.

@AGT-H AGT-H requested a review from K-Yo March 30, 2026 15:58
}

ret := true
server := "local" // Default server identifier
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ça le fixe pour toutes les métriques, non? ça serait pas mieux de le récupérer depuis le champ url dans la conf? ou sinon màj la doc pour prévenir que ça sera toujours "local"

Comment on lines +199 to +205
type mockCollector struct {
metrics []prometheus.Metric
}

func (m *mockCollector) Collect(metric prometheus.Metric) {
m.metrics = append(m.metrics, metric)
}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c’est pas utilisé ça, si?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants