@@ -11,11 +11,13 @@ namespace Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics
11
11
[ SuppressMessage ( "StyleCop.CSharp.NamingRules" , "SA1313:ParameterNamesMustBeginWithLowerCaseLetter" , Justification = "MDS columns names need to Pascal case" , Scope = "member" , Target = "~M:Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.EventGenerator.FunctionsSystemLogsEventSource)" ) ]
12
12
public sealed class FunctionsSystemLogsEventSource : ExtendedEventSource
13
13
{
14
+ // IMPORTANT: Whenever changing schema, increment the EventSource version so that the manifest changes are registered.
15
+
14
16
internal static readonly FunctionsSystemLogsEventSource Instance = new FunctionsSystemLogsEventSource ( ) ;
15
17
16
18
[ SuppressMessage ( "Microsoft.Naming" , "CA1709:IdentifiersShouldBeCasedCorrectly" , Justification = "MDS columns names are Pascal Cased" ) ]
17
19
[ SuppressMessage ( "Microsoft.Design" , "CA1030:UseEventsWhereAppropriate" ) ]
18
- [ Event ( 65520 , Level = EventLevel . Verbose , Channel = EventChannel . Operational , Version = 4 ) ]
20
+ [ Event ( 65520 , Level = EventLevel . Verbose , Channel = EventChannel . Operational , Version = 5 ) ]
19
21
public void RaiseFunctionsEventVerbose ( string SubscriptionId , string AppName , string FunctionName , string EventName , string Source , string Details , string Summary , string HostVersion , string EventTimestamp , string FunctionInvocationId , string HostInstanceId , string RuntimeSiteName )
20
22
{
21
23
if ( IsEnabled ( ) )
@@ -26,7 +28,7 @@ public void RaiseFunctionsEventVerbose(string SubscriptionId, string AppName, st
26
28
27
29
[ SuppressMessage ( "Microsoft.Naming" , "CA1709:IdentifiersShouldBeCasedCorrectly" ) ]
28
30
[ SuppressMessage ( "Microsoft.Design" , "CA1030:UseEventsWhereAppropriate" ) ]
29
- [ Event ( 65521 , Level = EventLevel . Informational , Channel = EventChannel . Operational , Version = 4 ) ]
31
+ [ Event ( 65521 , Level = EventLevel . Informational , Channel = EventChannel . Operational , Version = 5 ) ]
30
32
public void RaiseFunctionsEventInfo ( string SubscriptionId , string AppName , string FunctionName , string EventName , string Source , string Details , string Summary , string HostVersion , string EventTimestamp , string FunctionInvocationId , string HostInstanceId , string RuntimeSiteName )
31
33
{
32
34
if ( IsEnabled ( ) )
@@ -37,7 +39,7 @@ public void RaiseFunctionsEventInfo(string SubscriptionId, string AppName, strin
37
39
38
40
[ SuppressMessage ( "Microsoft.Naming" , "CA1709:IdentifiersShouldBeCasedCorrectly" ) ]
39
41
[ SuppressMessage ( "Microsoft.Design" , "CA1030:UseEventsWhereAppropriate" ) ]
40
- [ Event ( 65522 , Level = EventLevel . Warning , Channel = EventChannel . Operational , Version = 4 ) ]
42
+ [ Event ( 65522 , Level = EventLevel . Warning , Channel = EventChannel . Operational , Version = 5 ) ]
41
43
public void RaiseFunctionsEventWarning ( string SubscriptionId , string AppName , string FunctionName , string EventName , string Source , string Details , string Summary , string HostVersion , string EventTimestamp , string FunctionInvocationId , string HostInstanceId , string RuntimeSiteName )
42
44
{
43
45
if ( IsEnabled ( ) )
@@ -48,7 +50,7 @@ public void RaiseFunctionsEventWarning(string SubscriptionId, string AppName, st
48
50
49
51
[ SuppressMessage ( "Microsoft.Naming" , "CA1709:IdentifiersShouldBeCasedCorrectly" ) ]
50
52
[ SuppressMessage ( "Microsoft.Design" , "CA1030:UseEventsWhereAppropriate" ) ]
51
- [ Event ( 65523 , Level = EventLevel . Error , Channel = EventChannel . Operational , Version = 4 ) ]
53
+ [ Event ( 65523 , Level = EventLevel . Error , Channel = EventChannel . Operational , Version = 5 ) ]
52
54
public void RaiseFunctionsEventError ( string SubscriptionId , string AppName , string FunctionName , string EventName , string Source , string Details , string Summary , string HostVersion , string EventTimestamp , string InnerExceptionType , string InnerExceptionMessage , string FunctionInvocationId , string HostInstanceId , string RuntimeSiteName )
53
55
{
54
56
if ( IsEnabled ( ) )
@@ -57,7 +59,7 @@ public void RaiseFunctionsEventError(string SubscriptionId, string AppName, stri
57
59
}
58
60
}
59
61
60
- [ Event ( 65524 , Level = EventLevel . Informational , Channel = EventChannel . Operational , Version = 5 ) ]
62
+ [ Event ( 65524 , Level = EventLevel . Informational , Channel = EventChannel . Operational , Version = 6 ) ]
61
63
[ SuppressMessage ( "Microsoft.Naming" , "CA1709:IdentifiersShouldBeCasedCorrectly" ) ]
62
64
[ SuppressMessage ( "Microsoft.Design" , "CA1030:UseEventsWhereAppropriate" ) ]
63
65
public void LogFunctionMetricEvent ( string SubscriptionId , string AppName , string FunctionName , string EventName , long Average , long Minimum , long Maximum , long Count , string HostVersion , string EventTimestamp , string Data , string RuntimeSiteName )
0 commit comments