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

makes listServers api more informative #850

Merged

Conversation

oliveagle
Copy link
Contributor

API: cluster/servers

query the api will get result looks like this:

...
{
id: 1
isLeader: true
isUp: true
leaderConnectString: http://opsdevhdp02:8090
leaderRaftName: "813f022eeb23284b"
protobufConnectString: "opsdevhdp02:8099"
raftConnectionString: http://opsdevhdp02:8090
raftName: "813f022eeb23284b"
state: 4
stateName: "Potential"
}
-{
id: 2
isLeader: false
isUp: false
leaderConnectString: http://opsdevhdp02:8090
leaderRaftName: "813f022eeb23284b"
protobufConnectString: "opsdevhdp01:8099"
raftConnectionString: http://opsdevhdp01:8090
raftName: "4368e5809eef133a"
state: 4
stateName: "Potential"
}
...

jvshahid added a commit that referenced this pull request Aug 19, 2014
@jvshahid jvshahid merged commit 9d69c8f into influxdata:master Aug 19, 2014
@jvshahid
Copy link
Contributor

Thanks @oliveagle

@oliveagle oliveagle deleted the more_informative_api_get_servers branch August 20, 2014 02:24
@oliveagle oliveagle restored the more_informative_api_get_servers branch August 21, 2014 17:28
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.

None yet

2 participants