You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a regression in the latest packages ("RC9"), the metrics are not sent anymore by an ASP.NET application using AddOpenTelemetryMetrics extension method.
What is the expected behavior?
Metrics should be sent to the exporter defined in AddOpenTelemetryMetrics extension method.
For example, OpenTelemetry collector console should display messages like:
otel-collector | 2022-03-23T10:10:57.968Z INFO loggingexporter/logging_exporter.go:54 MetricsExporter {"#metrics": 2}
What is the actual behavior?
No metrics is sent.
Reproduce
Start an OpenTelemetry Collector listening on port 4317
Bug Report
Packages
Runtime: net6.0 (.NET SDK: 6.0.201)
Symptom
There is a regression in the latest packages ("RC9"), the metrics are not sent anymore by an ASP.NET application using
AddOpenTelemetryMetrics
extension method.What is the expected behavior?
Metrics should be sent to the exporter defined in
AddOpenTelemetryMetrics
extension method.For example, OpenTelemetry collector console should display messages like:
What is the actual behavior?
No metrics is sent.
Reproduce
Progam.cs
fileAdditional Context
Same test is ok with previous versions:
The text was updated successfully, but these errors were encountered: