[ResponseOps] add parallel number arrays to task manager metric histograms#176881
[ResponseOps] add parallel number arrays to task manager metric histograms#176881pmuellr merged 3 commits intoelastic:mainfrom
Conversation
|
/ci |
6929e32 to
ccda136
Compare
|
/ci |
1 similar comment
|
/ci |
|
/ci |
1 similar comment
|
/ci |
9fe23ba to
0dff653
Compare
|
/ci |
|
/ci |
1 similar comment
|
/ci |
|
/ci |
0dff653 to
f3697f3
Compare
|
/ci |
1 similar comment
|
/ci |
…grams towards: elastic/response-ops-team#151 As we've found the elasticsearch histogram mapping type to be difficult to use in practice, we're switching to an "array of numbers" approach as well. We'll eventually remove the histograms, once we ensure they aren't being used.
f3697f3 to
425a808
Compare
|
/ci |
| private maxValue: number; | ||
| private bucketSize: number; | ||
| private histogramBuckets: Bucket[] = []; | ||
| private allValues: number[] = []; |
There was a problem hiding this comment.
To track the actual values, we just changed the SimpleHistogram class we use to create histogram shapes, to also track each value passed in. And add getAllValues() to return it.
|
Pinging @elastic/response-ops (Team:ResponseOps) |
ymao1
left a comment
There was a problem hiding this comment.
LGTM! Ran locally and was able to see the raw histogram values in /api/task_manager/metrics
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Canvas Sharable Runtime
History
To update your PR or re-run it, just comment with: |
towards: https://github.com/elastic/response-ops-team/issues/151
Summary
As we've found the elasticsearch histogram mapping type to be difficult to use in practice, we're switching to an "array of numbers" approach - keeping the histograms for now. We'll eventually remove the histograms, once we ensure they aren't being used.