Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Remove local vs remote host selected metric #4922

Merged
merged 4 commits into from
Jul 29, 2020

Conversation

Jolyon-S
Copy link
Contributor

Goals (and why):
Our internal fleet has long since moved to using the local weighting of 1.0, so this metric generally just shows a straight line all of the time.

Implementation Description (bullets):
Removed counters recording when local or remote host was selected.

Testing (What was existing testing like? What have you done to improve it?):
N/A.

Concerns (what feedback would you like?):
Does anyone actually look at this metric, and/or is it ever useful?

Where should we start reviewing?:
CassandraService

Priority (whenever / two weeks / yesterday):
Whenever

@changelog-app
Copy link

changelog-app bot commented Jul 29, 2020

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Remove local and remote host metrics.

Check the box to generate changelog(s)

  • Generate changelog entry

Copy link
Contributor

@jeremyk-91 jeremyk-91 left a comment

Choose a reason for hiding this comment

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

🚀

@bulldozer-bot bulldozer-bot bot merged commit df92086 into develop Jul 29, 2020
@bulldozer-bot bulldozer-bot bot deleted the remove-local-host-metrics branch July 29, 2020 10:15
@@ -93,10 +87,6 @@ public CassandraService(
Blacklist blacklist,
CassandraClientPoolMetrics poolMetrics) {
this.metricsManager = metricsManager;
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm wondering if instead you could do @jeremyk-91 's filtering? So filter when this is 1, but publish when it's not?

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'm removing it more because I don't think I have ever used it after the initial rollout. So even if we filter it, would it be used in debugging?

Copy link
Contributor

Choose a reason for hiding this comment

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

I've seen it go down and slowly recover before. But I think you might be right, there might not be any in keeping the complexity here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants