Dapr Class

Container App Dapr configuration.

Constructor

Dapr()

Variables

Name Description
enabled

Boolean indicating if the Dapr side car is enabled.

appId
str

Dapr application identifier.

appProtocol
Union[str, <xref:"AppProtocol">]

Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http. Known values are: "http" and "grpc".

appPort
int

Tells Dapr which port your application is listening on.

httpReadBufferSize
int

Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.

httpMaxRequestSize
int

Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.

logLevel
Union[str, <xref:"LogLevel">]

Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info. Known values are: "info", "debug", "warn", and "error".

enableApiLogging

Enables API logging for the Dapr sidecar.

appHealth
<xref:<xref:"DaprAppHealth">>

Dapr application health check configuration.

maxConcurrency
int

Maximum number of concurrent requests, events handled by the Dapr sidecar.

Attributes

appHealth

Dapr application health check configuration.

appHealth: DaprAppHealth

appId

Dapr application identifier.

appId: str

appPort

Tells Dapr which port your application is listening on.

appPort: int

appProtocol

Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http. Known values are: "http" and "grpc".

appProtocol: str | AppProtocol

enableApiLogging

Enables API logging for the Dapr sidecar.

enableApiLogging: bool

enabled

Boolean indicating if the Dapr side car is enabled.

enabled: bool

httpMaxRequestSize

Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.

httpMaxRequestSize: int

httpReadBufferSize

Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.

httpReadBufferSize: int

logLevel

Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info. Known values are: "info", "debug", "warn", and "error".

logLevel: str | LogLevel

maxConcurrency

Maximum number of concurrent requests, events handled by the Dapr sidecar.

maxConcurrency: int