units

package
v0.1.104 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package units contains unit definitions for statz

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Unit

type Unit string

Unit is a determinate standard quantity of measurement.

const (
	Dimensionless Unit = "1"
	Bytes         Unit = "By"
	Bit           Unit = "bit"
	Milliseconds  Unit = "ms"
	Microseconds  Unit = "us"
	Second        Unit = "s"
	Minute        Unit = "min"
	Hour          Unit = "h"
	Day           Unit = "d"
)

Units to give hint to Cloud Monitoring. See units from: https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors#MetricDescriptor

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL