A newer version is available. For the latest information, see the
current release documentation.
Metricsedit
Metrics contain application metric data captured by an APM agent.
Metric Schemaedit
The APM Server uses JSON Schema for validating requests. The specification for metrics is defined below:
{ "$id": "docs/spec/metricsets/metricset.json", "type": "object", "description": "Data captured by an agent representing an event occurring in a monitored service", "allOf": [ { "$ref": "../timestamp_epoch.json"}, { "properties": { "samples": { "type": [ "object" ], "description": "Sampled application metrics collected from the agent.", "patternProperties": { "^[^*\"]*$": { "$ref": "sample.json" } }, "additionalProperties": false }, "tags": { "$ref": "../tags.json" } }, "required": ["samples"] }, {"required": ["timestamp"], "properties": {"timestamp": { "type": "integer" }}} ] }