File: ExceptionData.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 (33 lines) | stat: -rw-r--r-- 1,199 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
import "Domain.bond"
import "ExceptionDetails.bond"
import "SeverityLevel.bond"

namespace AI

[Description("An instance of Exception represents a handled or unhandled exception that occurred during execution of the monitored application.")]
struct ExceptionData
    : Domain
{
    [Description("Schema version")]
    10: required int32 	 ver = 2;
    
    [Description("Exception chain - list of inner exceptions.")]
    50: required vector<ExceptionDetails> 	 exceptions;
    
    [Description("Severity level. Mostly used to indicate exception severity level when it is reported by logging library.")]
    60: nullable<AI.SeverityLevel> 	 severityLevel;
    
    [Description("Identifier of where the exception was thrown in code. Used for exceptions grouping. Typically a combination of exception type and a function from the call stack.")]
    [MaxStringLength("1024")]
    80: string 	 problemId;
    
    [Description("Collection of custom properties.")]
    [MaxKeyLength("150")]
    [MaxValueLength("8192")]
    100: map<string, string> 	 properties;
    
    [Description("Collection of custom measurements.")]
    [MaxKeyLength("150")]
    200: map<string, double> 	 measurements;
    
}