open-telemetry / open-telemetry/opentelemetry-php

update all env based factory to use `EnvComponentLoader` instead of using separate factory interfaces for each component.

Open
#1,681 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale
Dominant language
PHP
Stars
912
Forks
232
Avg merge
7d 16h
Merged PRs (30d)
4

Description

Should IMO update all env based factory to use EnvComponentLoader instead of using separate factory interfaces for each component.

Originally posted by @Nevay in https://github.com/open-telemetry/opentelemetry-php/pull/1651#discussion_r2172287336

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating EnvComponentLoader and every environment-based factory interface in the repository. Review how each component currently selects its factory, then determine whether all such paths can use EnvComponentLoader consistently. Done means the separate per-component factory interfaces are no longer used for environment-based loading and the existing behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
observability-sre
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.