harvest
harvest copied to clipboard
fix: adding dynamic threshold of link speed in 2 network tables
While using the dynamic threshold via Config from query results,
- It's consuming config query and not field, meaning we need pass Query A and this query and it's fields will never be used in further transformations, which is an issue when we populate few fields from Query A.
- As we can't re-use Query A, which means same query can not be used to populate threshold data for 2 metric via Config from query results.
Hence, made these changes,
- Generated send % and receive % based on the speed in go plugin for nic, and applied threshold to that percent value as 50, 75 and 90 and removed guage from send and received bytes.
- Generated send % and receive % based on the link speed in go plugin for ifgrp, and applied threshold to that percent value as 50, 75 and 90 and removed guage from send and received bytes.
I manually increase the value of send bytes in nic table, then table would look like this,
I manually increase the value of receive bytes in LAG table, then table would look like this,