File: unit.go

package info (click to toggle)
golang-github-docker-go-metrics 0.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-proposed-updates, forky, sid, trixie
  • size: 184 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 274 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
package metrics

// Unit represents the type or precision of a metric that is appended to
// the metrics fully qualified name
type Unit string

const (
	Nanoseconds Unit = "nanoseconds"
	Seconds     Unit = "seconds"
	Bytes       Unit = "bytes"
	Total       Unit = "total"
)