-
Notifications
You must be signed in to change notification settings - Fork 283
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
<type 'exceptions.ValueError'>: could not convert string to float: postgres #809
Comments
не понял |
К сожалению, сейчас нет возможности запустить тест и полностью привести текст ошибки. В своем проекте я пофиксил следующим образом: elif isinstance(value, basestring) or isinstance(self.data[host][metric], basestring):
|
When I using [[inputs.postgres]] I receive this error, because this plugin has string metrics.
https://github.com/yandex/yandex-tank/blob/develop/yandextank/plugins/Telegraf/plugin.py#L299
This type conversion throw exception.
Please, check type before cast. Thanks.
Hope it's be fixed.
The text was updated successfully, but these errors were encountered: