Skip to content

Add Vector to Devkit

Ankit Panchal requested to merge 25-add-vector into main

What does this MR do and why?

#25 (closed)

As we are implementating vector in our analytics stack, this MR adds vector to devkit to keep both the setup in sync.

How to set up and validate locally

  1. Checkout branch in MR https://gitlab.com/gitlab-org/analytics-section/analytics-configurator/-/merge_requests/23 for analytics configurator.
  2. Build local image of analytics configurator by running docker build . -t devkit/analytics_configurator
  3. Update docker compose yml with local analytics configurator image.
  4. Run docker compose up -d
  5. Run the setup-clickhouse and setup-project/test endpoints and verify 200 OK statuses.
  6. Use the app_id to send events. Verify everything is working fine.
  7. To check if events are going to through vector run docker exec -it <vector-container-id-or-name> bash and inside container run vector top, You should see something like below.

Screenshot_2023-09-17_at_3.29.02_PM

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Closes #25 (closed)

Merge request reports