-
Notifications
You must be signed in to change notification settings - Fork 780
Closed
Labels
content/incorrect-informationContent in the docs is incorrectContent in the docs is incorrect
Milestone
Description
Describe the issue
This is an accompanied issue with the unmerged PR dapr/cli#770.
I spotted the inconsistency in following sources:
- Our document
- Env passed by CLI to child apps
- Our Python SDK: global settings
URL of the docs
- Environment variable reference
- Dapr CLI: run command
- Python SDK: global settings. The expected settings are identical with dapr/dapr env_variables.go
Screenshots
To summarize, here are the inconsistencies
| Variable | Fact | Note |
|---|---|---|
| APP_ID | Expected from Python SDK, not defined by docs | |
| APP_PORT | Expected from Python SDK, not defined by docs | port of apps, http/grpc depending on mode. |
| APP_TOKEN_API | Expected by Doc. dapr/cli does not pass to child apps |
|
| DAPR_METRICS_PORT | Not defined by docs. Used by dapr/cli, Python SDK |
|
| DAPR_PROFILE_PORT | Expected from Python SDK, not defined by docs | |
| DAPR_PLACEMENT_HOST | Expected by docs. dapr/cli does not pass to child apps |
|
| DAPR_TOKEN_API | Expected by docs. dapr/cli does not pass to child apps |
|
| HOST_ADDRESS | Expected from Python SDK, not defined by docs |
Questions
I want to correct our docs. So please answer following questions
- For expected-but-not-defined variables, what should we do? Define them in docs?
- APP_ID
- APP_PORT
- APP_TOKEN_API
- DAPR_METRICS_PORT
- DAPR_PROFILE_PORT
- HOST_ADDRESS
- For defined-but-not-passed variables, do we need to change
dapr/clior just remove them?
- DAPR_PLACEMENT_HOST
- DAPR_TOKEN_API
- If we pass
APP_PORT, do we need to pass the associatedmode? Actually I can't find things related tomodein our documentation. The most resemble to that variable is app-protocol
Metadata
Metadata
Assignees
Labels
content/incorrect-informationContent in the docs is incorrectContent in the docs is incorrect
