Search…
⌃K
Links

Events API

Kubecost emits events when certain things happen. Those events are also recorded in an event log in the interest of diagnosing problems.
get
http://<your-kubecost-address>/model/etl
/log
Events API

Event kinds

All event kinds below will appear in the body of the output by default. You can filter for specific event kinds using the kind parameter. For example, to see only AllocationSetSaved in the output, your endpoint will look like:
http://<your-kubecost-address>/model/etl/log?kind=AllocationSetSaved
You can also view all substrings between Allocations or Assets. For example, the following endpoint will retrieve all event kinds beginning with AssetSet:
http://<your-kubecost-address>/model/etl/log?kind=AssetSet
  • AllocationSetSaved describes a saved AllocationSet
    • size: number of records in the set
    • window: window of the set
  • AllocationSetLoaded describes a loaded AllocationSet
    • size: number of records in the set
    • window: window of the set
  • AllocationSetAggregated describes aggregating an AllocationSet
    • size: number of records in the set
    • window: window of the set
  • AllocationSetTotaled describes totaling an AllocationSet
    • window: window of the set
  • AllocationSetReconciled describes reconciling an AllocationSet
    • window: window of the set
  • AllocationSetComputeError describes an error in computation
  • AllocationSetReconcileError describes an error in reconciliation
  • AssetSetSaved described a saved AssetSet
    • size: number of records in the set
    • window: window of the set
  • AssetSetLoaded described a loaded AssetSet
    • size: number of records in the set
    • window: window of the set
  • AssetSetAggregated described aggregating an AssetSet
    • size: number of records in the set
    • window: window of the set
  • AssetSetTotaled described totaling an AssetSet
    • window: window of the set
  • AssetSetReconciled described reconciling an AssetSet
    • window: window of the set
  • AssetSetComputeError described an error in computation
  • AssetSetReconcileError described an error in reconciliation
This log will additionally be appended to bug reports.