faast.js

faast.js

  • Docs
  • API
  • Community
  • GitHub
  • Blog

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;
    };
  • CostAnalyzer.WorkloadAttribute type
faast.js
Docs
IntroductionAPI ReferenceContributingExamples
Community
DiscordTwitterStack Overflow
More
BlogUser Showcase
Copyright © 2025 Andy Chou