Skip to content
Docs Try Aspire

DaprSidecarOptions Properties

Record Properties 32 members
Options for configuring a Dapr sidecar.
AppChannelAddress Section titled AppChannelAddress nullable string?
Gets or sets the network address at which the application listens.
public string? AppChannelAddress { get; init; }
AppEndpoint Section titled AppEndpoint nullable string?
Gets or sets the endpoint of the application the sidecar is connected to.
public string? AppEndpoint { get; init; }
AppHealthCheckPath Section titled AppHealthCheckPath nullable string?
Gets or sets the path used for health checks (HTTP only).
public string? AppHealthCheckPath { get; init; }
AppHealthProbeInterval Section titled AppHealthProbeInterval nullable int?
Gets or sets the interval, in seconds, to probe for the health of the application.
public int? AppHealthProbeInterval { get; init; }
AppHealthProbeTimeout Section titled AppHealthProbeTimeout nullable int?
Gets or sets the timeout, in milliseconds, for application health probes.
public int? AppHealthProbeTimeout { get; init; }
AppHealthThreshold Section titled AppHealthThreshold nullable int?
Gets or sets the number of consecutive failures for the application to be considered unhealthy.
public int? AppHealthThreshold { get; init; }
AppId Section titled AppId nullable string?
Gets or sets the ID for the application, used for service discovery.
public string? AppId { get; init; }
AppMaxConcurrency Section titled AppMaxConcurrency nullable int?
Gets or sets the concurrency level of the application (unlimited if omitted).
public int? AppMaxConcurrency { get; init; }
AppPort Section titled AppPort nullable int?
Gets or sets the port on which the application is listening.
public int? AppPort { get; init; }
AppProtocol Section titled AppProtocol nullable string?
Gets or sets the protocol (i.e. grpc, grpcs, http, https, h2c) the Dapr sidecar uses to talk to the application.
public string? AppProtocol { get; init; }
Command Section titled Command IImmutableList<string>
Gets or sets the command run by the Dapr CLI as part of starting the sidecar.
public IImmutableList<string> Command { get; init; }
Config Section titled Config nullable string?
Gets or sets the path to the Dapr sidecar configuration file.
public string? Config { get; init; }
DaprGrpcPort Section titled DaprGrpcPort nullable int?
Gets or sets the gRPC port on which the Dapr sidecar should listen.
public int? DaprGrpcPort { get; init; }
DaprHttpMaxRequestSize Section titled DaprHttpMaxRequestSize nullable int?
Gets or sets the maximum size, in MB, of a Dapr request body.
public int? DaprHttpMaxRequestSize { get; init; }
DaprHttpPort Section titled DaprHttpPort nullable int?
Gets or sets the HTTP port on which the Dapr sidecard should listen.
public int? DaprHttpPort { get; init; }
DaprHttpReadBufferSize Section titled DaprHttpReadBufferSize nullable int?
Gets or sets the maximum size, in KB, of the HTTP header read buffer.
public int? DaprHttpReadBufferSize { get; init; }
DaprInternalGrpcPort Section titled DaprInternalGrpcPort nullable int?
Gets or sets the gRPC port on which the Dapr sidecar should listen for sidecar-to-sidecar calls.
public int? DaprInternalGrpcPort { get; init; }
DaprListenAddresses Section titled DaprListenAddresses nullable string?
Gets or sets a comma (,) delimited list of IP addresses at which the Dapr sidecar will listen.
public string? DaprListenAddresses { get; init; }
DaprMaxBodySize Section titled DaprMaxBodySize nullable string?
Gets or sets the max size of request body Inreasing the request max body size to handle large file uploads using http and grpc protocols. Set the value using size units (e.g., 16Mi for 16MB). The default is 4Mi.
public string? DaprMaxBodySize { get; init; }
DaprReadBufferSize Section titled DaprReadBufferSize nullable string?
Gets or sets the maximum size, read buffer. Increasing max size of http header read buffer in KB to to support larger header values. Set the value using size units, for example 32Ki will support headers up to 32KB . Default is 4Ki for 4KB
public string? DaprReadBufferSize { get; init; }
EnableApiLogging Section titled EnableApiLogging nullable bool?
Gets or sets whether the Dapr sidecar logs API calls at INFO verbosity.
public bool? EnableApiLogging { get; init; }
EnableAppHealthCheck Section titled EnableAppHealthCheck nullable bool?
Gets or sets whether health checks are performed for the application.
public bool? EnableAppHealthCheck { get; init; }
EnableProfiling Section titled EnableProfiling nullable bool?
Gets or sets whether to perform pprof profiling via the application HTTP endpoint.
public bool? EnableProfiling { get; init; }
LogLevel Section titled LogLevel nullable string?
Gets or sets the Dapr sidecar log verbosity (i.e. debug, info, warn, error, fatal, or panic).
public string? LogLevel { get; init; }
The default log verbosity is "info".
MetricsPort Section titled MetricsPort nullable int?
Gets or sets the port on which the Dapr sidecar reports metrics.
public int? MetricsPort { get; init; }
PlacementHostAddress Section titled PlacementHostAddress nullable string?
Gets or sets the address of the placement service.
public string? PlacementHostAddress { get; init; }
The format is either "hostname" for the default port or "hostname:port" for a custom port. The default is "localhost".
ProfilePort Section titled ProfilePort nullable int?
Gets or sets the port on which the Dapr sidecar reports profiling data.
public int? ProfilePort { get; init; }
ResourcesPaths Section titled ResourcesPaths IImmutableSet<string>
Gets or sets the paths of Dapr sidecar resources (i.e. resources).
public IImmutableSet<string> ResourcesPaths { get; init; }
RunFile Section titled RunFile nullable string?
Gets or sets the path to the Dapr run file to run.
public string? RunFile { get; init; }
RuntimePath Section titled RuntimePath nullable string?
Gets or sets the directory of the Dapr runtime (i.e. daprd).
public string? RuntimePath { get; init; }
SchedulerHostAddress Section titled SchedulerHostAddress nullable string?
Gets or sets the address of the scheduler service.
public string? SchedulerHostAddress { get; init; }
The format is either "hostname" for the default port or "hostname:port" for a custom port. The default is "localhost".
UnixDomainSocket Section titled UnixDomainSocket nullable string?
Gets or sets the path to a Unix Domain Socket (UDS) directory.
public string? UnixDomainSocket { get; init; }
If specified, the Dapr sidecar will use Unix Domain Sockets for API calls.