Documentation ¶
Overview ¶
Package ephemeral_storage has utilities for logging ephemeral (/tmp) disk usage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomUsageViaStructuredLogging ¶
CustomUsageViaStructuredLogging emits JSON to stdout describing the usage of a directory.
The JSON emitted on a single line will be picked up by StackDriver as a structured log.
func Start ¶
Start does a period call to UsageViaStructuredLogging(). It does not return, so it should be run as a Go routine.
If the context is cancelled then Start will return.
func StartCustom ¶
StartCustom does a period call to UsageViaStructuredLogging(). It does not return, so it should be run as a Go routine.
If the context is cancelled then Start will return.
func UsageViaStructuredLogging ¶
usageViaStructuredLogging emits JSON to stdout describing the usage of /tmp.
The JSON emitted on a single line will be picked up by StackDriver as a structured log.
Types ¶
This section is empty.