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

frontend: set default otel resource attributes #1184

Merged
merged 2 commits into from
Feb 3, 2025
Merged

Conversation

frzifus
Copy link
Collaborator

@frzifus frzifus commented Jan 29, 2025

What this PR does

Jira: https://issues.redhat.com/browse/ARO-14935
Link to demo recording:

Special notes for your reviewer

This change will add a default service name and version key similar like on OCM Cluster Service.

e.g. previous default:
image


cc @dinhxuanvu

Copy link
Collaborator

@dinhxuanvu dinhxuanvu left a comment

Choose a reason for hiding this comment

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

/lgtm

simonpasquier
simonpasquier previously approved these changes Jan 30, 2025
Copy link
Collaborator

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Collaborator

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

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

Copy link
Collaborator

@mbarnes mbarnes left a comment

Choose a reason for hiding this comment

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

I'd prefer to merge /frontend/pkg/info and /frontend/pkg/config.

}

return version
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

This and /frontend/pkg/config are both single-function packages. Could we merge them?
Feel free to rename the merged package to something appropriate, like maybe util? (you pick)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

merged both into into a util package 👍

@frzifus frzifus force-pushed the resource_attributes branch from 63cd81f to 9c1ea65 Compare February 3, 2025 10:30
Copy link
Collaborator

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

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

lgtm

@mbarnes mbarnes merged commit eaafc91 into main Feb 3, 2025
10 checks passed
@mbarnes mbarnes deleted the resource_attributes branch February 3, 2025 13:14
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.

4 participants