Events API
Kubecost emits events when certain things happen. Those events are also recorded in an event log in the interest of diagnosing problems.
Events API
GET
http://<your-kubecost-address>/model/etl/log
Accesses the most recent events in the event log
Path Parameters
window
string
kind
string
Filter query by event kind (see below).
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:
You can also view all substrings between Allocations or Assets. For example, the following endpoint will retrieve all event kinds beginning with AssetSet
:
Allocation outputs should be interpreted as:
AllocationSetSaved
describes a saved AllocationSetAllocationSetLoaded
describes a loaded AllocationSetAllocationSetAggregated
describes aggregating an AllocationSetAllocationSetTotaled
describes totaling an AllocationSetAllocationSetReconciled
describes reconciling an AllocationSetAllocationSetComputeError
describes an error in computationAllocationSetReconcileError
describes an error in reconciliation
Assets outputs should be interepreted as:
AssetSetSaved
describes a saved AssetSetAssetSetLoaded
describes a loaded AssetSetAssetSetAggregated
describes aggregating an AssetSetAssetSetTotaled
describes totaling an AssetSetAssetSetReconciled
describes reconciling an AssetSetAssetSetComputeError
describes an error in computationAssetSetReconcileError
describes an error in reconciliation
Underneath each event kind
, you should see size
and/or window
returned, which are:
size
: number of records in the setwindow
: window of the set
This log will additionally be appended to bug reports.
Last updated