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

influxdb_memstats measurement named "gcc_pu_fraction" #7551

Closed
clone137 opened this issue May 20, 2020 · 0 comments · Fixed by #7573
Closed

influxdb_memstats measurement named "gcc_pu_fraction" #7551

clone137 opened this issue May 20, 2020 · 0 comments · Fixed by #7573
Labels
area/influxdb bug unexpected problem or unintended behavior
Milestone

Comments

@clone137
Copy link

clone137 commented May 20, 2020

Relevant telegraf.conf:

[[inputs.influxdb]]

System info:

Telegraf 1.14.2 (git: HEAD fb74eaf)

FreeBSD 11.3-RELEASE-p5 #0: Tue Nov 12 08:59:04 UTC 2019 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64

Steps to reproduce:

  1. telegraf config:
[[inputs.influxdb]]
  urls = [ "http://localhost:8086/debug/vars" ]

[[outputs.influxdb]]
  urls = ["http://10.0.2.125:8086"]
  database = "telegrafInfluxdbTest"
  1. run telegraf with above config:
$ telegraf --config telegrafInfluxdb.conf --test | grep gcc_pu_fraction
2020-05-20T09:20:40Z I! Starting Telegraf 1.14.2
> influxdb_memstats,host=dev-brad.irisns.com,url=http://localhost:8086/debug/vars alloc=155971040i,buck_hash_sys=2218019i,frees=2931264394i,gc_sys=24844288i,gcc_pu_fraction=0.0001339397761468312,heap_alloc=155971040i,heap_idle=428916736i,heap_inuse=173817856i,heap_objects=1930178i,heap_released=391634944i,heap_sys=602734592i,last_gc=1589966397087783430i,lookups=0i,mallocs=2933194572i,mcache_inuse=6944i,mcache_sys=16384i,mspan_inuse=1834504i,mspan_sys=5439488i,next_gc=274786240i,num_gc=22017i,other_sys=1581269i,pause_ns=65992i,pause_total_ns=2163186689i,stack_inuse=1245184i,stack_sys=1245184i,sys=638079224i,total_alloc=547834436504i 1589966440000000000

one of the fields produced is named "gcc_pu_fraction"

Expected behavior:

i expect the field to be named "gc_cpu_fraction"

Actual behavior:

the field is named "gcc_pu_fraction"

Additional info:

i found this same issue in the kapacitor input (issue #7402) for the golang memstats struct. therefore this issue may be present in others too.

@danielnelson danielnelson added this to the 1.14.4 milestone May 20, 2020
@danielnelson danielnelson added area/influxdb bug unexpected problem or unintended behavior labels May 20, 2020
HarshitOnGitHub added a commit to HarshitOnGitHub/telegraf that referenced this issue May 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/influxdb bug unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants