@@ -11,11 +11,13 @@ namespace Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics
1111 [ 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)" ) ]
1212 public sealed class FunctionsSystemLogsEventSource : ExtendedEventSource
1313 {
14+ // IMPORTANT: Whenever changing schema, increment the EventSource version so that the manifest changes are registered.
15+
1416 internal static readonly FunctionsSystemLogsEventSource Instance = new FunctionsSystemLogsEventSource ( ) ;
1517
1618 [ SuppressMessage ( "Microsoft.Naming" , "CA1709:IdentifiersShouldBeCasedCorrectly" , Justification = "MDS columns names are Pascal Cased" ) ]
1719 [ 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 ) ]
1921 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 )
2022 {
2123 if ( IsEnabled ( ) )
@@ -26,7 +28,7 @@ public void RaiseFunctionsEventVerbose(string SubscriptionId, string AppName, st
2628
2729 [ SuppressMessage ( "Microsoft.Naming" , "CA1709:IdentifiersShouldBeCasedCorrectly" ) ]
2830 [ 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 ) ]
3032 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 )
3133 {
3234 if ( IsEnabled ( ) )
@@ -37,7 +39,7 @@ public void RaiseFunctionsEventInfo(string SubscriptionId, string AppName, strin
3739
3840 [ SuppressMessage ( "Microsoft.Naming" , "CA1709:IdentifiersShouldBeCasedCorrectly" ) ]
3941 [ 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 ) ]
4143 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 )
4244 {
4345 if ( IsEnabled ( ) )
@@ -48,7 +50,7 @@ public void RaiseFunctionsEventWarning(string SubscriptionId, string AppName, st
4850
4951 [ SuppressMessage ( "Microsoft.Naming" , "CA1709:IdentifiersShouldBeCasedCorrectly" ) ]
5052 [ 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 ) ]
5254 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 )
5355 {
5456 if ( IsEnabled ( ) )
@@ -57,7 +59,7 @@ public void RaiseFunctionsEventError(string SubscriptionId, string AppName, stri
5759 }
5860 }
5961
60- [ Event ( 65524 , Level = EventLevel . Informational , Channel = EventChannel . Operational , Version = 5 ) ]
62+ [ Event ( 65524 , Level = EventLevel . Informational , Channel = EventChannel . Operational , Version = 6 ) ]
6163 [ SuppressMessage ( "Microsoft.Naming" , "CA1709:IdentifiersShouldBeCasedCorrectly" ) ]
6264 [ SuppressMessage ( "Microsoft.Design" , "CA1030:UseEventsWhereAppropriate" ) ]
6365 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