Support for OpenTelemetry
There’s a new (experimental) integration with OpenTelemetry that allows for logging messages from OpenTelemetry to elmah.io. The integration can be installed from NuGet using the Elmah.Io.OpenTelemetry package and a custom exporter:
builder.Logging.AddOpenTelemetry(options =>
{
options.AddElmahIoExporter(options =>
{
options.ApiKey = "API_KEY";
options.LogId = new Guid("LOG_ID");
});
});
Check out the documentation for details.