elastic / elastic/apm-agent-php

More control over curl with instrumentation - e.g don't log some timeouts to APM Error log

Open
#1,208 2 comments 4 reactions 0 assignees View on GitHub
agent-php enhancement
Dominant language
PHP
Stars
268
Forks
86
PR merge metrics
No merged PRs in 30d

Description

**Don't want to log some expected errors from curl**
We have some expected errors that we don't want to log to APM e.g timeouts to some urls.
These errors are automatically logged by apm agent during curl_exec and we can't prevent it in later checking of
curl response codes.

**To have control of which stuff is logged**
Some kind of try/catch logic where we can choose what will be logged and what will be handled with our code without logging to APM Error log.

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.