Skip to content

An APM plugin for nomad-autoscaler that allows querying for metrics from Dynatrace

License

Notifications You must be signed in to change notification settings

t-davies/nomad-autoscaler-dynatrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynatrace APM Plugin

ci release

The dynatrace-apm APM plugin allows querying for metrics from Dynatrace.

Agent Configuration Options

apm "dynatrace" {
  driver = "dynatrace-apm"

  config = {
    tenant_url = "https://{your-environment-id}.live.dynatrace.com"
    api_token  = "dt0s01.XXXXXXXXXXXXXXX"
  }
}
  • tenant_url (string: <required>) - the URL of the Dynatrace tenant to query
  • api_token (string: <required>) - the access token to use to authenticate with Dynatrace

The Dynatrace plugin can also read its configuration options from environment variables. The accepted keys are DYNATRACE_TENANT_URL and DYNATRACE_API_TOKEN. The agent configuration parameters take precedence over the environment variables.

Policy Configuration Options

check {
  source = "dynatrace"
  query  = "nomad.client.allocs.cpu.total_percent:filter(eq(task,example-task-name)):avg"
}

About

An APM plugin for nomad-autoscaler that allows querying for metrics from Dynatrace

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages