Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for configuring proxy for communication with APM backend #1039

Open
SergeyKleyman opened this issue Aug 3, 2023 · 0 comments
Open
Labels
agent-php enhancement New feature or request from a real user This issue is from a real user (i.e., not an issue we found during internal testing) priority: medium triaged

Comments

@SergeyKleyman
Copy link
Contributor

SergeyKleyman commented Aug 3, 2023

At the moment Elastic APM PHP Agent does not have direct way to configure a proxy for communication with APM Server.
It can be configured indirectly using environment variables described at https://curl.se/libcurl/c/CURLOPT_PROXY.html#Environment
The cons of this approach are:

  • Setting those environment variables might affect application code since it's running in the context of the same process
  • It exposes agent implementation details (the fact that it uses curl for communication with APM backend which might change in the future)

Use links:

@SergeyKleyman SergeyKleyman added the enhancement New feature or request label Aug 3, 2023
@SergeyKleyman SergeyKleyman added the from a real user This issue is from a real user (i.e., not an issue we found during internal testing) label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-php enhancement New feature or request from a real user This issue is from a real user (i.e., not an issue we found during internal testing) priority: medium triaged
Projects
None yet
Development

No branches or pull requests

1 participant