Comments (2)
Hi @Lavoaster sorry to hear of the problem and thanks for taking the time to open this pull request.
From my own debugging I can see that we rely on 5.3.* of the elasticsearch/elasticsearch package, however, the composer.json file in here suggests that you rely on the 1.2.* version. (over 4 years old)
We have plans to support recent versions of ES.
It appears that the method you want to hook into doesn't exist in later version of the package. I'm not entirely sure, otherwise I'd send in a PR, but I feel like you're looking for this method https://github.com/elastic/elasticsearch-php/blob/master/src/Elasticsearch/Transport.php#L93.
If possible as well can you put instrumentation setup through try/catches and disable those that fail, possibly with an error somewhere?
The main point here is that we should properly support version 5.x and before that we have to provide a way to test multiple versions of the same library. You can follow this issue #185 as @inverse proposed a very good approach in my opinion.
I've had to disable the elastic search integration provider due to issue.
Just to make sure you did not have to change any code: you can do this by DD_INTEGRATIONS_DISABLED=elasticsearch
.
from dd-trace-php.
Hi @LavaToaster, we completely rearchitected our API and such issues, like class/method not found cannot happen anymore by design. What we call 'sandboxed' instrumentation. I am closing this issue. Please feel free to comment if this does not hold true for your case and I will reopen it.
from dd-trace-php.
Related Issues (20)
- [Feature] Error Tracking via logs HOT 5
- [Bug]: CLI PHP Processes do not stop and with Apache (mod_php) the connection is closed unexpectedly HOT 1
- [Bug]: Laravel Octane traces not showing in dashboard HOT 16
- [Bug]: Service name is always "laravelqueue" and can't be changed HOT 2
- [Feature] Missing instrumentation for batched AMQP publishing
- [Bug]: Integrations being added as Services in the APM UI HOT 1
- [Help]: Configurations in Docker and kubernetes HOT 9
- [Bug]: DD Trace breaks project with PHP 8.3.7 - Laravel 11.7 HOT 5
- [Bug]: Memory leak with DD_APPSEC_ENABLED="false" HOT 3
- Standalone install from IPv6-only server HOT 4
- [Bug]: post-install.sh does not detect the 'json' extension on PHP 8.1.29 HOT 5
- [Bug]: Failed connecting to the sidecar
- [Bug]: WordPress Integration is incomplete HOT 4
- [Feature] Include max memory usage in root span HOT 3
- [Bug]: Trace ids are no longer cascaded on next spans after `Tracer::extract(Format::TEXT_MAP)` & using context on `startxSpan` HOT 1
- [Bug]: `datadog-setup.php` script is not usable when installed with composer.json
- [Feature] `DD_TRACE_REMOVE_AUTOINSTRUMENTATION_ORPHANS` does not remove PDO spans for the `laravelqueue` integration HOT 5
- [Bug]: \DDTrace\current_context trace_id does not match \DDTrace\logs_correlation_trace_id() HOT 3
- [Bug]: Crash in OpenTelemetry Span::getCurrent() when accessing span link from auto instrumentation HOT 2
- [Bug]: Xdebug skips breakpoints after Psr\Log\LoggerInterface methods are called, only when DDTrace is enabled HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dd-trace-php.