Skip to content

bug(prometheus): "No value passed for etcd_modify_indexes" #2020

@membphis

Description

@membphis

[lua] prometheus.lua:732: log_error(): No value passed for etcd_modify_indexes

+ prove t/plugin/prometheus.t
t/plugin/prometheus.t .. 7/?
#   Failed test 'TEST 4: fetch the prometheus metric data - pattern "[error]" should not match any line in error.log but matches line "2020/08/07 06:19:40 [error] 27936#0: *154 [lua] prometheus.lua:732: log_error(): No value passed for etcd_modify_indexes, client: 127.0.0.1, server: localhost, request: \"GET /apisix/prometheus/metrics HTTP/1.1\", host: \"localhost\"" (req 0)
# '
#   at /usr/local/share/perl/5.30.0/Test/Nginx/Socket.pm line 1280.
t/plugin/prometheus.t .. 26/?
#   Failed test 'TEST 7: fetch the prometheus metric data - pattern "[error]" should not match any line in error.log but matches line "2020/08/07 06:19:43 [error] 28088#0: *317 [lua] prometheus.lua:732: log_error(): No value passed for etcd_modify_indexes, client: 127.0.0.1, server: localhost, request: \"GET /apisix/prometheus/metrics HTTP/1.1\", host: \"localhost\"" (req 0)
# '
#   at /usr/local/share/perl/5.30.0/Test/Nginx/Socket.pm line 1280.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions