Documentation
¶
Index ¶
Constants ¶
View Source
const (
CostRefreshInterval = 24 * time.Hour
)
Variables ¶
View Source
var ( ErrInstanceNotFound = errors.New("instance not found") ErrPriceNotFound = errors.New("price not found for instance") ErrInvalidTier = errors.New("invalid tier format") ErrRegionNotFound = errors.New("region not found in pricing") ErrCustomPriceMissing = errors.New("custom pricing (CPU/RAM) not available") )
View Source
var ( HourlyGaugeDesc = utils.GenerateDesc( cloudcost_exporter.MetricPrefix, subsystem, "cost_usd_per_hour", "Hourly cost of GCP cloudsql instances by instance name and region. Cost represented in USD/hour", []string{"instance", "region"}, ) )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.