Временной интервал в притоке не совпадает с интервалом, заданным в конфигурации телеграфа - PullRequest
0 голосов
/ 03 октября 2019

В агенте телеграфа я установил интервал 5 с. Но иногда я наблюдаю большие интервалы между отметками времени, например, от 40 до 50 секунд. Из-за этого график в графане показывает пустые места, которые производят неправильное впечатление на пользователя.

Ниже приведены временные метки. Обратите внимание на третий ряд, где разница во времени составляет 49 секунд. Таким образом, между 11:52:08 и 11:52:57 в графане появится пустое место, вот в чем проблема. Но я отслеживал показатели ЦП с помощью системного монитора, в такие пустые периоды есть такие счетчики, как «Привилегированное время» и «Время пользователя».

Есть идеи, что я делаю неправильно?

Wednesday, October 2, 2019 04:52:02 AM .... +2s
Wednesday, October 2, 2019 04:52:08 AM .... +6s
Wednesday, October 2, 2019 04:52:57 AM .... +49s
Wednesday, October 2, 2019 04:53:01 AM .... +4s
Wednesday, October 2, 2019 04:53:05 AM .... +4s
Wednesday, October 2, 2019 04:53:22 AM .... +17s
Wednesday, October 2, 2019 04:53:26 AM .... +4s
Wednesday, October 2, 2019 04:53:51 AM .... +25s
Wednesday, October 2, 2019 04:53:55 AM .... +4s
Wednesday, October 2, 2019 04:54:06 AM .... +11s
Wednesday, October 2, 2019 04:54:12 AM .... +6s
Wednesday, October 2, 2019 04:54:16 AM .... +4s

enter image description here

[global_tags]
  domain = "$USERDOMAIN"
  username = "$USERNAME"
  hostname = "$COMPUTERNAME"


[agent]
  interval = "5s"
  round_interval = true
  metric_buffer_limit = 2000
  flush_buffer_when_full = true
  collection_jitter = "3s"
  flush_interval = "10s"
  flush_jitter = "3s"
  precision = "s"
  debug = false
  quiet = true
  hostname = "$COMPUTERNAME"
  # logfile = "C:\\Program Files\\Monitor.log"

[[outputs.influxdb]]
  urls = ["http://primary.xxxxx.com:8686", "http://secondary.xxxxx.com:8686"]
  database = "xxxx"
  timeout = "5s"
  user_agent = "monitor"

[[inputs.win_perf_counters]]
  [[inputs.win_perf_counters.object]]
    ObjectName = "Processor"
    Instances = ["*"]
    Counters = ["% Idle Time", "% Interrupt Time", "% Privileged Time", "% User Time", "% Processor Time", "% DPC Time",]
    Measurement = "win_cpu"
    IncludeTotal=true
  [[inputs.win_perf_counters.object]]
    ObjectName = "LogicalDisk"
    Instances = ["*"]
    Counters = [ "% Idle Time", "% Disk Time", "% Disk Read Time", "% Disk Write Time", "Current Disk Queue Length", "% Free Space", "Free Megabytes",]
    Measurement = "win_disk"
  [[inputs.win_perf_counters.object]]
    ObjectName = "PhysicalDisk"
    Instances = ["*"]
    Counters = [ "Disk Read Bytes/sec", "Disk Write Bytes/sec", "Disk Reads/sec", "Disk Writes/sec", "% Disk Time", "% Disk Read Time", "% Disk Write Time",]
    Measurement = "win_diskio"
  [[inputs.win_perf_counters.object]]
    ObjectName = "Network Interface"
    Instances = ["*"]
    Counters = [ "Bytes Received/sec", "Bytes Sent/sec", "Packets Received/sec", "Packets Sent/sec", "Packets Received Errors", "Packets Outbound Errors",]
    Measurement = "win_net"
  [[inputs.win_perf_counters.object]]
    ObjectName = "System"
    Counters = [ "Context Switches/sec", "System Calls/sec", "System Up Time",]
    Instances = ["------"]
    Measurement = "win_system"
  [[inputs.win_perf_counters.object]]
    ObjectName = "Memory"
    Counters = [ "Available Bytes", "Pages/sec",]
     Instances = ["------"]
    Measurement = "win_mem"
  [[inputs.win_perf_counters.object]]
    ObjectName = "Paging File"
    Counters = [ "% Usage",]
    Instances = ["_Total"]
    Measurement = "win_swap"

  [[inputs.ping]]
    urls = ["ping.xxxx.com"]
    count = 1

Телеграф 1.3.6 Windows 10 (64 бит)

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...