id | title | hide_title |
---|---|---|
faastjs.costanalyzer.workloadattribute |
CostAnalyzer.WorkloadAttribute type |
true |
faastjs > CostAnalyzer > WorkloadAttribute
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;
};