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
The logs flow through, but none of the OTel stuff does, even though the env is set in the container vars:
There seems to be a bug here - dotnet/aspire#4131 but googling this is proving impossible because you can also containerize the dashboard and all the results are for that lol
Type of issue
Missing information
Description
I want to get the OTel and log stream from a dotnet project container, and I think I need to use WithOtlpExporter:
var backend = builder.AddContainer("backend", "ghcr.io/maddymontaquila/multirepodemo-backend")
.WithLifetime(ContainerLifetime.Persistent)
.WithOtlpExporter()
.WithHttpEndpoint(targetPort: 8080, name: "endpoint");
The logs flow through, but none of the OTel stuff does, even though the env is set in the container vars:
There seems to be a bug here - dotnet/aspire#4131 but googling this is proving impossible because you can also containerize the dashboard and all the results are for that lol
Page URL
https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/app-host-overview?tabs=docker
Content source URL
https://github.com/dotnet/docs-aspire/blob/main/docs/fundamentals/app-host-overview.md
Document Version Independent Id
2dc8f42f-e9ca-fbe1-bef9-af4b4f20dc7d
Article author
@IEvangelist
Related Issues
The text was updated successfully, but these errors were encountered: