Skip to content

Latest commit

 

History

History
77 lines (51 loc) · 1.91 KB

README.md

File metadata and controls

77 lines (51 loc) · 1.91 KB

Digma UI

Install dependencies:

npm ci

Run linter checks:

npm run lint

Run tests:

npm run test

Start dev server:

npm run start

Dev server will start http://localhost:3000

Build package:

npm run build:prod:{platform}

Supported platform values:

  • jetbrains
  • web

Build of the package will be in the ./dist directory

Environment variables

To set environment variables use .env file

Name Type Default Description
UI_BASE_URL string - Base URL to proxy requests to ingress (for dev server)
JAEGER_API_PATH string - URL path to proxy requests to Jaeger UI (for dev server )
API_BASE_URL string - Base URL to proxy Digma API requests (for dev server)
AUTH_API_BASE_URL string - Base URL to proxy auth API requests (for dev server)
API_TOKEN string - API token (for dev server)
USERNAME string - User login (for dev server)
PASSWORD string - User password (for dev server)
JAEGER_UI_PATH string - Path to custom Jaeger UI build

Jaeger UI

The Digma UI distributive includes a Digma fork of Jaeger UI. You can find the linked version in the ./dependencies.json file.

To use a custom build of Jaeger UI during development use JAEGER_UI_PATH environment variable.

JAEGER_UI_PATH=path/to/jaeger-ui/dist

Storybook

npm run storybook

Storybook will start on http://localhost:6006

License

MIT