• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Home
  • About Us
  • Contact Us

iHash

News and How to's

  • AR Wireless BT Game Gun Safe for $39

    AR Wireless BT Game Gun Safe for $39
  • The Chess Masterclass Bundle with Grandmaster Damian Lemos for $49

    The Chess Masterclass Bundle with Grandmaster Damian Lemos for $49
  • Bluebell Knife for $41

    Bluebell Knife for $41
  • CMPS Folding Knife for $29

    CMPS Folding Knife for $29
  • Linkcard Professional Plan: Lifetime Subscription for $49

    Linkcard Professional Plan: Lifetime Subscription for $49
  • News
    • Rumor
    • Design
    • Concept
    • WWDC
    • Security
    • BigData
  • Apps
    • Free Apps
    • OS X
    • iOS
    • iTunes
      • Music
      • Movie
      • Books
  • How to
    • OS X
      • OS X Mavericks
      • OS X Yosemite
      • Where Download OS X 10.9 Mavericks
    • iOS
      • iOS 7
      • iOS 8
      • iPhone Firmware
      • iPad Firmware
      • iPod touch
      • AppleTV Firmware
      • Where Download iOS 7 Beta
      • Jailbreak News
      • iOS 8 Beta/GM Download Links (mega links) and How to Upgrade
      • iPhone Recovery Mode
      • iPhone DFU Mode
      • How to Upgrade iOS 6 to iOS 7
      • How To Downgrade From iOS 7 Beta to iOS 6
    • Other
      • Disable Apple Remote Control
      • Pair Apple Remote Control
      • Unpair Apple Remote Control
  • Special Offers
  • Contact us

Announcing Logz.io Alert Manager for Metrics Monitoring

Jun 18, 2022 by iHash Leave a Comment


Logz.io alerts are a critical capability for our customers monitoring their production environment. By keeping a watchful eye for data that indicates an issue – like spiking memory metrics or 3xx-4xx response codes – alerting quickly notifies engineers that something is going wrong. Setting an actionable alert to immediately notify engineers of oncoming problems can be the difference between a minor issue and a major event with widespread customer impact.

While Logz.io users can set alerts to monitor any telemetry data, many prefer to base alerts on metric data, which are great for providing near real-time measurements of key signals that could indicate issues in infrastructure, applications, or services.

This is why we’re excited to announce that Alert Manager for metrics monitoring is in Public Beta – this will make building, editing, and managing metrics alerts in Logz.io easier than ever. Alert Manager will also help customers configure actionable and informative alerts so teams can quickly understand if the notification indicates minor concern or an all-hands-on deck situation.

Logz.io’s Alert Manager is fully compatible with the Prometheus Alert Manager, which will make it fast and easy to migrate existing Prometheus alerts to Logz.io- furthering the promise of delivering an enhanced Prometheus-based monitoring experience.

In this post, we’ll see the new capabilities for building and managing alerts for metric data in Logz.io. The next five sections will cover the five tabs that you’ll see when opening Alert Manager within Logzio’s Infrastructure Monitoring product.

Alerting

Table of Contents

  • Alert rules – creating a new alert
  • Contact Points – define your notification endpoint
  • Notification policies – configure your alerting notifications
  • Silences – temporarily mute notifications
  • Alert Groups – organize your alerts
  • Try Alert Manager today!

Alert rules – creating a new alert

The first step is to create a query for the alert to monitor, which is based on PromQL – the Prometheus query language. In this example, we are going to monitor the latency of our back-end services.

While you can create an alert from scratch, it’s far easier to go to a monitoring panel first, edit the panel, and hit ‘Create alert rule from this panel’ from there. This automatically carries over the query and the variables to the alert configuration page (rather than requiring that you add it all manually). Lets go to one of our backend services, called ‘Orders.’

orders latency
orders latency

Starting at the ‘Rule type’ section, give your alert a name. We’ll put it in the ‘Sockshop’ folder and the ‘Backend’ group within the folder to keep things organized.

Now we can scroll down to look at the queries we’ll be monitoring. Since we created this alert from an existing monitoring panel, it carried over the query from that panel. We can simply edit the query so that it monitors metrics from all of our backend services rather than just ‘Orders’ metrics (this is much easier than starting the query from scratch). 

We can see that the ‘Cart’, ‘Catalogue,’ and ‘Orders’ services currently match the query conditions. We have other services that have lower latency, so they aren’t currently shown.

Now that we have the query we want to monitor in the A table, we can scroll down to the expression table (D) to define the function that will perform calculations on the data. 

In the ‘Operation’ drop down, we will use ‘Reduce’ to reduce the time series to one data point (required for the alert to run).

For the function itself, we will use the “Last” function, to get the most relevant data point. Because we defined the actual threshold in the first section, this only affects what will be presented in the notification rather than an actual condition.

create query

Now we can define the alert condition. Under ‘Condition,’ we will choose D, which will monitor the expression we just configured. Under ‘Evaluate,’ we’ll specify that the alert should evaluate the expression every minute; and if it is pending over a span of 5 minutes, the alert will trigger a notification. This prevents the alert from triggering if the query briefly crosses the alerting threshold.

Under ‘Configure no data and error handling,’ we can also configure the alert to trigger a notification if there is no data or errors appear – this way we can fix any problems that would prevent the alert from firing. 

We can also preview the alert to verify it is successfully monitoring the data. By hitting ‘Preview alerts’, Logz.io will run the query and give the alerting result.

Finally, we can add details to give the alert context and annotations if it triggers. In the summary, we used templates like {{$labels.path}} and {{$values.D}} to automatically populate the summary with information from the relevant services.

alert details

Finally, we can hit ‘Save’ or ‘Save and exit’ to save the alert. Going back to the Alert Manager homepage (which is in the left menu), we can see our new alert in the ‘Sockshop’ folder.

Alerting

Now, let’s determine where the alert will send notifications if it’s triggered.

Contact Points – define your notification endpoint

This is where Logz.io users can define the messages within the alerts and destinations for their notifications. Common alerting endpoints for Logz.io include Slack, PagerDuty, Gmail, OpsGenie, and others. Go to the ‘Contact points’ tab in Alert Manager and hit ‘New contact point.’

Give the contact point a name and select the application you’ll use as an endpoint. In this example, we’ll choose Slack. We can also specify the Slack channel we want to send the notification.

Next, we can provide the Slack API token or add the Webhook URL. Hit ‘Save contact point.’

create contact point

Now that we have a Contact point, we can link the alerting rule with our new Contact Point by going to ‘Notification Policies.’

Notification policies – configure your alerting notifications

This is where you can match alerts with your contact points (which contains the notification endpoint) and define other components of the alerting notification. 

To start, go to the ‘Notification Policies’ tab and hit ‘New Policy,’ and then ‘Add Matcher.’

We will add the label (alertname) and the value for the label (Backend Latency Alert) for the alert we’re interested in. Then we’ll select the contact point we just configured (Slack Backend Alerts).

By enabling ‘Override grouping’ and selecting a label, we can group all the firing alerts with that label to ensure we aren’t getting annoying duplicates. 

We can also configure a mute timing to pause notifications during predined periods – like weekend, for example.

notifications

Silences – temporarily mute notifications

Production issues, scheduled maintenance, or other production events can cause an overwhelming barrage of alerts. Silences provide an easy way to get some peace and quiet during these events. 

Simply open up an alert within the ‘Alert Rules’ tab and hit ‘Silence.’ This will bring you to the ‘Silences’ tab where you can quickly prevent the alert from firing.

sockshop
alerting

Alert Groups – organize your alerts

Alerts Groups can condense multiple alerts into single notifications to prevent alerting overload. This also prevents duplicate alerts from triggering separate notifications. 

Simply search labels with their according value under ‘Search by label’ and/or select a label under the ‘custom group by’ drop down to identify groups of alerts to consolidate.

alert-group

Try Alert Manager today!

Logz.io’s Infrastructure Monitoring product is getting a huge boost with Alert Manager, which makes alerting for metrics data easier and more customizable for complex alerts.

Alert Manager is in Public Beta. To join the Beta program and try it for yourself, contact your Logz.io Account Manager or reach out to us through our contact form.



Source link

Share this:

  • Facebook
  • Twitter
  • Pinterest
  • LinkedIn

Filed Under: News Tagged With: Alert, Announcing, Logz.io, Manager, Metrics, Monitoring

Special Offers

  • AR Wireless BT Game Gun Safe for $39

    AR Wireless BT Game Gun Safe for $39
  • The Chess Masterclass Bundle with Grandmaster Damian Lemos for $49

    The Chess Masterclass Bundle with Grandmaster Damian Lemos for $49
  • Bluebell Knife for $41

    Bluebell Knife for $41
  • CMPS Folding Knife for $29

    CMPS Folding Knife for $29
  • Linkcard Professional Plan: Lifetime Subscription for $49

    Linkcard Professional Plan: Lifetime Subscription for $49

Reader Interactions

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

E-mail Newsletter

  • Facebook
  • GitHub
  • Instagram
  • Pinterest
  • Twitter
  • YouTube

More to See

Video Highlights: The Rise of DeBERTa for NLP Downstream Tasks

Jul 4, 2022 By iHash

Some Worms Use Their Powers for Good

Jul 4, 2022 By iHash

Tags

* Apple Cisco computer security cyber attacks cyber crime cyber news Cyber Security cybersecurity cyber security news cyber security news today cyber security updates cyber threats cyber updates data breach data breaches google hacker hacker news Hackers hacking hacking news how to hack incident response information security iOS iOS 7 iOS 8 iPhone iPhone 6 Malware microsoft network security Privacy ransomware malware risk management security security breaches security vulnerabilities software vulnerability the hacker news Threat update video web applications

Latest

AR Wireless BT Game Gun Safe for $39

Expires June 30, 2122 02:44 PST Buy now and get -114% off PRODUCT SPECS About this item AR technology & incredible gaming experience. AR means Augmented Reality. This is a portable gaming gun designed for cellphones. It combines the real world and the virtual gaming world seamlessly. The AR game gun is returning to a […]

Doron Bargo

Implementing Synthetic Monitoring with Telegraf and Logz.io

In my previous blog post, we explored key questions about Synthetic Monitoring, such as what it is, why it’s important, how it works, and how it compares to Real-User monitoring. Synthetic Monitoring is becoming an increasingly-popular method to continuously monitor the uptime of applications and the critical flows within them so that DevOps, IT, and […]

How to Find the Mythical “Perfect Data Scientist”

There are currently over 400K job openings in the U.S. for data scientists on LinkedIn. And, every single one of these companies wants to hire that magical unicorn of a data scientist that can do it all. What rare skill set should they be looking for? Conor Jensen, RVP of AI Strategy at AI and […]

Phishing QR-code attack on QQ users

Scammers used phishing QR codes to hijack QQ accounts

Folks today are generally mostly aware that clicking links from questionable sources, for example in e-mails, isn’t a good idea. However, when it comes to scanning QR codes, people are often much less vigilant. In fact, QR codes can be even more dangerous: while you can check a link with your own eyes before clicking, […]

Bluebell Knife for $41

Expires July 02, 2122 23:59 PST Buy now and get 40% off KEY FEATURES The Bluebell features a unique drop point blade. A long enough blade for a good reach, this knife is excellent for everything outdoors. This is one of those versatile knives that are very easy to love. Fast opening. Outburst assisted opening […]

TikTok Assures U.S. Lawmakers it’s Working to Safeguard User Data From Chinese Staff

Following heightened worries that U.S. users’ data had been accessed by TikTok engineers in China between September 2021 and January 2022, the company sought to assuage U.S. lawmakers that it’s taking steps to “strengthen data security.” The admission that some China-based employees can access information from U.S. users came in a letter sent to nine […]

Jailbreak

Pangu Releases Updated Jailbreak of iOS 9 Pangu9 v1.2.0

Pangu has updated its jailbreak utility for iOS 9.0 to 9.0.2 with a fix for the manage storage bug and the latest version of Cydia. Change log V1.2.0 (2015-10-27) 1. Bundle latest Cydia with new Patcyh which fixed failure to open url scheme in MobileSafari 2. Fixed the bug that “preferences -> Storage&iCloud Usage -> […]

Apple Blocks Pangu Jailbreak Exploits With Release of iOS 9.1

Apple has blocked exploits used by the Pangu Jailbreak with the release of iOS 9.1. Pangu was able to jailbreak iOS 9.0 to 9.0.2; however, in Apple’s document on the security content of iOS 9.1, PanguTeam is credited with discovering two vulnerabilities that have been patched.

Pangu Releases Updated Jailbreak of iOS 9 Pangu9 v1.1.0

  Pangu has released an update to its jailbreak utility for iOS 9 that improves its reliability and success rate.   Change log V1.1.0 (2015-10-21) 1. Improve the success rate and reliability of jailbreak program for 64bit devices 2. Optimize backup process and improve jailbreak speed, and fix an issue that leads to fail to […]

Activator 1.9.6 Released With Support for iOS 9, 3D Touch

  Ryan Petrich has released Activator 1.9.6, an update to the centralized gesture, button, and shortcut manager, that brings support for iOS 9 and 3D Touch.

Copyright iHash.eu © 2022
We use cookies on this website. By using this site, you agree that we may store and access cookies on your device. Accept Read More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT