-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Description
Related to an existing integration?
Yes
Existing integration
DataAPIBuilder
Overview
Running DAB as an executable could be a valuable option for developers to avoid dealing with a container. There is a known issue at the moment in Aspire when sending telemetry from a container.
Usage example
var dab = builder.AddDataAPIBuilder("dab").RunAsExecutable();
Where RunAsExecutable would check for the Context.IsPublishMode
and if the app is running locally, it would run the same dab config using the local CLI.
Breaking change?
No
Alternatives
Current alternative is to run DAB as an executable using the standard Aspire AddExectuable
method.
var dab = builder.AddExecutable("dab", "dab", "../../dab/", "start")
.WithReference(sqlDatabase)
.WithHttpEndpoint(targetPort: 5000)
.WaitFor(sqlServer)
.WithOtlpExporter();
Additional context
No response
Help us help you
Yes, I'd like to be assigned to work on this item
FBoucher
Metadata
Metadata
Assignees
Labels
No labels