zeek/broker

Support querying bucket count and upper bounds through metric family handles

awelzel opened this issue · 0 comments

It is currently not possible (or I couldn't figure it out) to introspect the number of buckets and their individual upper bounds using an dbl_histogram_family_hdl or int_histogram_family_hdl, but one needs to have a concrete dbl_histogram_hdl or int_histogram_hdl to gather that info.

Seems worth creating a ticket for on the Broker-side to provide this, and then clean this up here. Shouldn't be too difficult I assume. (But ok to leave as is for now).

Originally posted by @rsmmr in zeek/zeek#2273 (comment)