GC Digital Talent is the new recruitment platform for digital and tech jobs in the Government of Canada. // Talents numériques du GC est la nouvelle plateforme de recrutement pour les emplois numériques et technologiques au gouvernement du Canada.
We know that we're losing the log output from our laravel worker jobs in Azure due to using Docker stdout logging. Let's stop using the Docker logging and instead send our logging directly to Application Insights.
✨ Feature
We know that we're losing the log output from our laravel worker jobs in Azure due to using Docker stdout logging. Let's stop using the Docker logging and instead send our logging directly to Application Insights.
🕵️ Details
There are two ways I can think of to do this:
Install the Azure Monitor into our app services to read our log files and send the data back to Auzre. https://learn.microsoft.com/en-us/azure/azure-monitor/app/opentelemetry-overview https://learn.microsoft.com/en-us/azure/azure-monitor/agents/agent-linux
Integrate a Azure compatible logger into Laravel https://learn.microsoft.com/en-us/azure/azure-monitor/app/opentelemetry-overview https://opentelemetry.io/docs/languages/php/ We could possibly get richer logging this way, by moving beyond a plain text stream. Possibly using different logging levels, adding context, or even multiple logging tables.
✅ Acceptance Criteria
🛑 Blockers