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

Fix OSDF Director startup warnings and separate GeoIP metric collection #1772

Merged
merged 9 commits into from
Dec 4, 2024

Conversation

patrickbrophy
Copy link
Collaborator

This PR addresses issue #1717. This PR fixes the unnecessary logging and separates out the GeoIP error metric collection. This is achieved via using a custom error type. This new error type carries along the prometheus labels. When we observe this new error type, we then update the metric with the passed along labels.

@patrickbrophy patrickbrophy added bug Something isn't working director Issue relating to the director component labels Nov 25, 2024
director/cache_ads.go Show resolved Hide resolved
director/sort.go Outdated Show resolved Hide resolved
director/sort.go Show resolved Hide resolved
Copy link
Member

@jhiemstrawisc jhiemstrawisc left a comment

Choose a reason for hiding this comment

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

LGTM, and I no longer see the errors pop up when spinning up an OSDF Director. Thanks!

@jhiemstrawisc jhiemstrawisc merged commit 1832672 into PelicanPlatform:main Dec 4, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working director Issue relating to the director component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OSDF director startup creates warnings for missing project during GeoIP resolution
2 participants