File: MetricData.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 (21 lines) | stat: -rw-r--r-- 683 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
import "Domain.bond"
import "DataPoint.bond"

namespace AI

[Description("An instance of the Metric item is a list of measurements (single data points) and/or aggregations.")]
struct MetricData
    : Domain
{
    [Description("Schema version")]
    10: required int32 	 ver = 2;
    
    [Description("List of metrics. Only one metric in the list is currently supported by Application Insights storage. If multiple data points were sent only the first one will be used.")]
    20: required vector<DataPoint> 	 metrics;
    
    [Description("Collection of custom properties.")]
    [MaxKeyLength("150")]
    [MaxValueLength("8192")]
    100: map<string, string> 	 properties;
    
}