Skip to content

edmocosta/ottl-playground

Repository files navigation

OTTL Playground

The OTTL Playground is a powerful and user-friendly tool designed to allow users to experiment with OTTL effortlessly. The playground provides a rich interface for users to create, modify, and test statements in real-time, making it easier to understand how different configurations impact the OTLP data transformation.

OTTL Playground overview

Building

Requirements:

By default, the built resources are placed into the web/public directory. After successfully compiling the WebAssembly and Frontend, this directory is ready to be deployed as a static website. Given that the WebAssembly size is relatively big, it's highly recommended to serve it using a compression method, such as gzip or brotli.

make build
Developing

The web directory contains the frontend source code, and uses npm as package manager. To start the local development server:

npm run serve public

Automatic reload the code changes:

npm run watch

Running

Local

For testing purpose only, after successfully building the project resources, it can be run by using the main.go server implementation.

To improve the load performance and saving bandwidth in real deployments, please confider hosting it using a server with compressing capabilities, such as gzip or brotli.

go run main.go

Docker

The Docker image delivered with this project serves the static website using Nginx (port 8080), and applying static brotli compression to the WebAssemblies files.

docker build . -t ottlplayground
docker run -d -p 8080:8080 ottlplayground

About

OTTL Playground [BETA]

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published