Skip to content

Files

Latest commit

230c8c2 · Dec 3, 2024

History

History

user-demo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 7, 2021
Nov 8, 2024
Oct 7, 2021
Nov 7, 2024
Oct 7, 2021
Oct 7, 2021
Sep 27, 2024
Dec 3, 2024
Sep 22, 2022
Sep 22, 2022
Sep 27, 2024
Sep 27, 2024
Sep 22, 2022

Welkin User Demo

To make the most out of Welkin, this documentation features a minimalist NodeJS application. It allows you to explore all Welkin benefits, including, such as HTTPS Ingresses, logging, metrics and user alerts.

The application provides:

  • some REST endpoints (/, /users);
  • structured logging;
  • metrics endpoint;
  • Dockerfile;
  • Helm Chart;
  • ability to make it crash (/crash).

Furthermore, the application caters to a security-hardened environment, and additionally:

  • runs as non-root.

Usage

The scripts folder should have self-describing scripts on how to build, test locally and deploy the application.

For examples on using the application with Welkin, check the user guide in the /docs folder.

Run the app with distributed tracing and Jaeger UI

  1. Run Docker compose. Update the JAEGER_EXPORTER_ENDPOINT variable with your own Jaeger endpoint URL.
docker-compose build

JAEGER_EXPORTER_ENDPOINT="http://jaeger-all-in-one:14268/api/traces" docker-compose up
  1. Make some requests to the user-demo app user-demo app
  2. Check Jaeger to see the traces (also be displayed in the app console) Jaeger UI
  3. Cleanup
docker-compose stop && docker-compose rm -f