Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filtrer ut healthchecks fra logger #678

Open
Ceredron opened this issue Feb 5, 2025 · 0 comments
Open

Filtrer ut healthchecks fra logger #678

Ceredron opened this issue Feb 5, 2025 · 0 comments

Comments

@Ceredron
Copy link
Collaborator

Ceredron commented Feb 5, 2025

Beskrivelse

/health er et kall som container-app miljøet gjør mot appen vår ganske hyppig. I Correspondence annethvert sekund. Problemet er at Serilog logger hvert av disse requestene. Det fører til at AppRequests-tabellen i Log Analytics blir overfylt. Disse bør filtreres bort.

For å teste, bruk Github actionen "Publish test branch" til å kjøre ut og sjekk deretter om det fortsatt logges /health kall i Log Analytics med:
AppRequests | order by TimeGenerated desc

@Ceredron Ceredron converted this from a draft issue Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant