June 20-22 Announcing HashiConf Europe full schedule: keynotes, sessions, labs & more Register Now
  • Overview
    • Batch Processing Workloads
    • Edge Workload Management
    • Non-Containerized Application Orchestration
    • Simple Container Orchestration
  • Enterprise
  • Tutorials
  • Docs
  • API
  • Plugins
  • Tools
  • Community
GitHub—Stars on GitHub
Download
    • Overview
      • Overview
      • apm
      • dynamic_application_sizing
      • http
      • nomad
      • policy
      • policy_eval
      • source
      • strategy
      • target
      • telemetry
    • API
    • CLI
    • Policy
    • Telemetry
      • Overview
        • Overview
        • Datadog
        • Nomad API
        • Prometheus
        • Overview
        • Dynamic Application Sizing Average
        • Dynamic Application Sizing Max
        • Dynamic Application Sizing Percentile
        • Fixed Value
        • Pass-Through
        • Target Value
        • Threshold
        • Overview
        • Amazon Web Services Autoscaling Group
        • Azure Virtual Machine Scale Set
        • Dynamic Application Sizing
        • Google Cloud Engine Managed Instance Group
        • Nomad Task Group
      • Community
      • Overview
      • Checks
      • Node Selector Strategy
        • Overview
        • Base
        • APM
        • Strategy
        • Target
Type '/' to Search

»Pass-Through Strategy Plugin

The pass-through strategy is a very simple, yet useful strategy. It does not add any extra computation on top of the metric query result, and instead uses the APM query result as the scaling count. It doesn't have any configuration options.

This allows the Nomad Autoscaler to be integrated into systems where the scaling computation is done externally like an edge router, or easily derived from a query such as running one allocation per item in a queue.

»Agent Configuration Options

strategy "pass-through" {
  driver = "pass-through"
}
strategy "pass-through" {
  driver = "pass-through"
}

»Policy Configuration Options

check "pass-through-check" {
  # ...
  strategy "pass-through" {}
  # ...
}
check "pass-through-check" {
  # ...
  strategy "pass-through" {}
  # ...
}

The pass-through plugin doesn't have any configuration.

github logoEdit this page
DocsAPIResourcesPrivacySecurityPress KitConsent Manager