apm-server icon indicating copy to clipboard operation
apm-server copied to clipboard

chore: remove old non-param es.newclient constructor

Open kruskall opened this issue 1 month ago • 3 comments

Motivation/summary

remove old constructor for the elasticsearch client and ensure trace providers are passed consistently to the constructor

rename newclientparam to newclient

Checklist

For functional changes, consider:

  • Is it observable through the addition of either logging or metrics?
  • Is its use being published in telemetry to enable product improvement?
  • Have system tests been added to avoid regression?

How to test these changes

Related issues

Closes https://github.com/elastic/apm-server/issues/19442

kruskall avatar Nov 25 '25 17:11 kruskall

:robot: GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

github-actions[bot] avatar Nov 25 '25 17:11 github-actions[bot]

This pull request does not have a backport label. Could you fix it @kruskall? 🙏 To fixup this pull request, you need to add the backport labels for the needed branches, such as:

  • backport-7.17 is the label to automatically backport to the 7.17 branch.
  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit.
  • backport-9./d is the label to automatically backport to the 9./d branch. /d is the digit.
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

mergify[bot] avatar Nov 25 '25 17:11 mergify[bot]

:green_heart: Build Succeeded

elasticmachine avatar Nov 25 '25 17:11 elasticmachine