File: DataPoint.bond

package info (click to toggle)
python-applicationinsights 0.11.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 876 kB
  • sloc: python: 5,948; makefile: 151; sh: 77
file content (34 lines) | stat: -rw-r--r-- 1,152 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import "DataPointType.bond"

namespace AI

[Description("Metric data single measurement.")]
struct DataPoint
{
    [Description("Namespace of the metric.")]
    [MaxStringLength("256")]
    5:  string 	           ns;
    
    [Description("Name of the metric.")]
    [MaxStringLength("1024")]
    10: required string 	 name;
    
    [Description("Metric type. Single measurement or the aggregated value.")]
    20: AI.DataPointType 	 kind = Measurement;
    
    [Description("Single value for measurement. Sum of individual measurements for the aggregation.")]
    30: required double 	 value;
    
    [Description("Metric weight of the aggregated metric. Should not be set for a measurement.")]
    40: nullable<int32> 	 count;
    
    [Description("Minimum value of the aggregated metric. Should not be set for a measurement.")]
    50: nullable<double> 	 min;
    
    [Description("Maximum value of the aggregated metric. Should not be set for a measurement.")]
    60: nullable<double> 	 max;
    
    [Description("Standard deviation of the aggregated metric. Should not be set for a measurement.")]
    70: nullable<double> 	 stdDev;
    
}