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

kapacitor measurement named "gcc_pu_fraction" #7402

Closed
clone137 opened this issue Apr 24, 2020 · 1 comment · Fixed by #7425
Closed

kapacitor measurement named "gcc_pu_fraction" #7402

clone137 opened this issue Apr 24, 2020 · 1 comment · Fixed by #7425
Labels
bug unexpected problem or unintended behavior
Milestone

Comments

@clone137
Copy link

Relevant telegraf.conf:

[[inputs.kapacitor]]

System info:

Telegraf 1.14.0 (git: HEAD fefd7ff)

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

Kapacitor OSS 1.5.4 (git: HEAD 1f648f85772efe222a3853fe1a0d9ef88854a8c1)

Steps to reproduce:

  1. telegraf config:
[agent]
  interval = "1m"
  round_interval = true

[[inputs.kapacitor]]
  urls = [ "http://10.0.2.125:9092/kapacitor/v1/debug/vars" ]
  timeout = "30s"

[[outputs.influxdb]]
  urls = ["http://10.0.2.125:8086"]
  database = "telegrafKapacitorTest"
  1. run telegraf with above config:
$ telegraf --config telegrafKapacitor.conf --test | grep gcc_pu_fraction
2020-04-24T07:50:39Z I! Starting Telegraf 1.14.0
> kapacitor_memstats,host=dev-brad.irisns.com,kap_version=1.5.4,url=http://10.0.2.125:9092/kapacitor/v1/debug/vars alloc_bytes=48749656i,buck_hash_sys_bytes=3062632i,frees=14995894119i,gc_sys_bytes=4993024i,gcc_pu_fraction=0.00013111448287934403,heap_alloc_bytes=48749656i,heap_idle_bytes=80396288i,heap_in_use_bytes=52379648i,heap_objects=188401i,heap_released_bytes=75120640i,heap_sys_bytes=132775936i,last_gc_ns=1587714560892796149i,lookups=0i,mallocs=14996082520i,mcache_in_use_bytes=6944i,mcache_sys_bytes=16384i,mspan_in_use_bytes=399840i,mspan_sys_bytes=1048576i,next_gc_ns=52617520i,num_gc=243146i,other_sys_bytes=1170832i,pause_total_ns=68022821002i,stack_in_use_bytes=1441792i,stack_sys_bytes=1441792i,sys_bytes=144509176i,total_alloc_bytes=2097127819832i 1587714640000000000

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:

n/a

@danielnelson danielnelson added this to the 1.14.2 milestone Apr 24, 2020
@danielnelson danielnelson added the bug unexpected problem or unintended behavior label Apr 24, 2020
@clone137
Copy link
Author

thank you very much

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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants