Skip to content

Instantly share code, notes, and snippets.

@thirteen37
Created March 27, 2020 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save thirteen37/134ba6d9dd7b40632b0db07f23108f28 to your computer and use it in GitHub Desktop.
Save thirteen37/134ba6d9dd7b40632b0db07f23108f28 to your computer and use it in GitHub Desktop.
Example configuration for Turing
id: example_router
routes:
- id: tensorflow_model
type: PROXY
endpoint: "http://api.golabs.io/v2/5e4caccc310000e2cad8c071"
- id: control
type: PROXY
endpoint: "http://api.golabs.io/v2/5e4cacd4310000e1cad8c073"
strategy:
type: fiber.DefaultTuringRoutingStrategy
properties:
default_route_id: route_id_1
experiment_engine: Litmus
litmus_endpoint: litmus.golabs.io/api
litmus_client_id: data_science_platform
litmus_passkey: 7d88863ab31943af
litmus_timeout: 100ms
litmus_experiment_name: turing_test_experiment
litmus_segmentation_unit: customer
litmus_segmentation_field: customer_id
litmus_segmentation_field_source: header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment