You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/08/07 10:24:06 UTC

[GitHub] [apisix] membphis opened a new issue #2020: bug(prometheus): "No value passed for etcd_modify_indexes"

membphis opened a new issue #2020:
URL: https://github.com/apache/apisix/issues/2020


   [lua] prometheus.lua:732: log_error(): No value passed for etcd_modify_indexes
   
   ```shell
   + 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.
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] membphis closed issue #2020: bug(prometheus): "No value passed for etcd_modify_indexes"

Posted by GitBox <gi...@apache.org>.
membphis closed issue #2020:
URL: https://github.com/apache/apisix/issues/2020


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] membphis commented on issue #2020: bug(prometheus): "No value passed for etcd_modify_indexes"

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #2020:
URL: https://github.com/apache/apisix/issues/2020#issuecomment-670457698


   it works fine if we call `make init` first, we can close this issue.
   
   ```shell
   ETCDCTL_API=2 etcdctl rm -r /apisix
   make init
   
   prove t/plugin/prometheus.t
   t/plugin/prometheus.t .. ok
   All tests successful.
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org