diff --git a/src/OpenTelemetry.Instrumentation.ElasticsearchClient/Implementation/ElasticsearchInstrumentationEventSource.cs b/src/OpenTelemetry.Instrumentation.ElasticsearchClient/Implementation/ElasticsearchInstrumentationEventSource.cs index b64236af50..757eb90ce9 100644 --- a/src/OpenTelemetry.Instrumentation.ElasticsearchClient/Implementation/ElasticsearchInstrumentationEventSource.cs +++ b/src/OpenTelemetry.Instrumentation.ElasticsearchClient/Implementation/ElasticsearchInstrumentationEventSource.cs @@ -61,6 +61,6 @@ public void UnknownErrorProcessingEvent(string handlerName, string eventName, Ex [Event(3, Message = "Unknown error processing event '{1}' from handler '{0}', Exception: {2}", Level = EventLevel.Error)] public void UnknownErrorProcessingEvent(string handlerName, string eventName, string ex) { - this.WriteEvent(2, handlerName, eventName, ex); + this.WriteEvent(3, handlerName, eventName, ex); } } diff --git a/src/OpenTelemetry.Instrumentation.Quartz/Implementation/QuartzInstrumentationEventSource.cs b/src/OpenTelemetry.Instrumentation.Quartz/Implementation/QuartzInstrumentationEventSource.cs index f44f77bc81..03a88401fd 100644 --- a/src/OpenTelemetry.Instrumentation.Quartz/Implementation/QuartzInstrumentationEventSource.cs +++ b/src/OpenTelemetry.Instrumentation.Quartz/Implementation/QuartzInstrumentationEventSource.cs @@ -67,6 +67,6 @@ public void UnknownErrorProcessingEvent(string handlerName, string eventName, Ex [Event(4, Message = "Unknown error processing event '{1}' from handler '{0}', Exception: {2}", Level = EventLevel.Error)] public void UnknownErrorProcessingEvent(string handlerName, string eventName, string ex) { - this.WriteEvent(2, handlerName, eventName, ex); + this.WriteEvent(4, handlerName, eventName, ex); } }