edcMetric Data Type

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.

Namespace
http://eurotech.com/edc/2.0
Schema
edc.xsd
Properties
name data type type namespace min/max occurs description
name string element edc 0/1 Name of the Metric.
type string element edc 0/1 Type of the Metric value. Allowed types are: string, double, int, float, long, boolean, base64Binary.
value string element edc 0/1 String representation of the Metric value according to the Metric type.

Example

<metric xmlns="http://eurotech.com/edc/2.0">
  <name>...</name>
  <type>...</type>
  <value>...</value>
</metric>