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

Basic fields in the transaction context are missing and are not settable #1277

Open
zobo opened this issue Feb 2, 2025 · 0 comments
Open
Labels
agent-php enhancement New feature or request

Comments

@zobo
Copy link
Contributor

zobo commented Feb 2, 2025

Is your feature request related to a problem? Please describe.
I am missing basic information like REMOTE ADDRESS, COOKIES and there is no API to set these.
For example:
https://github.com/elastic/apm-server/blob/52be7fe64897131117148fa9f5e4b7757c76814f/docs/spec/request.json#L45
https://github.com/elastic/apm-server/blob/52be7fe64897131117148fa9f5e4b7757c76814f/docs/spec/request.json#L96
https://github.com/elastic/apm-server/blob/52be7fe64897131117148fa9f5e4b7757c76814f/docs/spec/request.json#L11

Describe the solution you'd like
I want to be able to configure or set these values myself.

Describe alternatives you've considered
I have researched the source and was not able to find a way to set these, without modifying the PHP agent implementation.

@zobo zobo added the enhancement New feature or request label Feb 2, 2025
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
Projects
None yet
Development

No branches or pull requests

1 participant