Configure Snowplow Micro using yml
What does this MR do and why?
Related to #358623 (closed)
We want to configure Snowplow Micro without using ENV variables, to make it work more intuitively. Instead, we will be using an already existing GDK setting, exposed to us with this MR.
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
- Have
snowplow micro
running locally - Checkout this MR's branch for
gitlab
and this branch for theGDK
. - Run
gdk reconfigure
- Open the rails console and try to trigger an event. You can use this snippet to do it:
Gitlab::Tracking.event('Projects::TestCategory', 'test_action')
- Make sure that the event has been collected at the
localhost:9091/micro/good
endpoint. - Try to change the
snowplow_micro.port
value using thegdk config
command and repeat the steps 3-5 to make sure it's still working.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Michał Wielich