Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.22 KB

File metadata and controls

44 lines (29 loc) · 1.22 KB

Custom otel collector with Sql Query Receiver

Testing setup for sql query receiver component

Prerequisites:

  • 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

How to use?

  1. Build and start with:
make run
  1. Open http://localhost:3000
  2. Log in with default credentials (admin/admin)
  3. Query logs and metrics from database

Logs

logs

Metrics

metrics

What does it do

  1. Builds custom otel collector with provided configuration
  2. Starts following containers: 3. postgres with sample data 4. LGTM stack as observability backend
  3. Collector periodically (according to the configuration) reads data from the database and produces otel signals - logs and metrics