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

Add logging for prometheus operator in TargetAllocator's config generator #2329

Conversation

rashmichandrashekar
Copy link
Contributor

@rashmichandrashekar rashmichandrashekar commented Nov 9, 2023

Description:
Adding a feature - Currently, the prometheus operator logs, if any, are not visible from the targetallocator. This change enables error logging from prometheus-operator

Testing: Tested that logs that are returned by prometheus operator are logged to stdout

Sample logs -

image

@rashmichandrashekar rashmichandrashekar requested a review from a team November 9, 2023 02:30
@jaronoff97
Copy link
Contributor

How busy were the logs when you enabled this? could you add some samples ones to the PR description?

@rashmichandrashekar
Copy link
Contributor Author

rashmichandrashekar commented Nov 10, 2023

How busy were the logs when you enabled this? could you add some samples ones to the PR description?

Thanks @jaronoff97. The logs were not busy. Since it is mostly only for invalid cases like the one in the description. Please help with merging this PR if all looks good.

@rashmichandrashekar rashmichandrashekar changed the title Add logging for prometheus operator in TargetAllocator's config generator [chore] Add logging for prometheus operator in TargetAllocator's config generator Nov 10, 2023
@rashmichandrashekar rashmichandrashekar changed the title [chore] Add logging for prometheus operator in TargetAllocator's config generator Add logging for prometheus operator in TargetAllocator's config generator Nov 10, 2023
@rashmichandrashekar
Copy link
Contributor Author

@jaronoff97 @frzifus - Please help get this merged, as I dont have permissions. Thanks!

@frzifus
Copy link
Member

frzifus commented Nov 13, 2023

LGTM @jaronoff97 has to click :)

@jaronoff97 jaronoff97 merged commit 3d16cee into open-telemetry:main Nov 14, 2023
26 checks passed
@jaronoff97
Copy link
Contributor

Sorry I am on PTO today, but can merge real quick :)

@rashmichandrashekar
Copy link
Contributor Author

Sorry I am on PTO today, but can merge real quick :)

Thanks so much @jaronoff97!

ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request May 1, 2024
…ator (open-telemetry#2329)

* add logging for prometheus operator

* adding yaml for changelog

* Adding tracking issue
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.

3 participants