Skip to content

appd get-metrics-data

Get metric data

Description

Get values generated for metrics

Synopsis

appd get-metrics-data
    [--site <site>]
    [--cluster <cluster>]
    <application>
    <metric_path>
    [--start_time <start_time>]
    [--end_time <end_time>]

Arguments

site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default: input.site      Attributes: optional

cluster - (string)

     Name of elastic search cluster
     Example: --cluster "appdynamics-default"
     Default: appdynamics-default      Attributes: optional

application - (string)

     application name or ID
     Example: "app-1"
     Default: _None_      Attributes: required

metric_path - (string)

     path to the metric in the metric data
     Example: "Overall Application Performance"
     Default: _None_      Attributes: required

start_time - (time)

     time from which to get metrics data
     Example: --start_time "15m ago"
     Default: 15m ago      Attributes: optional

end_time - (time)

     time to which to get metrics data
     Example: --end_time "now"
     Default: now      Attributes: optional

Examples

appd get-metrics-data "app-1" "Overall Application Performance"

Access Control

To use this command, you need access to the following:

Field Value
Action "read"
Service Type "appd"
Service Instance cluster
Namespace
Object Type "application"
Object ID application

Please see Access Control for details.