mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[ML] Display typical values for lat_long anomalies (#18715)
This commit is contained in:
parent
af1a9b6a13
commit
34cc14f445
2 changed files with 2 additions and 2 deletions
|
@ -265,6 +265,7 @@ describe('ML - anomaly utils', () => {
|
|||
it('returns true for expected function descriptions', () => {
|
||||
expect(showTypicalForFunction('count')).to.be(true);
|
||||
expect(showTypicalForFunction('distinct_count')).to.be(true);
|
||||
expect(showTypicalForFunction('lat_long')).to.be(true);
|
||||
expect(showTypicalForFunction('mean')).to.be(true);
|
||||
expect(showTypicalForFunction('max')).to.be(true);
|
||||
expect(showTypicalForFunction('min')).to.be(true);
|
||||
|
@ -276,7 +277,6 @@ describe('ML - anomaly utils', () => {
|
|||
});
|
||||
|
||||
it('returns false for expected function descriptions', () => {
|
||||
expect(showTypicalForFunction('lat_long')).to.be(false);
|
||||
expect(showTypicalForFunction('rare')).to.be(false);
|
||||
});
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ const DISPLAY_ACTUAL_FUNCTIONS = ['count', 'distinct_count', 'lat_long', 'mean',
|
|||
'median', 'varp', 'info_content', 'time'];
|
||||
|
||||
// List of function descriptions for which typical values from record level results should be displayed.
|
||||
const DISPLAY_TYPICAL_FUNCTIONS = ['count', 'distinct_count', 'mean', 'max', 'min', 'sum',
|
||||
const DISPLAY_TYPICAL_FUNCTIONS = ['count', 'distinct_count', 'lat_long', 'mean', 'max', 'min', 'sum',
|
||||
'median', 'varp', 'info_content', 'time'];
|
||||
|
||||
// Returns a severity label (one of critical, major, minor, warning or unknown)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue