[#150] Add dropped logs metric #169
No reviewers
Labels
No labels
P0
P1
P2
P3
good first issue
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-http-gw#169
Loading…
Reference in a new issue
No description provided.
Delete branch "pogpp/frostfs-http-gw:feature/150_dropped_logs"
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 #150
Signed-off-by: Pavel Pogodaev p.pogodaev@yadro.com
See comments from TrueCloudLab/frostfs-s3-gw#557
1858668e53
toe9692320d6
e9692320d6
to329cff1bb1
Please fix integration tests (
cmd/http-gw/integration_test.go
)@ -72,1 +73,4 @@
loggerSettings struct {
mu sync.RWMutex
appMetrics *AppMetrics
I would use here
*metrics.GateMetrics
instead of*AppMetrics
or accessAppMetrics.provider
(inloggerSettings.DroppedLogsInc
respectingAppMetrics.enabled
like inAppMetrics.MarkHealthy
)@ -80,3 +85,1 @@
Option func(a *app)
gateMetrics struct {
AppMetrics struct {
Do we really need change
gateMetrics
toAppMetrics
?@ -76,6 +77,10 @@ type stateMetrics struct {
versionInfo *prometheus.GaugeVec
}
type StatisticMetrics struct {
Do we need this type be exported?
329cff1bb1
to0631d7bbc1
@ -42,2 +44,4 @@
cert *tls.Certificate
}
Logger struct {
Why do we add this struct to this file?
LGTM, but please move
Logger
struct to app.go or settings.go0631d7bbc1
toe81f01c2ab
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings