Skip to content
Snippets Groups Projects
Unverified Commit 7110c317 authored by Noah Moss's avatar Noah Moss Committed by GitHub
Browse files

Add `snowplow-available` and `snowplow-url` settings (#19060)

parent 73062d03
No related branches found
No related tags found
No related merge requests found
......@@ -468,3 +468,19 @@
:type :json
:setter :none
:getter fetch-cloud-gateway-ips-fn)
(defsetting snowplow-available
(str (deferred-tru "Boolean indicating whether a Snowplow collector is available to receive analytics events.")
" "
(deferred-tru "Should be set via environment variable in Cypress tests or during local development."))
:type :boolean
:default config/is-prod?
:visibility :public)
(defsetting snowplow-url
(deferred-tru "The URL of the Snowplow collector to send analytics events to.")
:default (if config/is-prod?
"https://sp.metabase.com"
;; Run `docker compose up` from the `snowplow/` subdirectory to start a local Snowplow collector
"http://localhost:9095")
:visibility :public)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment