Testing setup for sql query receiver component
- docker
- go (version go1.22.6 works)
OpenTelemetry Collector Builder (ocb) will be downloaded as a part of makefile.
If your architecture is different than MacOS/AMD, you need to change download link in the makefile
- Build and start with:
make run
- Open http://localhost:3000
- Log in with default credentials (admin/admin)
- Query logs and metrics from database
- Builds custom otel collector with provided configuration
- Starts following containers: 3. postgres with sample data 4. LGTM stack as observability backend
- Collector periodically (according to the configuration) reads data from the database and produces otel signals - logs and metrics