Skip to content

feat: Add utilities to query structured logs from Sentry#34

Merged
tustanivsky merged 10 commits intomainfrom
feat/logs-api
Jan 16, 2026
Merged

feat: Add utilities to query structured logs from Sentry#34
tustanivsky merged 10 commits intomainfrom
feat/logs-api

Conversation

@tustanivsky
Copy link
Collaborator

This PR adds new utility functions to the sentry-api-client module that allow querying structured logs from Sentry for use in integration tests.

Key changes:

  • Add Get-SentryLogs function to fetch structured logs from Sentry
  • Add Get-SentryLogsByAttribute convenience wrapper for filtering logs by attribute name/value
  • Add Get-SentryTestLog test utility with automatic polling for integration tests
  • Add tests for new API functions

Related items:

Copy link
Collaborator

@limbonaut limbonaut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a nitpick.

@tustanivsky tustanivsky merged commit 34ca658 into main Jan 16, 2026
14 checks passed
@tustanivsky tustanivsky deleted the feat/logs-api branch February 10, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants