support v8.x of @elastic/elasticsearch
See original GitHub issueThe TypeScript-rewrite first v8 alpha of @elastic/elasticsearch
is out:
https://www.npmjs.com/package/@elastic/elasticsearch/v/8.0.0-alpha.0
https://twitter.com/delvedor/status/1443495948093693955
We should ensure instrumentation still works for it.
Update: Clarification that this change did not yet add instrumentation for undici. So when the default UndiciConnection is used with @elastic/elasticsearch@8
, the APM agent will create an ES span, but will not create an HTTP span and will not propagate trace-context headers.
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (10 by maintainers)
Top Results From Across the Web
Release notes | Elasticsearch JavaScript Client [8.5] | Elastic
Support for Elasticsearch v8.2.1 edit. You can find all the API changes here. Fix ndjson APIs #1688edit. The previous release contained a bug...
Read more >@elastic/elasticsearch - npm
The minimum supported version of Node.js is v8 . The library is compatible with all Elasticsearch versions since 5.x, but you should use...
Read more >@elastic/elasticsearch-canary - npm package | Snyk
Configurable, automatic discovery of cluster nodes. Persistent, Keep-Alive connections. Load balancing across all available nodes. Child client support.
Read more >elasticsearch/elasticsearch - Packagist
0 version of elasticsearch-php contains a new implementation compared with 7.x. It supports PSR-7 for HTTP messages and PSR-18 for HTTP client ...
Read more >Elasticsearch in Go, Err: "the client noticed that the server is ...
Digging in the code I see it verifies the response by looking for header.Get("X-Elastic-Product") == "Elasticsearch" . I have no idea why it's ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
already in progress https://github.com/elastic/kibana/issues/116109
@mshustov I can start looking into it soon. We are targetting our 8.0 milestone as well, but I understand that you’ll need the agent support sooner.
Does this mean the non-undici http client? If so, then that helps. Adding undici support so that trace-context headers are carried through to ES is not currently on our 8.0 milestone.
When we have a PR for v8 of the ES client and it if looks like it’ll take a long while before there is a release of the agent with it, then I’ll be happy to publish a “canary” version to npm for Kibana to use.