Metric is a JSON Structure definition published by Amazon Lookout for Metrics, describing 3 properties, of which 2 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-lookout-for-metrics/refs/heads/main/json-structure/amazon-lookout-for-metrics-metric-structure.json",
"name": "Metric",
"description": "A calculation made by contrasting a measure and a dimension from your source data.",
"type": "object",
"properties": {
"MetricName": {
"allOf": [
{
"$ref": "#/components/schemas/ColumnName"
},
{
"description": "The name of the metric."
}
]
},
"AggregationFunction": {
"allOf": [
{
"$ref": "#/components/schemas/AggregationFunction"
},
{
"description": "The function with which the metric is calculated."
}
]
},
"Namespace": {
"allOf": [
{
"$ref": "#/components/schemas/Namespace"
},
{
"description": "The namespace for the metric."
}
]
}
},
"required": [
"MetricName",
"AggregationFunction"
]
}
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and
Terms.