-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removal of Elasticsearch.Net dependency from Elastic.Apm.ElasticSearch #2265
Comments
Hi, @thompson-tomo. The If you prefer, we do document an approach to avoid using this package and bring in the specific instrumentation you need. |
My main area of concern is about the polyfil packages being brought in from Elasticsearch.Net as that increases the likelyhood of CVE's etc. Has there been any thought to switching the dependency over to Elastic.Clients.Elasticsearch which i believe is the replacement? That package does not have any of the polyfill packages for the newer targets. At the same time given that my understanding in that you should be matching the Elasticsearch package with the version you have deployed, hence i am wondering do we actually need to have it in the convience package or should the convience libraries focus on instrumentation and not transport. |
In this case, the thing we are instrumenting is |
Thanks @stevejgordon would a pr be accepted including adding net 6 as a TFM so that the conditions could be implemented similar to what i will do with #2305 |
@thompson-tomo, apologies. I missed this reply. You could raise an issue to discuss on the Elasticsearch.NET repo. I don't think there's anything to do on the APM side, so I am closing this. |
Is your feature request related to a problem? Please describe.
Currently adding Elastic.Apm.NetCoreAll is adding a dependency of Elastic.Apm.ElasticSearch which is ok and expected however this package has a dependency on Elasticsearch.Net which is no longer being mantained. The Elasticsearch.Net package has some polyfill packages hence adds un-necessary dependencies.
Describe the solution you'd like
I would like the classes needed to be moved into Elastic.Apm.ElasticSearch and the dependency to Elasticsearch.Net removed. This would result in a consistent experience to all the other Instrumentations where there is no dependency to a particular library.
Describe alternatives you've considered
Moving classes into abstractions library, making the dependency dev only.
Additional context
N/a
The text was updated successfully, but these errors were encountered: