prometheus / prometheus/procfs
Environ() returns multiple empty strings
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 883
- Forks
- 388
- Avg merge
- 13h 28m
- Merged PRs (30d)
- 3
Description
Environ() returns a list of strings, but a lot of returned entries are the empty string instead of a valid environment variable in the form A=B.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Environ() entry point in the procfs Go package and reproduce the reported empty-string results from the process environment data. Trace how entries are read and parsed, then verify that returned entries follow the reported A=B form without unintended empty strings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100