elastic / elastic/apm-agent-php

Support filters to discard/modify events

Open
#67 2 comments 0 reactions 0 assignees View on GitHub
enhancement from a real user from discuss.elastic.co priority: medium triaged
Dominant language
PHP
Stars
268
Forks
86
PR merge metrics
No merged PRs in 30d

Description

- [ ] It should be possible to register filters via
- [ ] Public API
- [ ] Configuration for the case when developer prefers not to change applications source code
- [ ] Filter is called
- [ ] Right after an event is created
- [ ] Right after an event is ended (but before it's frozen and about to be added to the send-to-APM-server queue)
- [ ] Filter should be able
- [ ] To modify the event
- [ ] To discard the event
- [ ] Filter should be applied to all events - both the ones generated by automatic and manual instrumentation

[For example .NET Agent's filter's related API](https://www.elastic.co/guide/en/apm/agent/dotnet/current/public-api.html#filter-api)

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.