Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 657 Bytes

faastjs.costanalyzer.workloadattribute.md

File metadata and controls

20 lines (15 loc) · 657 Bytes
id title hide_title
faastjs.costanalyzer.workloadattribute
CostAnalyzer.WorkloadAttribute type
true

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;
    };