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

Added source and port tags in jenkins_job metrics #6844

Merged
merged 4 commits into from
Jan 10, 2020
Merged

Added source and port tags in jenkins_job metrics #6844

merged 4 commits into from
Jan 10, 2020

Conversation

vikkyomkar
Copy link
Contributor

@vikkyomkar vikkyomkar commented Jan 1, 2020

Required for all PRs:

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

-> Earlier "url.Parse" function was called "N Nodes" and "J Jobs" times which is now reduced to just 2 calls by creating separate function for URL parsing and source, port split.
-> Added missing source and port tags in jenkins_job metrics

closes #6842

@vikkyomkar
Copy link
Contributor Author

vikkyomkar commented Jan 1, 2020

Fixes #6842

@vikkyomkar vikkyomkar changed the title added source and port tags in jenkins_job metrics [WIP] added source and port tags in jenkins_job metrics Jan 1, 2020
@vikkyomkar vikkyomkar changed the title [WIP] added source and port tags in jenkins_job metrics Added source and port tags in jenkins_job metrics Jan 1, 2020
plugins/inputs/jenkins/jenkins.go Outdated Show resolved Hide resolved
@danielnelson danielnelson added the performance problems with decreased performance or enhancements that improve performance label Jan 3, 2020
@vikkyomkar
Copy link
Contributor Author

@danielnelson Code is updated as per the suggestion. Now

  • Source and port tags are part of Jenkins struct
  • Tags are not passed down to the functions as argument.

Can you please review the changes now ?

@danielnelson danielnelson added this to the 1.14.0 milestone Jan 10, 2020
@danielnelson danielnelson removed the performance problems with decreased performance or enhancements that improve performance label Jan 10, 2020
@danielnelson danielnelson merged commit 1b1d78b into influxdata:master Jan 10, 2020
@danielnelson danielnelson added the feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin label Jan 10, 2020
athoune pushed a commit to bearstech/telegraf that referenced this pull request Apr 17, 2020
idohalevi pushed a commit to idohalevi/telegraf that referenced this pull request Sep 29, 2020
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
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.

Source and port tags are missing in jenkins job metrics
2 participants