Skip to content

Commit

Permalink
[TT-11730] Fixed mongo analytics settings (#296)
Browse files Browse the repository at this point in the history
* Fix name of env variable

* Set `use_sharded_collection` is set to true by default
  • Loading branch information
komalsukhani authored Jul 1, 2024
1 parent 6135f4e commit 3950f50
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ spec:
value: "{{ .Values.dashboard.hostConfig.overrideHostname}}"
- name: "TYK_DB_HOMEDIR"
value: "{{ .Values.dashboard.homeDir }}"
- name: "TYK_DB_USESHARDEDANALYTICS"
- name: "TYK_DB_USESHARDEDANLAYTICS"
value: "{{ .Values.dashboard.useShardedAnalytics }}"
- name: "TYK_DB_ENABLEANALYTICSCACHE"
value: "{{ .Values.dashboard.enableAnalyticsCache }}"
Expand Down
4 changes: 2 additions & 2 deletions tyk-control-plane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ tyk-pump:

# backend defines the pumps to be created by default, as an array of string.
# Supported backends are:
# - "mongo": Enables Mongo Aggregate and Mongo Selective Pump
# - "mongo": Enables Mongo, Mongo Aggregate and Mongo Selective Pump
# - "mongo-aggregate": Enables ONLY Mongo Aggregate AND Mongo Graph Pump
# - "mongo-selective": Enables ONLY Mongo Selective
# - "postgres": Enables Postgres Aggregate, Postgres Graph Aggregate, SQL Pump and SQL graph pump
Expand Down Expand Up @@ -960,7 +960,7 @@ tyk-dashboard:
# If using the mongo-pump-selective pump, where data is written to org-id-specific collections in MongoDB,
# then enabling this option will switch querying for analytics over to the independent collection entries.
# It is used to set TYK_DB_USESHARDEDANALYTICS
useShardedAnalytics: false
useShardedAnalytics: true
# If using the new Aggregate Pump, Tyk Analytics can make use of the newer, faster Analytics lookup,
# to ensure that this can be made backwards compatible.This option must be set to true,
# in conjunction with the aggregate_lookup_cutoff value.
Expand Down
2 changes: 1 addition & 1 deletion tyk-data-plane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ tyk-pump:

# backend defines the pumps to be created by default, as an array of string.
# Supported backends are:
# - "mongo": Enables Mongo Aggregate and Mongo Selective Pump
# - "mongo": Enables Mongo, Mongo Aggregate and Mongo Selective Pump
# - "mongo-aggregate": Enables ONLY Mongo Aggregate AND Mongo Graph Pump
# - "mongo-selective": Enables ONLY Mongo Selective
# - "postgres": Enables Postgres Aggregate, Postgres Graph Aggregate, SQL Pump and SQL graph pump
Expand Down
2 changes: 1 addition & 1 deletion tyk-oss/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ tyk-pump:

# backend defines the pumps to be created by default, as an array of string.
# Supported backends are:
# - "mongo": Enables Mongo Aggregate and Mongo Selective Pump
# - "mongo": Enables Mongo, Mongo Aggregate and Mongo Selective Pump
# - "mongo-aggregate": Enables ONLY Mongo Aggregate AND Mongo Graph Pump
# - "mongo-selective": Enables ONLY Mongo Selective
# - "postgres": Enables Postgres Aggregate, Postgres Graph Aggregate, SQL Pump and SQL graph pump
Expand Down
4 changes: 2 additions & 2 deletions tyk-stack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ tyk-pump:

# backend defines the pumps to be created by default, as an array of string.
# Supported backends are:
# - "mongo": Enables Mongo Aggregate and Mongo Selective Pump
# - "mongo": Enables Mongo, Mongo Aggregate and Mongo Selective Pump
# - "mongo-aggregate": Enables ONLY Mongo Aggregate AND Mongo Graph Pump
# - "mongo-selective": Enables ONLY Mongo Selective
# - "postgres": Enables Postgres Aggregate, Postgres Graph Aggregate, SQL Pump and SQL graph pump
Expand Down Expand Up @@ -951,7 +951,7 @@ tyk-dashboard:
# If using the mongo-pump-selective pump, where data is written to org-id-specific collections in MongoDB,
# then enabling this option will switch querying for analytics over to the independent collection entries.
# It is used to set TYK_DB_USESHARDEDANALYTICS
useShardedAnalytics: false
useShardedAnalytics: true
# If using the new Aggregate Pump, Tyk Analytics can make use of the newer, faster Analytics lookup,
# to ensure that this can be made backwards compatible.This option must be set to true,
# in conjunction with the aggregate_lookup_cutoff value.
Expand Down

0 comments on commit 3950f50

Please sign in to comment.