Skip to content

Function createdAlarms doesn't return alarms created with AlarmFactory #648

@PatrykMilewski

Description

@PatrykMilewski

Version

v9.7.1

Steps and/or minimal code example to reproduce

  1. Initialize monitoring facade
  2. Get alarm factory using const alarmFactory = monitoringFacade.createAlarmFactory('somePrefix');
  3. Add some alarms using const myAlarm = alarmFactory.addAlarm(someMetric, { [...] });
  4. Try to get list of alarms using const allAlarms = monitoringFacade.createdAlarms();

Expected behavior

List should include those manually created alarms with alarmFactory.addAlarm

Actual behavior

List is missing alarms created manually with alarmFactory.addAlarm

Other details

This is similar to bug reported here #336

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions