You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "0prodigy (via GitHub)" <gi...@apache.org> on 2023/04/07 17:23:16 UTC

[GitHub] [apisix] 0prodigy opened a new issue, #9269: bug:

0prodigy opened a new issue, #9269:
URL: https://github.com/apache/apisix/issues/9269

   ### Current Behavior
   
   datadog plugin failed to send metric
   
   ### Expected Behavior
   
   plugin should send metric to datadog agent
   
   ### Error Logs
   
   lua entry thread aborted: runtime error: /usr/local/apisix/apisix/plugins/datadog.lua:92: attempt to concatenate field 'consumer' (a table value)
   
   ### Steps to Reproduce
   
   1. Enable datadog plugin in routes
   2. Check log 
   
   ### Environment
   
   
   - APISIX version (run apisix version): 3.0.0
   - Operating system (run uname -a): Linux (x86_64 GNU/Linux)
   - OpenResty / Nginx version (run openresty -V or nginx -V): openresty/1.21.4.1
   - etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run luarocks --version):


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

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


Re: [I] bug: datadog plugin failed to send metric when consumer is used with route for authentication [apisix]

Posted by "Vacant2333 (via GitHub)" <gi...@apache.org>.
Vacant2333 commented on issue #9269:
URL: https://github.com/apache/apisix/issues/9269#issuecomment-1905365485

   > I was able to reproduce the issue with the following steps:
   > 
   > 1. configure datadog on a route
   > 2. configure a consumer with `key-auth`
   > 3. patch the route with `key-auth`
   > 4. send a request to the route and check logs
   > 
   > ![image](https://private-user-images.githubusercontent.com/39619599/297947139-4d75ef97-6b60-471b-aaed-aed319036bf8.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDU5OTEwOTMsIm5iZiI6MTcwNTk5MDc5MywicGF0aCI6Ii8zOTYxOTU5OS8yOTc5NDcxMzktNGQ3NWVmOTctNmI2MC00NzFiLWFhZWQtYWVkMzE5MDM2YmY4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAxMjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMTIzVDA2MTk1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVmOWU4OTg4MjM0ZDdiNDQ1Nzk4YzVmMThlNTlhOGMwYzI4ZTdjNDIxMTljMTZhMzAxMjZhYTQ2YmFiNGJhODAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.6jEWeysuXIKsgEjZrufgMI_O-EWHxroSGHs0hahPajo)
   > 
   > cc: @Vacant2333
   
   u can assign me this, i will take a look when im free~~


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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


Re: [I] bug: datadog plugin failed to send metric when consumer is used with route for authentication [apisix]

Posted by "kayx23 (via GitHub)" <gi...@apache.org>.
kayx23 commented on issue #9269:
URL: https://github.com/apache/apisix/issues/9269#issuecomment-1899646987

   I was able to reproduce the issue with the following steps:
   
   1. configure datadog on a route
   2. configure a consumer with `key-auth`
   3. patch the route with `key-auth`
   4. send a request to the route and check logs
   
   ![image](https://github.com/apache/apisix/assets/39619599/4d75ef97-6b60-471b-aaed-aed319036bf8)
   
   cc: @Vacant2333 
   


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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


Re: [I] bug: datadog plugin failed to send metric [apisix]

Posted by "monkeyDluffy6017 (via GitHub)" <gi...@apache.org>.
monkeyDluffy6017 closed issue #9269: bug: datadog plugin failed to send metric
URL: https://github.com/apache/apisix/issues/9269


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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


Re: [I] bug: datadog plugin failed to send metric [apisix]

Posted by "zhuoyang (via GitHub)" <gi...@apache.org>.
zhuoyang commented on issue #9269:
URL: https://github.com/apache/apisix/issues/9269#issuecomment-1865726962

   I am facing this issue as well, it only happens when there's authentication enabled 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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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


Re: [I] bug: datadog plugin failed to send metric [apisix]

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #9269:
URL: https://github.com/apache/apisix/issues/9269#issuecomment-1846624647

   @0prodigy please share steps to reproduce, I have configured the dd plugin before and it worked.


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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


Re: [I] bug: datadog plugin failed to send metric [apisix]

Posted by "monkeyDluffy6017 (via GitHub)" <gi...@apache.org>.
monkeyDluffy6017 commented on issue #9269:
URL: https://github.com/apache/apisix/issues/9269#issuecomment-1859626477

   I will close this due to long period of inactivity, please feel free to reopen it


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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


[GitHub] [apisix] Sn0rt commented on issue #9269: bug: datadog plugin failed to send metric

Posted by "Sn0rt (via GitHub)" <gi...@apache.org>.
Sn0rt commented on issue #9269:
URL: https://github.com/apache/apisix/issues/9269#issuecomment-1501525761

   can you share your config of the router ?


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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


Re: [I] bug: datadog plugin failed to send metric when consumer is used with route for authentication [apisix]

Posted by "shreemaan-abhishek (via GitHub)" <gi...@apache.org>.
shreemaan-abhishek commented on issue #9269:
URL: https://github.com/apache/apisix/issues/9269#issuecomment-1899720834

   looks like a good first issue to me


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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


Re: [I] bug: datadog plugin failed to send metric when consumer is used with route for authentication [apisix]

Posted by "ecoupal-believe (via GitHub)" <gi...@apache.org>.
ecoupal-believe commented on issue #9269:
URL: https://github.com/apache/apisix/issues/9269#issuecomment-1943328772

   https://github.com/apache/apisix/pull/10934


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

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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