-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
vSphere: Add vCenter custom attributes to metrics #4955
Comments
I'm not against this. In fact, it's something we've discussed internally. My concern is the cardinality explosion it could cause, but if this is something optional, I think we'd be fine. |
Well, I thought about the very same problem and came to the conclusion that the cardinality explosion can be a problem, but only with a higher amount of custom attributes. I'm facing 13 custom attributes per entity currently and that's not much of a problem so far. Your suggestion would match my idea for this problem. I would love to have something like the following config parameters: # list of custom attributes to additionally map as metric tags per entity # wether to include the description field as metric tag and limit the length I really wonder though if it would make much sense to include the description field because that's not a usual tag thing. So I would be very happy to have the custom attributes as tags... :) |
@GeckoZero what's your take on collection frequency? I'm thinking it's enough to collect the tags during discovery and cache them in memory. Thoughts? |
@prydin those custom attributes are pretty static, so collecting them within the discovery intervall is more than enough and a good idea. |
Well, we just tried 1.12.1 and the custom attribute feature works as described. Great work, thx! |
Closed in #5971 |
Feature Request
Proposal:
Wondering if it would be possible to include the custom attributes in a vCenter per datacenter/cluster/host/vm entitie if they exist. Clearly the best solution would be to have those custom attributes as tags in telegraf metrics.
Current behavior:
Custom vCenter attributes are missing.
Desired behavior:
Add custom vCenter attributes as tags to telegraf metrics.
Use case:
Managing a medium sized installation with 1000+ VMs and a lot of structured meta data in custom attributes used for filtering/billing/classification. Additionally the vSphere plugin is MUCH cleaner and ways faster than the current solution based on home-grown scripts via the exec input plugin.
The plan is to completely throw away the script collection and use the vSphere plugin if we can get access to the custom attributes.
The text was updated successfully, but these errors were encountered: