Kong / kong-plugin-prometheus

Prometheus plugin for Kong - this plugin has been moved into https://github.com/Kong/kong, please open issues and PRs in that repo
Apache License 2.0
119 stars 57 forks source link

Getting Internal Server Error(500) in /metrics endpoint in status listen #93

Closed ghost closed 4 years ago

ghost commented 4 years ago

We are getting this error in prometheus plugin[error] 31#0: *91 [lua] prometheus.lua:671: log_error(): counter not initialied while logging request. We are using kong hybrid mode and only getting this error in kong data plane. It's intermittent. Some time we got metrics and some time it show internal server error(500) in /metrics endpoint. We are using kong docker image in both plane.

fffonion commented 4 years ago

This is a bug in Kong, teleporting to https://github.com/Kong/kong/issues/6160

ghost commented 4 years ago

Ok thanks closing this one.