elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.68k stars 8.23k forks source link

Failing test: Serverless Observability API Integration Tests.x-pack/test_serverless/api_integration/test_suites/observability/burn_rate_rule/burn_rate_rule·ts - Serverless observability API Burn rate rule Rule creation should set correct information in the alert document #187525

Open kibanamachine opened 4 months ago

kibanamachine commented 4 months ago

A test failed on a tracked branch

Error: expected { 'kibana.alert.reason': 'SUPPRESSED - HIGH: The burn rate for the past 6h is 1000 and for the past 30m is 1000. Alert when above 1.4 for both windows',
  'kibana.alert.evaluation.threshold': 1.4,
  'kibana.alert.evaluation.value': 999.9999999999991,
  'slo.id': 'my-custom-id',
  'slo.revision': 1,
  'slo.instanceId': '*',
  'kibana.alert.rule.category': 'SLO burn rate',
  'kibana.alert.rule.consumer': 'observability',
  'kibana.alert.rule.execution.uuid': 'c117c60c-a81c-4f9c-9e62-74c03a41a8f6',
  'kibana.alert.rule.name': 'SLO Burn Rate rule',
  'kibana.alert.rule.parameters': 
   { sloId: 'my-custom-id',
     dependencies: [ [Object] ],
     windows: [ [Object], [Object], [Object], [Object] ] },
  'kibana.alert.rule.producer': 'observability',
  'kibana.alert.rule.revision': 0,
  'kibana.alert.rule.rule_type_id': 'slo.rules.burnRate',
  'kibana.alert.rule.tags': [ 'observability' ],
  'kibana.alert.rule.uuid': '929122d1-3771-4938-9d1c-9f449ba03ab7',
  'kibana.space_ids': [ 'default' ],
  '@timestamp': '2024-07-03T21:43:32.414Z',
  'event.action': 'open',
  'event.kind': 'signal',
  'kibana.alert.rule.execution.timestamp': '2024-07-03T21:43:32.414Z',
  'kibana.alert.action_group': 'slo.burnRate.suppressed',
  'kibana.alert.flapping': false,
  'kibana.alert.flapping_history': [ true ],
  'kibana.alert.instance.id': '*',
  'kibana.alert.maintenance_window_ids': [],
  'kibana.alert.consecutive_matches': 1,
  'kibana.alert.status': 'active',
  'kibana.alert.uuid': 'b0d782b9-de9c-4815-9755-b23336756c36',
  'kibana.alert.severity_improving': false,
  'kibana.alert.workflow_status': 'open',
  'kibana.alert.duration.us': 0,
  'kibana.alert.start': '2024-07-03T21:43:32.414Z',
  'kibana.alert.time_range': { gte: '2024-07-03T21:43:32.414Z' },
  'kibana.version': '8.15.0-SNAPSHOT',
  tags: [ 'observability' ] } to have a property 'kibana.alert.reason' of 'SUPPRESSED - CRITICAL: The burn rate for the past 1h is 1000 and for the past 5m is 1000. Alert when above 3.36 for both windows', but got 'SUPPRESSED - HIGH: The burn rate for the past 6h is 1000 and for the past 30m is 1000. Alert when above 1.4 for both windows'
    at Assertion.assert (expect.js:100:11)
    at Assertion.property (expect.js:417:10)
    at Context.<anonymous> (burn_rate_rule.ts:295:43)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.apply (wrap_function.js:73:16)

First failure: kibana-on-merge - main

elasticmachine commented 4 months ago

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)