Hello,
I’ve a tyk-ce on K8s; enabled pump in values.yaml file; below;
...
extraEnvs:
- name: TYK_LOGLEVEL
value: debug
- name: TYK_GW_ENABLEHASHEDKEYSLISTING
value: true
- name: TYK_GW_ENABLEANALYTICS
value: true
- name: TYK_DB_USESHARDEDANALYTICS
value: true
- name: TYK_PMP_PUMPS_PROM_TYPE
value: prometheus
- name: TYK_PMP_PUMPS_PROM_TIMEOUT
value: 10
- name: TYK_PMP_PUMPS_PROM_META_LISTENADDRESS
value: "prometheus-server.monitoring.svc.cluster.local:80"
- name: TYK_PMP_PUMPS_PROM_META_PATH
value: "/metrics"
- name: TYK_PMP_PUMPS_PROM_ANALYTICSSTORAGETYPE
value: redis
- name: TYK_PMP_PUMPS_PROM_ANALYTICSSTORAGECONFIG_HOST
value: tyk-redis-master.tyk.svc.cluster.local
- name: TYK_PMP_PUMPS_PROM_ANALYTICSSTORAGECONFIG_PORT
value: 6379
- name: TYK_PMP_PUMPS_PROM_ANALYTICSSTORAGECONFIG_PASSWORD
value: "veryhiddenpassword"
# - name: TYK_PMP_PUMPS_PROM_ANALYTICSSTORAGECONFIG_DATABASE
# value: 0
- name: TYK_PMP_PUMPS_PROM_ANALYTICSSTORAGECONFIG_MAXIDLE
value: 100
- name: TYK_PMP_PUMPS_PROM_ANALYTICSSTORAGECONFIG_MAXACTIVE
value: 100
- name: TYK_PMP_PUMPS_PROM_ANALYTICSSTORAGECONFIG_ENABLECLUSTER
value: false
- name: TYK_PMP_PUMPS_PROM_ANALYTICSSTORAGECONFIG_MASTERNAME
value: tyk-redis-master
- name: TYK_PMP_ANALYTICSSTORAGECONFIG_REDISUSESSL
value: false
- name: TYK_PMP_ANALYTICSSTORAGECONFIG_REDISSSLINSECURESKIPVERIFY
value: true
mounts: []
# If pump is enabled the Gateway will create and collect analytics data to send
# to a data store of your choice. These can be set up in the pump config. The
# possible pump configs can be found here:
# https://github.com/TykTechnologies/tyk-pump#configuration
pump:
# Determines whither or not the pump component should be installed.
enabled: true
replicaCount: 1
image:
repository: docker.tyk.io/tyk-pump/tyk-pump
tag: v1.4.0
pullPolicy: IfNotPresent
...
but there is no any action in logs; looks like pump cannot pump.
k logs -n tyk pump-tyk-ce-tyk-headless-6799f5d555-9hvmz -f
time="Oct 5 21:20:02" level=info msg="## Tyk Analytics Pump, 1.4.0 ##"
time="Oct 5 21:20:02" level=info msg="--> [REDIS] Creating single-node client"
time="Oct 5 21:20:02" level=info msg="Serving health check endpoint at http://localhost:8083/health ..."
also there is nothing at prometheus.
Am I missing something? Please advise…
Regards