Kong docker with amplify monitoring

#1

Hi all,

Does someone have experience with amplify? https://amplify.nginx.com/
Does someone try with kong?

My compose

KONG API GATEWAY

kong:
image: kong:1.1.2
command: >
sh -c “kong migrations bootstrap
&& sh /docker-entrypoint.sh
&& kong start -c /etc/kong/kong.conf --nginx-conf /usr/local/kong/current/custom_nginx.template
-vv docker-start”
ports:
- “8000:8000/tcp”
- “8001:8001/tcp”
- “8443:8443/tcp”
- “8444:8444/tcp”
- 9542:9542
volumes:
- ./kong/config/:/etc/kong/
healthcheck:
test: [“CMD”, “curl”, “-f”, “http://kong:8001”]
interval: 5s
timeout: 2s
retries: 15
restart: on-failure

nginx-amplify:
image: nginx-amplify
environment:
API_KEY: xxx

Thanks

#2

I’ve played with Amplify but I’ve never used it as well as Kong. Without diving into the source of the Amplify agent I can’t determine from their documentation if the amplify agent will be capable of getting metrics from openresty or if it’s been hard coded to nginx.

I do see that the amplify docker agent is only partially implemented / testing. You may have better luck installing Kong and the amplify agent natively?

Depending on your needs there’s a number of open source monitoring / analytics plugins worth looking into https://docs.konghq.com/hub/