faastjs > CostAnalyzer > WorkloadAttribute
CostAnalyzer.WorkloadAttribute type
User-defined custom metrics for a workload. These are automatically summarized in the output; see CostAnalyzer.Workload.
Signature:
type WorkloadAttribute<A extends string> = {
[attr in A]: number;
};