mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
* [APM] Migrate deprecated date_histogram parameter Closes #39584. Replaces 'interval' with 'fixed_interval' * Update snapshot
This commit is contained in:
parent
31907a6ef6
commit
306b47c42a
6 changed files with 8 additions and 8 deletions
|
@ -12,7 +12,7 @@ export function getMetricsDateHistogramParams(start: number, end: number) {
|
|||
field: '@timestamp',
|
||||
|
||||
// ensure minimum bucket size of 30s since this is the default resolution for metric data
|
||||
interval: `${Math.max(bucketSize, 30)}s`,
|
||||
fixed_interval: `${Math.max(bucketSize, 30)}s`,
|
||||
|
||||
min_doc_count: 0,
|
||||
extended_bounds: { min: start, max: end }
|
||||
|
|
|
@ -30,7 +30,7 @@ Array [
|
|||
"min": 90000,
|
||||
},
|
||||
"field": "timestamp",
|
||||
"interval": "myInterval",
|
||||
"fixed_interval": "myInterval",
|
||||
"min_doc_count": 0,
|
||||
},
|
||||
},
|
||||
|
|
|
@ -56,7 +56,7 @@ export async function anomalySeriesFetcher({
|
|||
ml_avg_response_times: {
|
||||
date_histogram: {
|
||||
field: 'timestamp',
|
||||
interval: intervalString,
|
||||
fixed_interval: intervalString,
|
||||
min_doc_count: 0,
|
||||
extended_bounds: {
|
||||
min: newStart,
|
||||
|
|
|
@ -34,7 +34,7 @@ Array [
|
|||
"min": 1528113600000,
|
||||
},
|
||||
"field": "@timestamp",
|
||||
"interval": "10800s",
|
||||
"fixed_interval": "10800s",
|
||||
"min_doc_count": 0,
|
||||
},
|
||||
},
|
||||
|
@ -47,7 +47,7 @@ Array [
|
|||
"min": 1528113600000,
|
||||
},
|
||||
"field": "@timestamp",
|
||||
"interval": "10800s",
|
||||
"fixed_interval": "10800s",
|
||||
"min_doc_count": 0,
|
||||
},
|
||||
},
|
||||
|
|
|
@ -58,7 +58,7 @@ export function timeseriesFetcher({
|
|||
response_times: {
|
||||
date_histogram: {
|
||||
field: '@timestamp',
|
||||
interval: intervalString,
|
||||
fixed_interval: intervalString,
|
||||
min_doc_count: 0,
|
||||
extended_bounds: { min: start, max: end }
|
||||
},
|
||||
|
@ -76,7 +76,7 @@ export function timeseriesFetcher({
|
|||
timeseries: {
|
||||
date_histogram: {
|
||||
field: '@timestamp',
|
||||
interval: intervalString,
|
||||
fixed_interval: intervalString,
|
||||
min_doc_count: 0,
|
||||
extended_bounds: { min: start, max: end }
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ export function bucketFetcher(
|
|||
distribution: {
|
||||
histogram: {
|
||||
field: TRANSACTION_DURATION,
|
||||
interval: bucketSize,
|
||||
fixed_interval: bucketSize,
|
||||
min_doc_count: 0,
|
||||
extended_bounds: {
|
||||
min: 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue