Skip to content

Conversation

TheFireCookie
Copy link
Contributor

Add Percent metric in OperatingSystemStats to solve this issue:

#2181

@gmarz
Copy link
Contributor

gmarz commented Aug 1, 2016

@TheFireCookie out of curiosity what version of ES are you running? I tested against version 2.3.4 and the property is os.cpu_percent, not os.percent.

Also, would be great if you could add an assertion to the integration test here: https://github.com/elastic/elasticsearch-net/blob/2.x/src/Tests/Cluster/NodesStats/NodesStatsApiTests.cs#L98

@TheFireCookie
Copy link
Contributor Author

TheFireCookie commented Aug 1, 2016

Sorry, I just went on the doc of ElasticSearch there: https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-nodes-stats.html#os-stats

I'll correct my pull request and write a test then.

Add CPU percent to OS node stats and add an assertion
@gmarz
Copy link
Contributor

gmarz commented Aug 1, 2016

👍 thanks! One last request...would you mind rebasing and squashing this PR to a single commit?

@TheFireCookie
Copy link
Contributor Author

The new one: #2186

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