Enable automated ways to configure/test/observe Snowplow events - Phase 1
Phase 1
Implement a way to test/validate tracking events in more of an e2e way in our local development environment.
Steps
-
Create a way to validate Snowplow micro results via their API in an rspec feature test in local development.
- Endpoint querying like this can be used to filter and expect on these results
curl --location --request POST 'http://localhost:9090/micro/good' \ --header 'Content-Type: application/json' \ --data-raw '{ "schema": "iglu:com.google.analytics/event/jsonschema/1-0-0", "contexts": [ "iglu:com.gitlab/gitlab_standard/jsonschema/1-0-7" ], "eventType": "struct", "limit": 10 }'
-
Vet against a few existing flows via feature spec.
-
Document.
The first 2 steps above could be considered a POC step/Spike.