Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

alongoldboim
Copy link
Contributor

@alongoldboim alongoldboim commented Sep 11, 2016

Hawkular supports strings values in metrics, this pr adds it to the client.
issue: #14

@alongoldboim alongoldboim force-pushed the support_strings_types branch 2 times, most recently from 0d52159 to 1700f7a Compare September 11, 2016 12:07

def test_add_string_single(self):
self.client.push(MetricType.String, 'test.string.1', "foo")
data = self.client.query_metric(MetricType.Availability, 'test.string.1')
Copy link
Contributor

Choose a reason for hiding this comment

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

should be MetricType.String and not MetricType.Availability

@simon3z
Copy link
Contributor

simon3z commented Sep 12, 2016

👍

@burmanm burmanm merged commit 27f95d8 into hawkular:master Sep 12, 2016
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