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

Add ~200 more Couchbase metrics via Buckets endpoint #9032

Merged
merged 11 commits into from Mar 30, 2021

Conversation

ivorybilled
Copy link
Contributor

The additional metrics are configurable as detailed metrics.
Many of the stats being added correlate directly to graphs available on the Couchbase UI, you can hover them to see their metric 'name'.
Every gather of the detailed metrics will gather the latest Couchbase metrics (from the last possible second).

resolves #4152

Copy link
Contributor

@telegraf-tiger telegraf-tiger bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤝 ✅ CLA has been signed. Thank you!

@telegraf-tiger telegraf-tiger bot added the feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin label Mar 22, 2021
@ssoroka
Copy link
Contributor

ssoroka commented Mar 23, 2021

I think we may want to consider adding fields_included = [] and fields_excluded = [] support to this as the field-set is getting really large.

@ivorybilled
Copy link
Contributor Author

I think we may want to consider adding fields_included = [] and fields_excluded = [] support to this as the field-set is getting really large.

Done

Copy link
Contributor

@telegraf-tiger telegraf-tiger bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@helenosheaa helenosheaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Copy link
Contributor

@telegraf-tiger telegraf-tiger bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@ssoroka ssoroka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is probably fine, but I was thinking we needed fields_excluded, but maybe not?

@ivorybilled
Copy link
Contributor Author

this is probably fine, but I was thinking we needed fields_excluded, but maybe not?

I guess my thinking was that if the user is handpicking every field they do want, they won't have much of a need for fields excluded?

@ssoroka
Copy link
Contributor

ssoroka commented Mar 29, 2021

It depends. if you want all fields except 1 or 2, but you also want to get any fields added from plugin updates, exclude would be a better fit. I'm not certain it matters that much for this, but that's the idea.

@ivorybilled ivorybilled merged commit 470628e into master Mar 30, 2021
@ivorybilled ivorybilled deleted the couchbaseEnhancements branch March 30, 2021 15:17
jblesener pushed a commit to jblesener/telegraf that referenced this pull request Apr 18, 2021
* Couchbase new metrics for buckets

* updated

* update to simplify two different modes.

* cleanup code

* linter telling me to fix things I didn't do

* add include/exclude filter

* update sample config

* appease the linter

* Update README.md

* make all metrics configurable, defaults as just 'basic bucket metrics'

* check error in test
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.

Couchbase Plugin Enhancement
3 participants