New Relic · Schema

MetricDataPoint

A single metric data point

AnalysisAnalyticsAPMDevOpsInfrastructureMonitoringObservabilityPerformancePlatform

Properties

Name Type Description
name string The metric name (e.g., cpu.usage.percent)
type string The metric type
value object The metric value. For gauge and count, a number. For summary, an object with count, sum, min, and max fields.
timestamp integer Unix timestamp in milliseconds. Overrides the common timestamp for this metric.
interval.ms integer Measurement interval in milliseconds. Required for count and summary types.
attributes object Additional key-value attributes for this metric point
View JSON Schema on GitHub

JSON Schema

new-relic-metricdatapoint-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MetricDataPoint",
  "title": "MetricDataPoint",
  "type": "object",
  "description": "A single metric data point",
  "required": [
    "name",
    "type",
    "value"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The metric name (e.g., cpu.usage.percent)",
      "maxLength": 255,
      "example": "example-resource-01"
    },
    "type": {
      "type": "string",
      "description": "The metric type",
      "enum": [
        "gauge",
        "count",
        "summary"
      ],
      "example": "gauge"
    },
    "value": {
      "description": "The metric value. For gauge and count, a number. For summary, an object with count, sum, min, and max fields.",
      "oneOf": [
        {
          "type": "number"
        },
        {
          "$ref": "#/components/schemas/SummaryValue"
        }
      ],
      "example": 42.5
    },
    "timestamp": {
      "type": "integer",
      "description": "Unix timestamp in milliseconds. Overrides the common timestamp for this metric.",
      "example": 1718153645993
    },
    "interval.ms": {
      "type": "integer",
      "description": "Measurement interval in milliseconds. Required for count and summary types.",
      "example": 100
    },
    "attributes": {
      "type": "object",
      "description": "Additional key-value attributes for this metric point",
      "additionalProperties": {
        "oneOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          }
        ]
      },
      "example": {
        "customAttribute": "example_value"
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/new-relic-metricdatapoint"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.