question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blackout timerange check uses create time, not a current one

See original GitHub issue

Issue Summary

The current code changes state of the alert to blackout only if a create time is in the range of blackout. That’s not what users expect. They expect it to transition to blackout if blackout is active now.

Environment

  • OS: Linux

  • API version: 7.4.1

  • Deployment: self-hosted

  • For self-hosted, WSGI environment: nginx/uwsgi

  • Database: [eg. MongoDB, Postgres]

  • Server config: Auth enabled? Yes Auth provider? Basic Customer views? No (or provide the /config endpoint output)

  • web UI version: any

  • CLI version: any

To Reproduce Steps to reproduce the behavior:

  1. Create a blackout for a resource which already has open alert(s).
  2. Alert(s) remain open regardless of an active blackout and received duplicates.

Expected behavior I’d expect all affected alerts changing status to blackout regardless how old these are.

Additional context We are using alertmanager as a main source of alerts an it’s periodically refreshes alerts. All alerts have a timeout set.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:18 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
sushovan23commented, Feb 25, 2020

That would work. Plus we would still have history tab to get all info on since when alert is firing.

0reactions
satterlycommented, Mar 10, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to check blackout window conflict in the change form
I have created a new blackout window with a date range schedule and wanted that if someone selects a planned start date or...
Read more >
Managing a CI blackout schedule with time segments
If you have installed Asset Management, use the Maintenance Schedule or Blackout Schedule to create time segments for CIs.
Read more >
Blackout Views
If the target is currently in a blackout period, the END_ TIMESTAMP date will be NULL. TARGET_NAME. Name of the target where the...
Read more >
Stop DPA alerts for a period of time - SolarWinds Documentation
Open the Alert Blackouts tab. · Under Existing Blackout Periods, locate the blackout period and click Edit. · Update the schedule and the...
Read more >
Configuring a blackout period - Informatica Documentation
A blackout period prevents all scheduled tasks and taskflows in the organization from running during a specified period of time. You can configure...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found