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

ALFREDOPS-604 Adding metrics for solr tracking and sharding #22

Merged
merged 5 commits into from
Sep 10, 2020

Conversation

thijslemmens
Copy link
Contributor

Added metrics that make it possible to monitor a sharded Solr setup

kerkhofsd
kerkhofsd previously approved these changes Sep 9, 2020
todorinskiz
todorinskiz previously approved these changes Sep 10, 2020
tgeens
tgeens previously approved these changes Sep 10, 2020
@tgeens tgeens merged commit 7e46a7c into master Sep 10, 2020
@vierbergenlars vierbergenlars deleted the ALFREDOPS-604 branch October 20, 2020 15:20

public void refresh() {
long now = System.currentTimeMillis();
if (rawData == null || now - lastRefresh > ttl) {
Copy link
Contributor

Choose a reason for hiding this comment

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

where is lastRefresh updated ?

Collectors.toSet());
}

public ShardState getShardState(ShardInstance shardInstance) {
Copy link
Contributor

Choose a reason for hiding this comment

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

See #36
Should this be converted this to Optional<ShardState> ?

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