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

Prometheus plugin with Kong 2.5 broken with missing of upstream method #147

Closed fffonion closed 3 years ago

fffonion commented 3 years ago

Error message was:

/usr/local/share/lua/5.1/lapis/application.lua:424: /kong-plugin/kong/plugins/prometheus/exporter.lua:321: attempt to call field 'get_all_upstreams' (a nil value)
fffonion commented 3 years ago

Fix with #148 , EE master nightly still be failing because of missing entry in rockspec, it should be green as long as EE merges CE master back.