(labels, value)
| 276 | } |
| 277 | |
| 278 | function convertLabelsAndValues(labels, value) { |
| 279 | return isObject(labels) |
| 280 | ? { |
| 281 | labels, |
| 282 | value, |
| 283 | } |
| 284 | : { |
| 285 | value: labels, |
| 286 | labels: {}, |
| 287 | }; |
| 288 | } |
| 289 | |
| 290 | function extractBucketValuesForExport(histogram) { |
| 291 | const name = `${histogram.name}_bucket`; |