Skip to content

salesforce/o11y-sample-app

Repository files navigation

o11y Sample App

This stand-alone LWC app demonstrates the use of the o11y instrumentation platform. It comes with a built-in server to receive instrumentation collected on the client-side, but it can also be configured to direct traffic to a Salesforce instance.

Try it Out

You can go to o11y-sample-app, or deploy a copy of the app.

Note: deploying from git.soma is not supported

Deploy

Getting Started with Local Development

  • Using yarn is recommended.
  • After having forked the repo and cloned it to your local, do:
yarn install
yarn build
yarn start  # or yarn start:both to create separate server processes

Making an update

Before sending your PR, make sure to run one of:

  • yarn build:update:build
  • yarn build:update:minor
  • yarn build:update:major

as needed.

Publishing to Heroku

Ensure git remote for Heroku is set:

git remote add heroku https://git.heroku.com/o11y-sample-app.git
git remote -v

Publish:

heroku login                        # Use SSO
git push heroku YOUR_BRANCH:master  # Push changes
heroku logs --tail                  # Continuously view logs