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 2021/02/02 08:34:05 UTC

[GitHub] [apisix] xyz101121 opened a new issue #3492: prometheus采集和官方采集文档指标数据缺少

xyz101121 opened a new issue #3492:
URL: https://github.com/apache/apisix/issues/3492


   我根据文档进行信息采集,
   https://github.com/apache/apisix/blob/master/doc/plugins/prometheus.md#available-metrics
   可是实际采集指标对不上,缺少很多,实际采集如下:
   ![image](https://user-images.githubusercontent.com/16227137/106573312-6c266780-6574-11eb-9955-463b916441ee.png)
   


----------------------------------------------------------------
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] xyz101121 commented on issue #3492: prometheus采集和官方采集文档指标数据缺少

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


   I configure info from link (https://github.com/apache/apisix/blob/master/doc/plugins/prometheus.md)
   apisix is docker , image is apache/apisix:2.2-alpine
   


----------------------------------------------------------------
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] xyz101121 commented on issue #3492: prometheus采集和官方采集文档指标数据缺少

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


   this is my apisix config
   ![image](https://user-images.githubusercontent.com/16227137/106606881-9a6c6d00-659d-11eb-9ff4-a5e98384d924.png)
   


----------------------------------------------------------------
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] xyz101121 commented on issue #3492: prometheus采集和官方采集文档指标数据缺少

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






----------------------------------------------------------------
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] xyz101121 commented on issue #3492: Prometheus collection and official collection document index data are missing

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


   I see , I try change route, Please wait 


----------------------------------------------------------------
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] Firstsawyou commented on issue #3492: prometheus采集和官方采集文档指标数据缺少

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


   Have you ever initiated a request to upstream. If not, you need to have a request to upstream to trigger other metrics.


----------------------------------------------------------------
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] xyz101121 commented on issue #3492: prometheus采集和官方采集文档指标数据缺少

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


   I have many requests from prod env ,But other metrics are not finded


----------------------------------------------------------------
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] Firstsawyou commented on issue #3492: prometheus采集和官方采集文档指标数据缺少

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


   Please provide a minimum reproduction step for the problem. Mainly how your prometheus plugin is configured.


----------------------------------------------------------------
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] tokers commented on issue #3492: prometheus采集和官方采集文档指标数据缺少

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


   @xyz101121 Could you please provide the config.yaml of your APISIX?


----------------------------------------------------------------
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] Firstsawyou commented on issue #3492: prometheus采集和官方采集文档指标数据缺少

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


   By the way, you can use a translation tool to translate Chinese into English.


----------------------------------------------------------------
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] tokers commented on issue #3492: prometheus采集和官方采集文档指标数据缺少

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


   @xyz101121 Could you please provide the config.yaml of your APISIX?


----------------------------------------------------------------
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] spacewander commented on issue #3492: prometheus采集和官方采集文档指标数据缺少

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


   How you configure the route? Have you enabled the promethues plugin on the route?


----------------------------------------------------------------
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] xyz101121 closed issue #3492: Prometheus collection and official collection document index data are missing

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


   


----------------------------------------------------------------
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] Firstsawyou commented on issue #3492: prometheus采集和官方采集文档指标数据缺少

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


   > I have many requests from prod env ,But other metrics are not finded
   
   By the way, provide the version information of your apisix.


----------------------------------------------------------------
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] Firstsawyou commented on issue #3492: prometheus采集和官方采集文档指标数据缺少

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






----------------------------------------------------------------
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] xyz101121 commented on issue #3492: Prometheus collection and official collection document index data are missing

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


   Now it is ok ,Because I did not configure the promethus plugin on other routes, I only configured it on /hello , Thanks for your help!


----------------------------------------------------------------
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