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

W-16656937: add graphite.prefix.includeHostname property #1009

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

pdmoineau
Copy link
Contributor

@pdmoineau pdmoineau commented Sep 11, 2024

The graphite.prefix.includeHostname adds support for a custom prefix that includes the hostname.

@pdmoineau pdmoineau force-pushed the pmoineau.W-16656937.graphite-prefix branch 2 times, most recently from de9c175 to 8ab9b4d Compare September 11, 2024 20:57
@pdmoineau pdmoineau changed the title W-16656937: add graphite.prefix.withHostname property W-16656937: add graphite.prefix.includeHostname property Sep 11, 2024
@pdmoineau pdmoineau force-pushed the pmoineau.W-16656937.graphite-prefix branch from 8ab9b4d to e3ec850 Compare September 11, 2024 21:02
peterzxu-crm
peterzxu-crm previously approved these changes Sep 11, 2024
@@ -24,8 +24,8 @@ public class Util

private static GraphiteReporter graphiteReporter = null;

public static String getGraphiteMetricPrefix( String graphiteMetricsPrefix, int podId, String groupId,
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it possible to add unit test for this ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added a unit test

@pdmoineau pdmoineau force-pushed the pmoineau.W-16656937.graphite-prefix branch from 55f3862 to 277d8bd Compare September 12, 2024 14:24
@pdmoineau pdmoineau merged commit 40bec26 into master Sep 12, 2024
7 checks passed
@pdmoineau pdmoineau deleted the pmoineau.W-16656937.graphite-prefix branch September 12, 2024 14:44
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