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

datadog output plugin undeterminable type #4090

Closed
tjend opened this issue May 2, 2018 · 1 comment · Fixed by #4091
Closed

datadog output plugin undeterminable type #4090

tjend opened this issue May 2, 2018 · 1 comment · Fixed by #4091
Labels
bug unexpected problem or unintended behavior regression something that used to work, but is now broken
Milestone

Comments

@tjend
Copy link

tjend commented May 2, 2018

Telegraf version > 1.5.3 broke sending of several metrics to datadog.

Relevant telegraf.conf:

debug = true
[[inputs.disk]]
ignore_fs = ["tmpfs", "devtmpfs"]
[[inputs.diskio]]
[[inputs.mem]]
[[inputs.system]]
[[inputs.swap]]
[[outputs.datadog]]
apikey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

System info:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial

$ cat /etc/apt/sources.list.d/influxdb.list
deb https://repos.influxdata.com/ubuntu xenial stable

Problem telegraf version: 1.6.1-1
Working telegraf version: 1.5.3-1

Steps to reproduce:

  1. Upgrade telegraf from version 1.5.3-1 to 1.6.1-1

Expected behavior:

Telegraf continues to send all my metrics to datadog.

Actual behavior:

Only some metrics are sent to datadog.

Metrics for disk, diskio, mem, system and swap are not sent to datadog.

The log shows errors like this:
I! unable to build Metric for swap due to error 'unable to extract value from Fields total error undeterminable type', skipping
I! unable to build Metric for swap due to error 'unable to extract value from Fields in error undeterminable type', skipping
I! unable to build Metric for system due to error 'unable to extract value from Fields uptime error undeterminable type', skipping
I! unable to build Metric for mem due to error 'unable to extract value from Fields total error undeterminable type', skipping
I! unable to build Metric for disk due to error 'unable to extract value from Fields inodes_used error undeterminable type', skipping
I! unable to build Metric for diskio due to error 'unable to extract value from Fields read_bytes error undeterminable type', skipping
I! unable to build Metric for diskio due to error 'unable to extract value from Fields write_time error undeterminable type', skipping

Additional info:

Same problem on Ubuntu 14.04. Same problem with telegraf 1.6.0-1.

@danielnelson
Copy link
Contributor

Thanks for the report, I'll take a look.

@danielnelson danielnelson added this to the 1.6.2 milestone May 2, 2018
@danielnelson danielnelson added bug unexpected problem or unintended behavior regression something that used to work, but is now broken labels May 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior regression something that used to work, but is now broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants