Hi All,
I am currently deploying Tyk components on to AWS Fargate. However I am running into the issue with pump as the tyk_analytics collection isn’t added into my mongodb and the logs only show this three lines
2019-10-29 11:52:46
time=“Oct 29 03:52:46” level=info msg=“-- No max batch size set, defaulting to 10MB”
2019-10-29 11:52:46
time=“Oct 29 03:52:46” level=info msg=“-- No max document size set, defaulting to 10MB”
2019-10-29 11:52:46
time=“Oct 29 03:52:46” level=info msg=“## Tyk Analytics Pump, v0.8.1 ##”
I have tried the following:
- enable_analytics in gateway
- deploy all tyk components on the same VPC
I have added the following env variables on fargate:
TYK_PMP_ANALYTICSSTORAGECONFIG_HOST
TYK_PMP_PUMPS_MONGO_META_COLLECTIONNAME = tyk_analytics
TYK_PMP_PUMPS_MONGO_META_MONGOURL
TYK_PMP_PUMPS_MONGOPUMPAGGREGATE_META_MONGOURL
TYK_PMP_PUMPS_MONGOPUMPAGGREGATE_NAME = mongo-pump-aggregate
TYK_PMP_PURGEDELAY = 10
TYK_PMP_UPTIMEPUMPCONFIG_COLLECTIONNAME = tyk_uptime_analytics
TYK_PMP_UPTIMEPUMPCONFIG_MONGOURL
For the mongo url, I entered in this format mongodb:///tyk_analytics
Thank you !