Skip to content

Add Enviroment Variables to process registry schema #672

@mjwolf

Description

@mjwolf

Environment variables are an important part of process data models, and they should be added to the process registry schema.

process.env_vars was previously part of #564, and was removed because there are some open discussion items that should be decided before being added to the schema.

Some of these questions to resolve are:

  1. Should env_vars be an object, with environment variable names as free-form leaf nodes, as suggested here?

Although this suggestion could have advantages, I'm not sure if it's possible. According to the Open Group standard, environment variable names names shall not contain the character '=' (ref), but have no other exclusions, so extended character sets, symbols, etc are valid as part of environment variable names. I'm not sure if this works with OTel key names.

One alternative to using freeform keys is to store environment variables as a string array, such as this

  1. Should filtering be required or recommended? (discussion)

Environment variables could contain sensitive information, such as API keys, and this information should be redacted to prevent security problems. It should be decided if filtering is required (using MUST) or recommended (using SHOULD).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions