[Uptime] Use manual intervals for ping histogram#72928
[Uptime] Use manual intervals for ping histogram#72928andrewvc merged 4 commits intoelastic:masterfrom
Conversation
Fixes elastic/uptime#215 Prior to this we'd get too few buckets in some ranges.
|
Pinging @elastic/uptime (Team:uptime) |
|
@justinkambic I think that's unrelated. I just fixed the tests, they did some unnecessarily specific assertions about bucket size. IMHO that's not necessary. |
💚 Build SucceededBuild metrics
History
To update your PR or re-run it, just comment with: |
justinkambic
left a comment
There was a problem hiding this comment.
LGTM - one item that we can do as a follow-up if you agree it's worthwhile.
Tested locally as well and seems to be working.
| aggs: { | ||
| timeseries: { | ||
| ...seriesHistogram, | ||
| date_histogram: { |
There was a problem hiding this comment.
One thing that might be nice is to add two tests to ensure that the query we generate is providing the expected fixed_interval value. We have "test coverage" here, but I don't think the params are ever validated by a test. I could write this test in a follow-up, I don't think we need to do it here.
* [Uptime] Use manual intervals for ping histogram Fixes elastic/uptime#215 Prior to this we'd get too few buckets in some ranges. * Update test fixtures, remove overly-specific checks * Remove unused import
* [Uptime] Use manual intervals for ping histogram Fixes elastic/uptime#215 Prior to this we'd get too few buckets in some ranges. * Update test fixtures, remove overly-specific checks * Remove unused import
* master: (111 commits) Remove flaky note from gauge tests (elastic#73240) Convert functional vega tests to ts and unskip tests (elastic#72238) [Graph] Unskip graph tests (elastic#72291) Add default Elasticsearch credentials to docs (elastic#72617) [APM] Read body from indicesStats in upload-telemetry-data (elastic#72732) The directory in the command was missing the /generated directory and would cause all definitions to be regenerated in the wrong place. (elastic#72766) [KP] use new ES client in SO service (elastic#72289) [Security Solution][Exceptions] Prevents value list entries from co-existing with non value list entries (elastic#72995) Return EUI CSS to Shareable Runtime (elastic#72990) Removed useless karma test (elastic#73190) [INGEST_MANAGER] Make package config name blank for endpoint on Package Config create (elastic#73082) [Ingest Manager] Support DEGRADED state in fleet agent event (elastic#73104) [Security Solution][Detections] Change detections breadcrumb title (elastic#73059) [ML] Fixing unnecessary deleting job polling (elastic#73087) [ML] Fixing recognizer wizard create job button (elastic#73025) [Composable template] Preview composite template (elastic#72598) [Uptime] Use manual intervals for ping histogram (elastic#72928) [Security Solution][Endpoint] Task/policy save modal text change, remove duplicate policy details text (elastic#73130) [Maps] fix tile layer attibution text and attribution link validation errors (elastic#73160) skip ingest pipeline api tests ...
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
Fixes elastic/uptime#215 Prior to this we'd get too few buckets in some ranges.
* [Uptime] Use manual intervals for ping histogram Fixes elastic/uptime#215 Prior to this we'd get too few buckets in some ranges. * Update test fixtures, remove overly-specific checks * Remove unused import Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>


Fixes elastic/uptime#215
Prior to this we'd get too few buckets in some ranges.