Skip to content

Commit

Permalink
PR review OTH
Browse files Browse the repository at this point in the history
  • Loading branch information
MarineJu committed Oct 3, 2024
1 parent 61bca21 commit 1c1678a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ author: [m_benali, m_julieron]
tags: [monitoring, production, newrelic, shared practice, alerting]
color: rgb(251,87,66)
language: en
thumbnail: "/images/posts/2024-09-09-enhancing-production-monitoring-with-newrelic/main.png"
thumbnail: "/images/posts/2024-10-03-enhancing-production-monitoring-with-newrelic/main.png"
---

## Enhancing Production Monitoring with New Relic
Expand All @@ -27,7 +27,7 @@ We began by defining our goals:
* Early Problem Detection: Our goal was to identify issues as early as possible.
* Quick Data for Support Teams: We aimed to swiftly provide support with relevant metrics, such as the number of users impacted and the duration of incidents.
* Developer Adoption: The selected tool had to be user-friendly, offering easy graph creation, visually appealing layouts, straightforward querying, and an ergonomic interface.
* Automated Alerts: We needed a system that could automatically alert us to potential issues.
* Automated Alerts: We needed a system that could automatically alert us of potential issues.
* Configuration Portability: Regularly exporting our dashboards and alerts configuration was key, ensuring we could redeploy the setup if needed.

Bedrock chose New Relic. It’s important to note that this is not the only monitoring tool available, and we’re not claiming that others can’t meet our needs (we didn’t explore them deeply enough to say). What we do know is that New Relic has been widely adopted across our tech teams and has proven to be an effective solution to reach our requirements.
Expand All @@ -42,7 +42,7 @@ Here’s the approach we took:

## Advanced Queries with New Relic Insights

New Relic Insights, powered by NRQL (New Relic Query Language), allows you to create powerful queries to extract specific information. Below, we illustrate how various NRQL queries translate into different types of graphs and charts on our dashboard:
New Relic Insights, powered by NRQL (New Relic Query Language), allows developers to create powerful queries to extract specific information. Below, we illustrate how various NRQL queries translate into different types of graphs and charts on our dashboard:


### Example 1: Count Query with Line chart
Expand All @@ -55,11 +55,11 @@ New Relic Insights, powered by NRQL (New Relic Query Language), allows you to cr
TIMESERIES auto
```

This query counts the number of occurrences of the 'LoginAction' event, faceting by the status and authenticationMethod fields. The TIMESERIES auto clause visualizes this count over time, showing trends or spikes in login activity.
This query counts the number of occurrences of the 'LoginAction' event, faceting by the status and authenticationMethod fields. The `TIMESERIES` auto clause visualizes this count over time, showing trends or spikes in login activity.

How It Renders: The line chart displays the count of login actions over time, with different lines for each combination of status and authentication method (Google, Apple, Email). This allows you to track how login activity changes over time and to compare different types of logins or statuses.
How It Renders: The line chart displays the count of login actions over time, with different lines for each combination of status and authentication method (Google, Apple, Email). This allows us to track how login activity changes over time and to compare different types of logins or statuses.

![Bar chart rendering](/images/posts/2024-09-09-enhancing-production-monitoring-with-newrelic/barchart.png)
![Bar chart rendering](/images/posts/2024-10-03-enhancing-production-monitoring-with-newrelic/barchart.png)

### Example 2: Count Query with Pie chart

Expand All @@ -74,7 +74,7 @@ This query counts the number of login actions that resulted in errors, faceting

How It Renders: The pie chart visualizes the distribution of login errors across different authentication methods and error codes. Each slice represents the proportion of errors associated with a particular method or error code, making it easy to see which are most problematic.

![Pie chart rendering](/images/posts/2024-09-09-enhancing-production-monitoring-with-newrelic/piechart.png)
![Pie chart rendering](/images/posts/2024-10-03-enhancing-production-monitoring-with-newrelic/piechart.png)

### Example 3: Percentage Query with Billboard chart

Expand All @@ -92,7 +92,7 @@ This query calculates the percentage of successful login actions (i.e., those th
How It Renders: The billboard chart prominently displays the percentage of successful logins as a large, bold number. The comparison with the previous day is also displayed, allowing for quick assessment of whether the success rate has improved or worsened.


![Billboard chart rendering](/images/posts/2024-09-09-enhancing-production-monitoring-with-newrelic/billboardchart.png)
![Billboard chart rendering](/images/posts/2024-10-03-enhancing-production-monitoring-with-newrelic/billboardchart.png)

### Example 4: Funnel Query

Expand All @@ -108,7 +108,7 @@ This funnel query tracks user sessions through key steps in an email verificatio

How It Renders: The funnel chart visualizes the sequence of user actions, showing the number of users at each step of the email verification process. This makes it easy to see where users drop off and which steps might need improvement.

![Funnel chart rendering](/images/posts/2024-09-09-enhancing-production-monitoring-with-newrelic/funnelchart.png)
![Funnel chart rendering](/images/posts/2024-10-03-enhancing-production-monitoring-with-newrelic/funnelchart.png)

## Configuring Alerts with New Relic

Expand Down Expand Up @@ -197,6 +197,6 @@ Overall, this solution has proven to be more effective and practical for our pro


### Reference:
[Steal this dashboard](https://newrelic.com/es/blog/how-to-relic/steal-this-dashboard )
[Steal this dashboard](https://newrelic.com/blog/how-to-relic/steal-this-dashboard )


0 comments on commit 1c1678a

Please sign in to comment.