This module implements the Analytics client used for Event-Based Telemetry. The intention of the client is to be usable on both: the UI and the Server sides.
@elastic/ebt/client
holds the public APIs to report events, enrich the events' context and set up the transport mechanisms. Refer to the client's docs for more information.
Elastic-approved shippers are available as @elastic/ebt/shippers/*
packages. Refer to the shippers' docs for more information.
When we want to publish a new version to npmjs, the process is quite simple:
- Bump the version via the command
yarn version major|minor|patch
(use the prefixpre
for beta versions). - The command should have created a branch matching the new version name and pushed it to the repo. Create a new PR to merge that new branch.
- After the PR is merged, create a new release from the pushed tag.
- Step 3 should trigger the Publish GH Action and publish the NPM package.