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.

Properties
name data type description
name string Name of the Metric.
type string Type of the Metric value. Allowed types are: string, double, int, float, long, boolean, base64Binary.
value string String representation of the Metric value according to the Metric type.

Example

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