-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CES-41] Added Azure Storage Account and Application Insights (#92)
Co-authored-by: danilo spinelli <[email protected]> Co-authored-by: Andrea Grillo <[email protected]>
- Loading branch information
1 parent
54a54e6
commit 74ed517
Showing
2 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
39 changes: 39 additions & 0 deletions
39
radar/platforms-and-services/azure-application-insights.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
title: "Azure Application Insights" | ||
ring: adopt | ||
quadrant: "platforms-and-aoe-services" | ||
tags: [cloud, azure, monitoring, observability] | ||
--- | ||
|
||
[Azure Application Insights](https://azure.microsoft.com/en-us/products/monitor) | ||
is a powerful application performance management (APM) service that enables | ||
real-time monitoring and analysis of live applications. It helps in detecting | ||
issues, diagnosing performance bottlenecks, and understanding how users interact | ||
with applications. Application Insights supports a wide range of platforms, | ||
including .NET, Java, Node.js, and more, allowing for comprehensive | ||
observability of your application’s performance and availability. | ||
|
||
### Use cases | ||
|
||
Here are a few example scenarios: | ||
|
||
- Monitor the performance and response times of API endpoints. | ||
- Detect and diagnose performance bottlenecks or exceptions in real-time. | ||
- Track user interactions and flows within the application. | ||
- Analyze the overall health and performance of distributed microservices. | ||
- Collect custom telemetry data for deeper insights into specific application | ||
components. | ||
- Correlate logs, traces, and metrics to detect potential application issues | ||
early. | ||
|
||
### Reference of usage in our organization | ||
|
||
Azure Application Insights is deeply integrated into the IO infrastructure for | ||
monitoring and observing the performance and availability of all deployed | ||
applications. It is used to track the health of services, collect custom | ||
telemetry, and monitor application dependencies to ensure smooth operation. | ||
|
||
- [Resource definition](https://github.com/pagopa/io-infra/blob/main/src/common/_modules/monitoring/appi.tf) | ||
to provision Application Insights resources for real-time performance | ||
monitoring and diagnostics for various services in our platform. | ||
- [Data retrieve](https://github.com/pagopa/io-infra/blob/1d85e07b25c3c1c26dd36a25245abcfec87be56e/src/core/monitor.tf#L4) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
title: "Azure Storage Account" | ||
ring: adopt | ||
quadrant: "platforms-and-aoe-services" | ||
tags: [cloud, azure, storage] | ||
--- | ||
|
||
[Azure Storage Account](https://azure.microsoft.com/en-us/products/category/storage) | ||
provides highly available, secure, and massively scalable cloud storage for | ||
storing any kind of data—blobs, files, queues, tables, and disks—accessible from | ||
anywhere in the world via HTTP/HTTPS. It offers multiple storage types including | ||
blob, file, table, and queue, suitable for various use cases from static website | ||
hosting to backup and disaster recovery. | ||
|
||
### Use cases | ||
|
||
Here are a few example scenarios: | ||
|
||
- Store unstructured data such as images, videos, and documents using Blob | ||
Storage. | ||
- Host static websites directly from blob storage with scalable performance. | ||
- Implement queues for asynchronous message processing between application | ||
components. | ||
- Store and retrieve structured NoSQL data in a Table Storage. | ||
- Manage large volumes of logs and backup data efficiently. | ||
- Securely share files with managed access via Azure File Shares. | ||
|
||
### Reference of usage in our organization | ||
|
||
The Azure Storage Account service is widely used within the IO infrastructure | ||
for multiple purposes, such as storing logs, handling notifications, and | ||
providing durable storage for various workloads. All Function Apps deployed in | ||
the infrastructure have an associated Azure Storage Account to manage state, | ||
queues, and other necessary storage needs. | ||
|
||
- [Storage definition](https://github.com/pagopa/dx/blob/main/infra/modules/azure_function_app/storage_account.tf) | ||
to provision Storage Accounts for different services, including log management | ||
and notification processing. | ||
- [Used for notification Queue](https://github.com/pagopa/io-infra/blob/1d85e07b25c3c1c26dd36a25245abcfec87be56e/src/domains/messages-app/07_function_pushnotif.tf#L27) |