metric element

Type: edcMetric
XML Schema: edc.xsd

EdcMetric represents an instance of a metric published as part of the message. The metric is defined by a name, a type and a value. The name is an alphanumeric string. The type is expressed as a string and can be one of the following values: string, double, int, float, long boolean, base64Binary. The value is the string representation of the corresponding value object. For the primitive types, the conversion is straight forward. Values of type base64Binary represent a metric of type byte array; in this case, the metric value is serialized into a base64 encoded string.

Example XML

<?xml version="1.0" encoding="UTF-8"?> <metric xmlns=""> <name>...</name> <type>...</type> <value>...</value> </metric>

Example JSON

{ "name" : "...", "type" : "...", "value" : "..." }