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

Don't skip metrics during startup in aggregate phase #4230

Merged
merged 2 commits into from
Jun 5, 2018

Conversation

piotr1212
Copy link
Contributor

The order of loading service plugins caused metrics not being aggregated during startup. This was seen when using the logparser plugin and having it start from the beginning of the file. I run into it while testing: #3523 .

Also prints a debug message when skipping metrics.

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

Change the order of loading plugins. Load the input ServicePlugins after
all other plugins are loaded so that no metrics get dropped.
Prints a debug log message when a metric gets dropped when the timestamp
is outside the allowed timewindow.
@danielnelson danielnelson added this to the 1.8.0 milestone Jun 5, 2018
@danielnelson danielnelson added the fix pr to fix corresponding bug label Jun 5, 2018
@danielnelson danielnelson merged commit dfe7b5e into influxdata:master Jun 5, 2018
mkboudreau added a commit to mkboudreau/telegraf that referenced this pull request Jun 22, 2018
* master: (329 commits)
  Fix panic with unicode counter names in win_perf_counters  (influxdata#4255)
  Update go-syslog version
  Update changelog
  Update tengine docs
  Restore tengine input plugin (influxdata#4160)
  Fix TLS and SSL config option parsing (influxdata#4247)
  Update changelog
  Use same flags for all bsd family ping varients (influxdata#4241)
  Ignore more boring filesystems from disk plugin (influxdata#4244)
  Update changelog
  Add SSL/TLS support to Redis input (influxdata#4236)
  Don't skip metrics during startup in aggregate phase (influxdata#4230)
  Set 1.6.4 release date
  Update master version to 1.8
  Update sample config
  Add go-syslog to dependencies licenses list
  Update changelog
  Revert "Update aerospike-client-go version to latest release (influxdata#4128)"
  Update changelog
  Fix misnamed option in varnish sample config
  ...
rgitzel pushed a commit to rgitzel/telegraf that referenced this pull request Oct 17, 2018
otherpirate pushed a commit to otherpirate/telegraf that referenced this pull request Mar 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix pr to fix corresponding bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants