-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Overview
This issue proposes that the OpenFeature Protocol project consider adopting a configuration pattern for its SDKs similar to the approach outlined by OpenTelemetry (OTEL): https://opentelemetry.io/docs/concepts/sdk-configuration/
Context
Allowing the consumers to specify the OFREP configuration as an environment variables, would make the configuration more flexible. By using a well defined variable names defined by the SIG, we can enforce the consumers to know which variables can be used.
Discussion Points
- How could this configuration principles be applied to OpenFeature Protocol?
- Are there any compatibility or migration concerns?
- What would a roadmap or next steps look like for exploration and possible adoption?
- Which environment variables should be defined?
Proposed variables
- OFREP_ENDPOINT -> http://localhost:2321
- OFREP_HEADERS -> "Authentication=Bearer 123,Content-Type=json"
- OFREP_TIMEOUT -> 5000
beeme1mr, thomaspoignant, slashmo and erka
Metadata
Metadata
Assignees
Labels
No labels