mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
This turns the uint64 metric constructor arguments into a struct, making it more explicit as to what each part means. It also allows the creation of non-cumulative uint64 (gauge) metrics, and adds methods to decrement or set them. PiperOrigin-RevId: 647134245
16 lines
310 B
Python
16 lines
310 B
Python
load("//tools:defs.bzl", "go_library")
|
|
|
|
package(default_applicable_licenses = ["//:license"])
|
|
|
|
licenses(["notice"])
|
|
|
|
go_library(
|
|
name = "fsmetric",
|
|
srcs = ["fsmetric.go"],
|
|
visibility = ["//pkg/sentry:internal"],
|
|
deps = [
|
|
"//pkg/metric",
|
|
"//pkg/metric:metric_go_proto",
|
|
],
|
|
)
|