Apollo-Roboto / discord.py-ext-prometheus

Add Prometheus to your Discord bot with this handy extension
https://pypi.org/project/discord-ext-prometheus/
MIT License
15 stars 5 forks source link

Log names of other interactions #21

Open 2br-2b opened 2 weeks ago

2br-2b commented 2 weeks ago

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

Apollo-Roboto commented 2 weeks ago

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 commented 2 weeks ago

discord_event_on_application_command_interaction could be splitted into the 5 interaction types