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)
- [Bug]: 0.94.0 build failure HOT 6
- [Bug]: curl_multi_exec() request failure on 0.94.0 HOT 9
- [Bug]: Growing asset size HOT 4
- [Question] Add tag to parent request root span HOT 3
- [Bug]: ddappsec gets installed without the cli option provided HOT 2
- [Bug]: Segmentation fault when running symfony/console help with Xdebug 3.3.0 enabled HOT 5
- [Bug]: Wordpress integration records unauthenticated users as usr.id 0 HOT 1
- [Bug]: DD_TRACE_<INTEGRATION>_ENABLED does not seem to work HOT 2
- [Bug]: Memory leaking with hooks limit reached after upgrade from 0.90.0 to 0.91.2 HOT 20
- [Bug]: seeing host-unparsable-host and "CURL request failure" in apm in curl_multi_exec context HOT 8
- [Feature] OpenAI integration HOT 1
- [Bug]: Segmentation fault when using fibers in php 8.1 HOT 7
- [Bug]: default value for sample_rate is wrong HOT 4
- [Feature] Symfony Messenger Integration HOT 1
- [Question] How to add tags to the `curl_exec` spans HOT 2
- HTTP PUT and PATCH Data and headers HOT 2
- [Bug]: Nested exceptions are not recorded in `Integration::setError()` HOT 2
- [Security] Medium Vulnerability rustix in tag 0.97.0 HOT 2
- [Bug]: ddappsec startup warnings HOT 9
- [Feature] CURL multi exec integration is lacking data in the APM view HOT 7
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.