mozilla / glam

Mozilla's primary interactive dashboard for examining the distribution of telemetry values.
https://glam.telemetry.mozilla.org
Mozilla Public License 2.0
20 stars 23 forks source link

Error in "View SQL Query" for keyed histograms #2725

Closed jschanck closed 1 week ago

jschanck commented 4 months ago

The "View SQL Query" output for keyed histograms uses payload.histogram instead of payload.keyed_histogram, which results in a field name [...] does not exist error. There are also some missing quotes.

For example, this keyed histogram includes the line

mozfun.map.get_key(payload.histograms.ssl_time_until_handshake_finished_keyed_by_ka, P256)

It should be

mozfun.map.get_key(payload.keyed_histograms.ssl_time_until_handshake_finished_keyed_by_ka, "P256")