Details about the metric that the analysis used when it detected the anomaly. The metric what is analyzed to create recommendations. It includes the name of the frame that was analyzed and the type and thread states used to derive the metric value for that frame.
Type: objectProperties: 3Required: 3
AmazonAmazon Web ServicesApplication PerformanceProfilingDevOpsMachine Learning
Metric is a JSON Structure definition published by Amazon CodeGuru Profiler, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeguru-profiler/refs/heads/main/json-structure/amazon-codeguru-profiler-metric-structure.json",
"name": "Metric",
"description": " Details about the metric that the analysis used when it detected the anomaly. The metric what is analyzed to create recommendations. It includes the name of the frame that was analyzed and the type and thread states used to derive the metric value for that frame. ",
"type": "object",
"properties": {
"frameName": {
"allOf": [
{
"$ref": "#/components/schemas/String"
},
{
"description": " The name of the method that appears as a frame in any stack in a profile. "
}
]
},
"threadStates": {
"allOf": [
{
"$ref": "#/components/schemas/Strings"
},
{
"description": " The list of application runtime thread states that is used to calculate the metric value for the frame. "
}
]
},
"type": {
"allOf": [
{
"$ref": "#/components/schemas/MetricType"
},
{
"description": " A type that specifies how a metric for a frame is analyzed. The supported value <code>AggregatedRelativeTotalTime</code> is an aggregation of the metric value for one frame that is calculated across the occurences of all frames in a profile."
}
]
}
},
"required": [
"frameName",
"threadStates",
"type"
]
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.