Skip to content

Commit fc35311

Browse files
authored
Event logging type in format string (#2779)
1 parent cf3b119 commit fc35311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OpenTelemetry/Internal/OpenTelemetrySdkEventSource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ public void ExistsDroppedExportProcessorItems(string exportProcessorName, string
330330
this.WriteEvent(32, exportProcessorName, exporterName, droppedCount);
331331
}
332332

333-
[Event(33, Message = "Measurements from Instrument '{0}', Meter '{1}' will be ignored. Reason: '{1}'. Suggested action: '{2}'", Level = EventLevel.Warning)]
333+
[Event(33, Message = "Measurements from Instrument '{0}', Meter '{1}' will be ignored. Reason: '{2}'. Suggested action: '{3}'", Level = EventLevel.Warning)]
334334
public void MetricInstrumentIgnored(string instrumentName, string meterName, string reason, string fix)
335335
{
336336
this.WriteEvent(33, instrumentName, meterName, reason, fix);

0 commit comments

Comments
 (0)