Skip to content

Commit

Permalink
chore: correct comment on ES client instrumentation
Browse files Browse the repository at this point in the history
In #2550 this module was rewritten to not be primarily based on
the ES client "diagnostic" events for instrumentation. That change
should have also removed this part of the top-comment.

Refs: #2550
  • Loading branch information
trentm committed Jan 24, 2023
1 parent b9d816b commit 221d3f9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/instrumentation/modules/@elastic/elasticsearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@

// Instrument the @elastic/elasticsearch module.
//
// This uses to 'request' and 'response' events from the Client (documented at
// https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/observability.html)
// to hook into all ES server interactions.
//
// Limitations:
// - In @elastic/elasticsearch >=7.14 <8, the diagnostic events sent for ES
// spans started before the product-check is finished will have an incorrect
Expand Down

0 comments on commit 221d3f9

Please sign in to comment.