elastic / elastic/apm-agent-php

Add support for configuring proxy for communication with APM backend

Open
#1,039 0 comments 0 reactions 0 assignees View on GitHub
agent-php enhancement from a real user priority: medium triaged
Dominant language
PHP
Stars
268
Forks
86
PR merge metrics
No merged PRs in 30d

Description

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:
- Similar request for .NET agent - https://github.com/elastic/apm-agent-dotnet/issues/782

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.