Description
I'm enabling Open Telemetry by following code:
services.AddLogging(loggingBuilder =>
{
loggingBuilder.ConfigureLoggers(configuration);
loggingBuilder.AddOpenTelemetry(options =>
{
options.IncludeScopes = true;
options.IncludeFormattedMessage = true;
configuration.Bind("Logging:OpenTelemetry", options);
});
});
var openTelemetry = services.AddOpenTelemetry()
.WithMetrics()
.WithTracing()
.ConfigureResource(resource =>
{
resource.AddAttributes([new("service.name", Application.ProductName!)]);
});
var useOtlpExporter = string.IsNullOrWhiteSpace(configuration["OTEL_EXPORTER_OTLP_ENDPOINT"]) is false
|| string.IsNullOrEmpty(configuration["OTEL_EXPORTER_OTLP_LOGS_ENDPOINT"]) is false;
if (useOtlpExporter)
{
openTelemetry.UseOtlpExporter();
}
It shows logs in https://xxx.sentry.io/explore/logs/ and shows traces in https://xxx.sentry.io/explore/traces/.
My question is, why it doesn't show errors in https://xxx.sentry.io/issues/ (Which basically is a home page)
Before switching to Open Telemetry, I could see the in home page and this is so confusing for people who expects to see something in the home page.
The other question that I've is as I can see, there's a metrics page https://xxx.sentry.io/explore/metrics/
But it seems OTEL_EXPORTER_OTLP_METRICS_ENDPOINT is not supported at the moment as it's not documented in https://xxx.sentry.io/settings/projects/dotnet/keys/
Description
I'm enabling Open Telemetry by following code:
It shows logs in
https://xxx.sentry.io/explore/logs/and shows traces inhttps://xxx.sentry.io/explore/traces/.My question is, why it doesn't show errors in
https://xxx.sentry.io/issues/(Which basically is a home page)Before switching to Open Telemetry, I could see the in home page and this is so confusing for people who expects to see something in the home page.
The other question that I've is as I can see, there's a metrics page
https://xxx.sentry.io/explore/metrics/But it seems
OTEL_EXPORTER_OTLP_METRICS_ENDPOINTis not supported at the moment as it's not documented inhttps://xxx.sentry.io/settings/projects/dotnet/keys/