#Prometheus integration

1 messages · Page 1 of 1 (latest)

fierce shell
#

Do you guys know of any interferences regarding Prometheus?
I will be using prometheus-client.

random tide
#

I actually don't know

#

Prometheus Exporters is something that I probably should be using in prod, but I don't

fierce shell
#

So there is nobody that is using prometheus instrumentation libraries in here?
Maybe I should simply try shrug

#

pycord uses aiohttp and pthe mentioned prometheus package seems to use twisted.

random tide
#

apparently nope. I'll probably mess around with some Prometheus instrumentation libs and see if I can get anything out of it

#

Aiohttp still uses the asyncio event loop

fierce shell
#

I started putting in prometheus-client instrumentation and nothing broke yet

random tide
#

ok good to hear

fierce shell
#

But since my bot is not supposed to run on many servers, I won't test with sharding, but I think sharding schould work as well - somehow

random tide
#

Haven't tested that yet

fierce shell
#

You may need to use the multi process mode and add tags for the shard ID, if you want to use sharing.

random tide
#

hm interesting. I don't have any plans to do sharding rn but nice to know