Skip to content

chore: deprecate 'hapi' package instrumentation#2698

Merged
trentm merged 4 commits intomainfrom
trentm/deprecate-old-hapi
May 18, 2022
Merged

chore: deprecate 'hapi' package instrumentation#2698
trentm merged 4 commits intomainfrom
trentm/deprecate-old-hapi

Conversation

@trentm
Copy link
Copy Markdown
Member

@trentm trentm commented May 17, 2022

The old 'hapi' package was itself deprecated about 2 years ago. The APM
agent now deprecates instrumenting it. The instrumentation code remains,
but it is no longer tested and will be removed in the next major.

Note that '@hapi/hapi' is still supported, this is just about the old
package name and versions. Any versions starting with 17.9.0, 18.2.0,
19 and later are the newer '@hapi/hapi'.

Refs: #2691

The old 'hapi' package was itself deprecated about 2 years ago.  The APM
agent now deprecates instrumenting it. The instrumentation code remains,
but it is no longer tested and will be removed in the next major.

Note that '@hapi/hapi' is still supported, this is just about the old
package name and versions. Any versions starting with 17.9.0, 18.2.0,
19 and later are the newer '@hapi/hapi'.
@trentm trentm self-assigned this May 17, 2022
@github-actions github-actions bot added the agent-nodejs Make available for APM Agents project planning. label May 17, 2022
@ghost
Copy link
Copy Markdown

ghost commented May 17, 2022

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-05-17T23:39:20.678+0000

  • Duration: 31 min 56 sec

Test stats 🧪

Test Results
Failed 0
Passed 255015
Skipped 0
Total 255015

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • run module tests for <modules> : Run TAV tests for one or more modules, where <modules> can be either a comma separated list of modules (e.g. memcached,redis) or the string literal ALL to test all modules

  • run benchmark tests : Run the benchmark test only.

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

@trentm
Copy link
Copy Markdown
Member Author

trentm commented May 17, 2022

run module tests for hapi,@hapi/hapi

Copy link
Copy Markdown
Contributor

@astorm astorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appears to catch all instances of the old hap tests. Approving.

@trentm trentm merged commit 99c12e8 into main May 18, 2022
@trentm trentm deleted the trentm/deprecate-old-hapi branch May 18, 2022 22:25
astorm pushed a commit that referenced this pull request May 19, 2022
The old 'hapi' package was itself deprecated about 2 years ago.  The APM
agent now deprecates instrumenting it. The instrumentation code remains,
but it is no longer tested and will be removed in the next major.

Note that '@hapi/hapi' is still supported, this is just about the old
package name and versions. Any versions starting with 17.9.0, 18.2.0,
19 and later are the newer '@hapi/hapi'.

Refs: #2691
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-nodejs Make available for APM Agents project planning.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants