angelo, jeremycherfas, [grantcodes], gRegor, tetov-irc, mro, nertzy, jacky and [snarfed] joined the channel
#[snarfed]capjamesg I use https://cloud.google.com/logging/ to capture Bridgy's logs, but there are lots of similar monitoring/observability tools. New Relic, Datadog, Splunk, Honeycomb, etc
#[snarfed]a good monitoring tool is worth its weight in gold
geoffo and jacky joined the channel
#IWDiscordGateway<capjamesg> snarfed Do you serve those logs from the brid.gy web interface (i.e. the ones that shows whether retrieving a Tweet was successful)?
#IWDiscordGateway<capjamesg> Fascinating! That might solve this issue for me!
#IWDiscordGateway<capjamesg> How do you store logs in terms of what goes into each file?
#[snarfed]it's a service, it doesn't use a file abstraction, but log entries come in many different types and have different metadata attached - project, module, URL for HTTP requests, module and line number for python log message, etc. you can query by those
#[snarfed](in Python specifically, GCP attaches a `logging.Handler` that bundles up log messages and sends them to the GCP Logging service over the network to be stored)
gRegor, geoffo, AramZS and [hollie] joined the channel
#IWDiscordGateway<capjamesg> [snarfed] Wow. This makes logging so much easier.
#IWDiscordGateway<capjamesg> [snarfed] Are POST requests rate limited?
#IWDiscordGateway<capjamesg> Never mind. The issue I was having was caused by instantiating the logger too many times.
#IWDiscordGateway<capjamesg> This is going to be really difficult...
#IWDiscordGateway<capjamesg> I have a system through which I can query a domain and return logs. But, it takes 7 seconds to retrieve 200 lines of logs from Google Cloud.
#[snarfed]capjamesg yup, latency can vary widely. the big thing I did to improve that was a narrow timestamp window
#gRegorSoon I want to get back to the migration from Silex (no longer supported) to symofoy/flex. I think that will make the code a lot easier, plus Twig templates.
#[schmarty]i just migrated a Rails app to fly.io. i also used to use fly.io as a custom domain proxy in front of a glitch.com app (they have since made custom domains a part of glitch so i dropped that)
#[tantek]gRegor I'm taking a look at that indiewebify pr. the whitespace changes at the same time as code changes is making it harder 😛
#gRegorThanks. There's a setting at the top of the Files tab to ignore whitespace