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

Librato output : disk input: Couldn't build gauge: unable to extract value from Fields, undeterminable type #4149

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

Comments

@W13ts38
Copy link

W13ts38 commented May 15, 2018

Relevant telegraf.conf:

[[outputs.librato]]
api_user = "[email protected]" # required.
api_token = "myapicode" # required.
template = "host"

[[inputs.disk]]
mount_points = ["/"]
ignore_fs = ["tmpfs", "devtmpfs", "devfs"]

System info:

core@docker ~/telegraf $ cat /etc/os-release
NAME="Container Linux by CoreOS"
ID=coreos
VERSION=1688.5.3
VERSION_ID=1688.5.3
BUILD_ID=2018-04-03-0547
PRETTY_NAME="Container Linux by CoreOS 1688.5.3 (Rhyolite)"
ANSI_COLOR="38;5;75"
HOME_URL="https://coreos.com/"
BUG_REPORT_URL="https://issues.coreos.com"
COREOS_BOARD="amd64-usr"

2018-05-15T12:48:57Z I! Starting Telegraf v1.6.2

Steps to reproduce:

using docker-compose file below with the telegraf.conf adjustments above:
version: '2'
services:
telegraf:
image: telegraf
restart: always
environment:
HOST_PROC: /hostfs/proc
HOST_MOUNT_PREFIX: /hostfs
hostname: localhost
network_mode: host
volumes:

  • /:/hostfs:ro
  • /data/docker/telegraf/telegraf.conf:/etc/telegraf/telegraf.conf:ro

Expected behavior:

disk metrics of the mount / being sent to librato

Actual behavior:

receive an error :
2018-05-15T12:48:00Z D! Output [librato] buffer fullness: 1 / 10000 metrics.
2018-05-15T12:48:00Z I! unable to build Gauge for disk, skipping
2018-05-15T12:48:00Z D! Couldn't build gauge: unable to extract value from Fields, undeterminable type 6520340480

2018-05-15T12:48:00Z D! Output [librato] wrote batch of 1 metrics in 94.728µs

Additional info:

when i disable the librato output and enable file output everything works as expected. so that suggests the problem is in the librato output plugin

[Include gist of relevant config, logs, etc.]

@danielnelson danielnelson added bug unexpected problem or unintended behavior regression something that used to work, but is now broken labels May 15, 2018
@danielnelson danielnelson added this to the 1.6.3 milestone May 15, 2018
@danielnelson
Copy link
Contributor

Sorry about that, the fix will be in 1.6.3 early next week. You can also try the nightly builds, just give it until tomorrow to be incorporated.

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