MetricDataPoint is a JSON Structure definition published by New Relic, describing 6 properties, of which 3 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.
{
"type": "object",
"description": "A single metric data point",
"name": "MetricDataPoint",
"properties": {
"name": {
"type": "string",
"description": "The metric name (e.g., cpu.usage.percent)"
},
"type": {
"type": "string",
"description": "The metric type",
"enum": [
"gauge",
"count",
"summary"
]
},
"value": {
"type": "object",
"description": "The metric value. For gauge and count, a number. For summary, an object with count, sum, min, and max fields."
},
"timestamp": {
"type": "integer",
"description": "Unix timestamp in milliseconds. Overrides the common timestamp for this metric."
},
"interval.ms": {
"type": "integer",
"description": "Measurement interval in milliseconds. Required for count and summary types."
},
"attributes": {
"type": "object",
"description": "Additional key-value attributes for this metric point"
}
},
"required": [
"name",
"type",
"value"
],
"$schema": "https://json-structure.org/draft/2020-12/schema"
}
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.