m
This commit is contained in:
@@ -40,9 +40,15 @@ counter registry_push_upload_seconds_total by repo, user, node
|
||||
}
|
||||
|
||||
/$/ {
|
||||
repo == "" { repo = "unknown" }
|
||||
user == "" { user = "anonymous" }
|
||||
node == "" { node = "unknown" }
|
||||
if repo == "" {
|
||||
repo = "unknown"
|
||||
}
|
||||
if user == "" {
|
||||
user = "anonymous"
|
||||
}
|
||||
if node == "" {
|
||||
node = "unknown"
|
||||
}
|
||||
}
|
||||
|
||||
/"upstream_range":"([0-9]+)-([0-9]+)"/ {
|
||||
|
||||
Reference in New Issue
Block a user