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

openldap: Include more metrics, change up field names #3722

Merged
merged 5 commits into from
Feb 5, 2018

Conversation

acobaugh
Copy link
Contributor

I noticed that this plugin wasn't including a bunch of metrics, specifically the monitoredObject entries. This PR includes those entries with numerical values for monitoredInfo.

It also changes up the field names so they sort more naturally. I know this was discussed on the original PR, and in retrospect and after using this plugin, reversing the names based on their distinguished names will make them easier to work with. This will be a breaking change for anyone already using this plugin, but I believe it will be worth it.

(please let me know if we'd rather make this two PRs so the additional metrics can be included in a release sooner on account of the breaking change)

Required for all PRs:

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

@danielnelson
Copy link
Contributor

We can add the new fields no problem, but on the reordered fields we need to preserve compatibility.
What we can do if you like is add a new option that when set turns on the new ordering, it can be enabled when generating a new config but if not set it should default off. In the comment we can recommend using the reverse order.

@danielnelson danielnelson added the feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin label Jan 27, 2018
@acobaugh
Copy link
Contributor Author

acobaugh commented Feb 3, 2018

Alright, added a reverse_metric_names option that defaults to false, but is set to true when generating a config.

@danielnelson danielnelson added this to the 1.6.0 milestone Feb 5, 2018
@danielnelson danielnelson merged commit ea0be51 into influxdata:master Feb 5, 2018
mkboudreau added a commit to mkboudreau/telegraf that referenced this pull request Feb 16, 2018
* master: (59 commits)
  Added additional SQL Server performance counters (influxdata#3770)
  Update changelog
  Fix ping plugin not reporting zero durations (influxdata#3778)
  Adjust time of nightly build
  Update changelog
  Add TLS support to the mesos input plugin (influxdata#3769)
  Install new requirements for fpm gem install
  Update changelog
  Add additional metrics and reverse metric names option to openldap (influxdata#3722)
  Update paho mqtt to latest release
  Update changelog
  Remove userinfo from url tag in prometheus input (influxdata#3743)
  Update sample config in contributing docs
  Run nightly build sequentially
  Fix Makefile on Windows and use in AppVeyor build (influxdata#3748)
  Fix example source_override values in wavefront output (influxdata#3744)
  Update gitignore
  Update changelog
  Improve procstat readme
  Add native Go method for finding pids to procstat (influxdata#3559)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants