The metrics listed below are emitted by Kubecost and scraped by Prometheus to help monitor the status of Kubecost data pipelines:
kubecost_allocation_data_status
, which presents the active allocation data's time series statuskubecost_asset_data_status
, which presents the time series status of the active asset data
These metrics provide data status through to proactively alert and analyze the allocation and asset data at a point in time.
The metrics below depict the status of active allocation data at a point in time. The resolution is either daily or hourly, which aligns one-to-one with the data status of allocation daily and hourly store. Each hourly and daily stores have four types of status
- Empty: Depicts the total number of empty allocationSet in each store hourly or daily at a point in time.
- Error: Depicts the total number of errors in the allocationSet in each store hourly or daily at a point in time.
- Success: Depicts the total number of successful allocationSet in each store hourly or daily at a point in time.
- Warning: Depicts the total number of warnings in all allocationSet in each store hourly or daily at a point in time.
The metrics below depict the status of active asset data at a point in time. The resolution is either daily or hourly, which aligns one-to-one with the data status of asset daily and hourly store. Each hourly and daily stores have four types of status
- Empty: Depicts the total number of empty assetSet in each store hourly or daily at a point in time.
- Error: Depicts the total number of errors in the assetSet in each store hourly or daily at a point in time.
- Success: Depicts the total number of successful assetSet in each store hourly or daily at a point in time.
- Warning: Depicts the total number of warnings in all assetSet in each store hourly or daily at a point in time.
kubecost_asset_data_status
is written to Prometheus during the assetSet and assetLoad events.kubecost_allocation_data_status
is written to Prometheus during the allocationSet and allocationLoad events.- During the cleanup operation, the corresponding entries of each allocation and asset are deleted to avoid the metrics having those particular entries having parity with respective allocation and asset stores.