discord.py-ext-prometheus icon indicating copy to clipboard operation
discord.py-ext-prometheus copied to clipboard

Log names of other interactions

Open 2br-2b opened this issue 1 year ago • 2 comments

Right now, the interaction name is only logged if it's a command. This gives no visibility into what buttons are being pressed, what modals are being submitted, etc. It would be helpful to provide more visibility here

2br-2b avatar Jun 16 '24 00:06 2br-2b

I totally agree. At the moment, all interractions are under one metric but that might not be the best approach. We might need new counters to support modal names and button names properly

Apollo-Roboto avatar Jun 18 '24 23:06 Apollo-Roboto

discord_event_on_application_command_interaction could be splitted into the 5 interaction types

  • discord_interaction_component
  • discord_interaction_slash_command
  • discord_interaction_modal_submit
  • discord_interaction_ping
  • discord_interaction_autocomplete

Apollo-Roboto avatar Jun 18 '24 23:06 Apollo-Roboto