elastic / elastic/apm-agent-php

There is no way to set transaction context response data

Open
#1,009 0 comments 0 reactions 0 assignees View on GitHub
agent-php enhancement priority: low triage otel triaged
Dominant language
PHP
Stars
268
Forks
86
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Would like to set `transaction.context.response` data like `status_code`, `headers` etc..

**Describe the solution you'd like**
Extend `TransactionContextInterface` to include all options in [specification](https://github.com/elastic/apm-server/blob/4fededd4a64692304652946f7c1e75b7a826ef02/docs/spec/v2/transaction.json#L5).

**Describe alternatives you've considered**
Looked over options to access raw Tx Context data, but did not find any.

**Additional context**

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.