ASM Memory

Overview

Module Name in API

bigip-asm-memory

Product Name in API

device

Dimensions

Dimension Name in API Description
BIG-IP Host Name hostname The hostname given to the BIG-IP
SSG and BIG-IP Blade ssg-hostname-slot  
BIG-IP Service Cluster dsc-name Clusters of BIG-IPs grouped together to have the same config
Service Scaling Group ssg The name of the Service Scaling Group
BIG-IP Blade hostname-slot This is a combination of a BIG-IP hostname and its blade number

MetricSets

ASM Allowed XML Memory

Description

Name In API

asm-xml-total-ram

Metrics in the metricSet

Metric Name in API Unit Description
ASM XML Allowed Memory avg-value-per-event bytes  

ASM Used XML Memory

Description

Name In API

asm-xml-used-ram

Metrics in the metricSet

Metric Name in API Unit Description
Average ASM Used XML Memory avg-value-per-event %  

ASM Allowed Memory

Description

Name In API

asm-total-ram

Metrics in the metricSet

Metric Name in API Unit Description
ASM Allowed Memory avg-value-per-event bytes  

ASM Used Memory

Description

Name In API

asm-used-ram

Metrics in the metricSet

Metric Name in API Unit Description
Average ASM Used Memory avg-value-per-event %  

Examples

By Time Query

A query by time returns a series of data points in time, based on optional filters, time range, and time granularity. This query kind is identified by the keyword: “ap:query:stats:byTime”

POST https://<address>/mgmt/ap/query/v1/tenants/default/products/device/metric-query

This example for JSON body in the post, filters by dimension hostname and get the avg-value-per-event of asm-xml-total-ram

{
    "kind": "ap:query:stats:byTime",
    "module": "bigip-asm-memory",
    "timeRange": {
            "from": "-1h",
            "to": "now"
    },
    "timeGranularity": {
            "duration": 30,
            "unit": "SECONDS"
    },
    "aggregations": {
            "asm-xml-total-ram$avg-value-per-event": {
                    "metricSet": "asm-xml-total-ram",
                    "metric": "avg-value-per-event"
            }
    },
    "dimensionFilter": {
            "type": "eq",
            "dimension": "hostname",
            "value": "value to filter by"
    }
}

By Entities Query

A query by entities returns a sort set of entities, based on optional filters, time range, and choosen metric to sort by. This query kind is identified by the keyword: “ap:query:stats:byEntities”

POST https://<address>/mgmt/ap/query/v1/tenants/default/products/device/metric-query

This example for JSON body in the post, gets top entities of type hostname, sorted by avg-value-per-event of asm-xml-total-ram

{
    "kind": "ap:query:stats:byEntities",
    "module": "bigip-asm-memory",
    "timeRange": {
            "from": "-1H",
            "to": "now"
    },
    "dimension": "hostname",
    "sortMetric": "asm-xml-total-ram$avg-value-per-event",
    "sortOrder": "desc",
    "aggregations": {
            "asm-xml-total-ram$avg-value-per-event": {
                    "metricSet": "asm-xml-total-ram",
                    "metric": "avg-value-per-event"
            }
    },
    "limit": 5
}

Entities Count Query

An entities count query returns the distinct count of entities, based on optional filters, time range, and choosen entity type. This query kind is identified by the keyword: “ap:query:stats:entitiesCount”

POST https://<address>/mgmt/ap/query/v1/tenants/default/products/device/metric-query

This example for JSON body in the post, gets the distinct count of entities of type hostname

{
    "kind": "ap:query:stats:entitiesCount",
    "module": "bigip-asm-memory",
    "dimension": "hostname",
    "timeRange": {
            "from": "-1h",
            "to": "now"
    }
}