Closed srajput1991 closed 3 years ago
This happens because of an older bug in Kong. What is the version of kong you are using?
it is 2.1.0 version.
Can you please upgrade to 2.1.4?
Yeah we can try it. Is it a bug in 2.1.0??
Kong 2.2.0 was just released, you could try it now instead.
Closing for inactivity, please reopen if needed.
2020/10/08 03:41:32 [error] 27#0: *640010028 lua entry thread aborted: runtime error: ...cal/share/lua/5.1/kong/plugins/prometheus/prometheus.lua:620: attempt to index field '_counter' (a nil value) stack traceback: coroutine 0: ...cal/share/lua/5.1/kong/plugins/prometheus/prometheus.lua: in function 'metric_data' ...cal/share/lua/5.1/kong/plugins/prometheus/prometheus.lua:666: in function 'collect' ...local/share/lua/5.1/kong/plugins/prometheus/exporter.lua:239: in function 'collect' content_by_lua(servers.conf:12):3: in main chunk, client: xxxxx, server: kong_prometheus_exporter, request: "GET /metrics HTTP/1.1", host: "xxxxxx:9542"