pub const MAX_HISTOGRAM_BUCKETS: u32 = 500;
This is intended as a reasonable maximum number of histogram buckets per event.