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

CollectMetrics call error : Error while parsing #3

Closed
redsux opened this issue Aug 22, 2016 · 5 comments
Closed

CollectMetrics call error : Error while parsing #3

redsux opened this issue Aug 22, 2016 · 5 comments

Comments

@redsux
Copy link

redsux commented Aug 22, 2016

Hi,

I've some issue with this plugin, it failed and disabled task as soon as API returns doesn't suit expectation.

My task worked fine during one day then failed ... Last error is : CollectMetrics call error : Error while parsing data from /api/types/StoragePool/instances: json: cannot unmarshal object into Go value of type []map[string]interface {}

Metrics collected : "metrics": { "/intel/scaleio/*/capacityInUseInKb": {}, "/intel/scaleio/*/capacityLimitInKb": {}, "/intel/scaleio/*/unusedCapacityInKb": {}, "/intel/scaleio/*/spareCapacityInKb": {}, "/intel/scaleio/*/failedCapacityInKb": {}, "/intel/scaleio/*/movingCapacityInKb": {}, "/intel/scaleio/*/maxCapacityInKb": {}, "/intel/scaleio/*/numOfDevices": {}, "/intel/scaleio/*/numOfVolumes": {}, "/intel/scaleio/*/totalReadBwc/*": {}, "/intel/scaleio/*/totalWriteBwc/*": {} },

Environment :

  • Snap in docker container
  • ScaleIO 1.32.5 clusters
  • CentOS 7

I'll continue to analyze it.

Regards,
Red

@thomastaylor312
Copy link
Contributor

@redsux Missed the alert on this. If you reenable the task, does it work again? I am wondering if the API had a small hiccup and returned an unexpected response. If it did, I'll try to figure out how to handle it.

@thomastaylor312
Copy link
Contributor

@redsux Just following up on this. Have you seen more issues?

@redsux
Copy link
Author

redsux commented Oct 5, 2016

Sorry @thomastaylor312 I miss your answers !
Reenable the task works well.

As snap didn't match all our requirements we finally ends our tests. But I could restart my containers.

@thomastaylor312
Copy link
Contributor

@redsux Are you ok with me closing this issue then? As for Snap meeting your requirements, we'd love to hear from you in the Slack Channel about any feedback or pain points that you had so we can address/improve them if possible. Thanks for getting back!

@nanliu
Copy link
Contributor

nanliu commented Dec 20, 2016

@redsux, I'm closing this issue. However please reach out if you have any feedbacks on how we can improve Snap to meet your needs.

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

No branches or pull requests

3 participants