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

deployer: update logs APIs to fetch the logs from shuttle-logger #1143

Conversation

iulianbarbu
Copy link
Contributor

Description of change

Updated get_logs and get_logs_stream deployer methods to be based on shuttle-logger.
This PR is rebased on top of #1139 .

How has this been tested? (if applicable)

N/A, pending on #1139 .

@iulianbarbu iulianbarbu force-pushed the feature/eng-917-update-deployer-to-fetch-the-logs-from-logger branch 2 times, most recently from 419c410 to a7e58e0 Compare August 10, 2023 15:30
@oddgrd oddgrd changed the base branch from main to feat/shuttle-logger-service August 18, 2023 10:29
@oddgrd oddgrd force-pushed the feature/eng-917-update-deployer-to-fetch-the-logs-from-logger branch from a7e58e0 to 37c022e Compare August 18, 2023 10:34
Comment on lines +36 to +37
// The OTLP_ADDRESS env var is useful for setting a localhost address when running deployer locally.
let otlp_address = std::env::var("OTLP_ADDRESS").unwrap_or(OTLP_ADDRESS.into());
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice 🥳

Copy link
Contributor

@chesedo chesedo left a comment

Choose a reason for hiding this comment

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

LGTM

@iulianbarbu iulianbarbu merged commit 4c83051 into shuttle-hq:feat/shuttle-logger-service Aug 21, 2023
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.

None yet

3 participants