[#199] Add metrics for HTTP endpoint status #201
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
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-s3-gw#201
Loading…
Reference in a new issue
No description provided.
Delete branch "mbiryukova/frostfs-s3-gw:feature/add_metrics_for_http_endpoints"
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?
Closes #199
Signed-off-by: Marina Biryukova m.biryukova@yadro.com
d7a9835951
toea23c69838
Overall LGTM
@ -0,0 +3,4 @@
import "github.com/prometheus/client_golang/prometheus"
const (
httpServerSubsystem = "http_server"
Let's use
server
here too as in HTTP gateway. S3 works only through http protocol.ea23c69838
to02e7d71bd7
02e7d71bd7
to63cdc9f0d7
@ -137,0 +140,4 @@
Namespace: namespace,
Subsystem: serverSubsystem,
Name: httpHealthMetric,
Help: "HTTP Server endpoint health",
Probably we should use
S3 Server endpoint health
I thought it's name of protocol (http/grpc)
63cdc9f0d7
tof912a89faa
f912a89faa
to879e2bb695