Skip to content

Commit b0830ef

Browse files
Merge pull request #222942 from flang-msft/fxl---Dynatrace-Metrics-changes-16359687
Fxl---dynatrace metrics changes 16359687
2 parents f6da27b + 61f1f1d commit b0830ef

23 files changed

+89
-67
lines changed

articles/partner-solutions/dynatrace/dynatrace-create.md

Lines changed: 55 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
title: Create Azure Native Dynatrace Service resource
33
description: This article describes how to use the Azure portal to create an instance of Dynatrace.
4+
45
ms.topic: quickstart
5-
author: flang-msft
6-
ms.author: franlanglois
7-
ms.date: 10/12/2022
6+
ms.date: 02/02/2023
87

98
---
109

@@ -17,7 +16,7 @@ When you use the integrated Dynatrace experience in Azure portal, the following
1716
:::image type="content" source="media/dynatrace-create/dynatrace-entities.png" alt-text="Flowchart showing three entities: Marketplace S A A S connecting to Dynatrace resource, connecting to Dynatrace environment.":::
1817

1918
- **Dynatrace resource in Azure** - Using the Dynatrace resource, you can manage the Dynatrace environment in Azure. The resource is created in the Azure subscription and resource group that you select during the create process or linking process.
20-
- **Dynatrace environment** - This is the Dynatrace environment on Dynatrace _Software as a Service_ (SaaS). When you create a new environment, the environment on Dynatrace SaaS is automatically created, in addition to the Dynatrace resource in Azure.
19+
- **Dynatrace environment** - The Dynatrace environment on Dynatrace _Software as a Service_ (SaaS). When you create a new environment, the environment on Dynatrace SaaS is automatically created, in addition to the Dynatrace resource in Azure.
2120
- **Marketplace SaaS resource** - The SaaS resource is created automatically, based on the plan you select from the Dynatrace Marketplace offer. This resource is used for billing purposes.
2221

2322
## Prerequisites
@@ -32,52 +31,82 @@ Use the Azure portal to find Azure Native Dynatrace Service application.
3231

3332
1. If you've visited the **Marketplace** in a recent session, select the icon from the available options. Otherwise, search for _Marketplace_.
3433

35-
:::image type="content" source="media/dynatrace-create/dynatrace-search-marketplace.png" alt-text="Screenshot showing a search for Marketplace in the Azure portal.":::
34+
:::image type="content" source="media/dynatrace-create/dynatrace-search-marketplace.png" alt-text="Screenshot showing a search for Marketplace in the Azure portal.":::
3635

3736
1. In the Marketplace, search for _Dynatrace_.
38-
39-
:::image type="content" source="media/dynatrace-create/dynatrace-subscribe.png" alt-text="Screenshot showing Dynatrace in the working pane to create a subscription.":::
37+
:::image type="content" source="media/dynatrace-create/dynatrace-marketplace.png" alt-text="Screenshot showing the Azure Native Dynatrace Service offering.":::
4038

4139
1. Select **Subscribe**.
40+
:::image type="content" source="media/dynatrace-create/dynatrace-subscribe.png" alt-text="Screenshot showing Dynatrace in the working pane to create a subscription.":::
4241

4342
## Create a Dynatrace resource in Azure
4443

45-
1. When creating a Dynatrace resource, you see two options: one to create a new Dynatrace environment, and another to link Azure subscription to an existing Dynatrace environment.
46-
47-
:::image type="content" source="media/dynatrace-create/dynatrace-create.png" alt-text="Screenshot offering to create a Dynatrace resource.":::
48-
49-
1. If you want to create a new Dynatrace environment, select **Create** action under the **Create a new Dynatrace environment** option
50-
:::image type="content" source="media/dynatrace-create/dynatrace-create-new-link-existing.png" alt-text="Screenshot showing two options: new Dynatrace or existing Dynatrace.":::
44+
1. When creating a Dynatrace resource, you see two options: one to create a new Dynatrace environment, and another to link Azure subscription to an existing Dynatrace environment. If you want to create a new Dynatrace environment, select **Create** action under the **Create a new Dynatrace environment** option.
45+
:::image type="content" source="media/dynatrace-create/dynatrace-create-new-link-existing.png" alt-text="Screenshot showing two options: new Dynatrace or existing Dynatrace.":::
5146

5247
1. You see a form to create a Dynatrace resource in the working pane.
5348

54-
:::image type="content" source="media/dynatrace-create/dynatrace-basic-properties.png" alt-text="Screenshot of basic properties needed for new Dynatrace instance.":::
49+
:::image type="content" source="media/dynatrace-create/dynatrace-basic-properties.png" alt-text="Screenshot of basic properties needed for new Dynatrace instance.":::
5550

56-
1. Provide the following values:
51+
Provide the following values:
5752

5853
| **Property** | **Description** |
5954
|--------------|-------------------|
60-
| Subscription | Select the Azure subscription you want to use for creating the Dynatrace resource. You must have owner or contributor access.|
61-
| Resource group | Specify whether you want to create a new resource group or use an existing one. A [resource group](../../azure-resource-manager/management/overview.md) is a container that holds related resources for an Azure solution. |
62-
| Resource name | Specify a name for the Dynatrace resource. This name will be the friendly name of the new Dynatrace environment.|
63-
| Location | Select the region. Select the region where the Dynatrace resource in Azure and the Dynatrace environment is created.|
64-
| Pricing plan | Select from the list of available plans. |
55+
| **Subscription** | Select the Azure subscription you want to use for creating the Dynatrace resource. You must have owner or contributor access.|
56+
| **Resource group** | Specify whether you want to create a new resource group or use an existing one. A [resource group](../../azure-resource-manager/management/overview.md) is a container that holds related resources for an Azure solution. |
57+
| **Resource name** | Specify a name for the Dynatrace resource. This name will be the friendly name of the new Dynatrace environment.|
58+
| **Location** | Select the region. Select the region where the Dynatrace resource in Azure and the Dynatrace environment is created.|
59+
| **Pricing plan** | Select from the list of available plans. |
60+
61+
1. Select **Next: Metrics and Logs**.
6562

6663
### Configure metrics and logs
6764

68-
1. Your next step is to configure metrics and logs. When creating the Dynatrace resource, you can set up automatic log forwarding for three types of logs:
6965

70-
:::image type="content" source="media/dynatrace-create/dynatrace-metrics-and-logs.png" alt-text="Screenshot showing options for metrics and logs.":::
66+
1. Your next step is to configure metrics and logs for your resources. Azure Native Dynatrace Service supports the metrics for both compute and non-compute resources. Compute resources include VMs, app services and more. If you have an _owner role_ in the subscription, you see the option to enable metrics collection.
67+
:::image type="content" source="media/dynatrace-create/dynatrace-contributor-UI.png" alt-text="Screenshot showing contributor view of metrics and logs.":::
68+
69+
- **Metrics for compute resources** – Users can send metrics for the compute resources, virtual machines and app services, by installing the Dynatrace OneAgent extension on the compute resources after the Dynatrace resource has been created.
70+
- **Metrics for non-compute resources** – These metrics can be collected by configuring the Dynatrace resource to automatically query Azure monitor for metrics. To enable metrics collection, select the checkbox. If you have an **owner access** in your subscription, you can enable and disable the metrics collection using the checkbox. Proceed to the configuring logs. However, if you have contributor access, use the information in the following step.
71+
72+
73+
1. If you have a _contributor role_ in the subscription, you don't see the option to enable metrics collection because in Azure a contributor can't assign a _monitoring reader_ role to a resource that is required by the metrics crawler to collect metrics.
74+
75+
:::image type="content" source="media/dynatrace-create/dynatrace-metrics-and-logs.png" alt-text="Screenshot showing options for metrics and logs.":::
76+
77+
7178

72-
- **Send subscription activity logs** - Subscription activity logs provide insight into the operations on your resources at the [control plane](../../azure-resource-manager/management/control-plane-and-data-plane.md). Updates on service-health events are also included. Use the activity log to determine the what, who, and when for any write operations (PUT, POST, DELETE). There's a single activity log for each Azure subscription.
79+
Complete the resource provisioning excluding the metrics configuration and ask an owner to assign an appropriate role manually to your resource. If you have an _owner role_ in the subscription, you can take the following steps to grant a monitoring reader identity to a contributor user:
7380

74-
- **Send Azure resource logs for all defined sources** - Azure resource logs provide insight into operations that were taken on an Azure resource at the [data plane](../../azure-resource-manager/management/control-plane-and-data-plane.md). For example, getting a secret from a Key Vault is a data plane operation. Or, making a request to a database is also a data plane operation. The content of resource logs varies by the Azure service and resource type.
7581

76-
- **Send Azure Active Directory logs** – Azure Active Directory logs allow you to route the audit, sign-in, and provisioning logs to Dynatrace. The details are listed in [Azure AD activity logs in Azure Monitor](/azure/active-directory/reports-monitoring/concept-activity-logs-azure-monitor). The global administrator or security administrator for your Azure Active Directory (AAD) tenant can enable AAD logs.
82+
1. Go to the resource created by a contributor.
83+
84+
1. Go to **Access control** in the resource menu on the left and select **Add** then **Add role assignment**.
85+
:::image type="content" source="media/dynatrace-create/dynatrace-contributor-guide-1.png" alt-text="Screenshot showing the access control page.":::
86+
87+
1. In the list, scroll down and select on **Monitoring reader**. Then, select **Next**.
88+
:::image type="content" source="media/dynatrace-create/dynatrace-contributor-guide-2.png" alt-text="Screenshot showing the process for selecting Monitoring reader role.":::
89+
90+
1. In **Assign access to**, select **Managed identity**. Then, **Select members**.
91+
:::image type="content" source="media/dynatrace-create/dynatrace-contributor-guide-3.png" alt-text="Screenshot showing the process to assign a role to a managed identity.":::
92+
93+
1. Select the **Subscription**. In **Managed identity**, select **Dynatrace** and the Dynatrace resource created by the contributor. After you select the resource, use **Select** to continue.
94+
:::image type="content" source="media/dynatrace-create/dynatrace-contributor-select.png" alt-text="Screenshot showing the Dynatrace resource with a new contributor selected.":::
95+
96+
1. When you have completed the selection, select **Review + assign**
97+
:::image type="content" source="media/dynatrace-create/dynatrace-review-and-assign.png" alt-text="Screenshot showing Add role assignment working pane with Review and assign with a red box around it.":::
98+
99+
1. When creating the Dynatrace resource, you can set up automatic log forwarding for three types of logs:
100+
101+
- **Subscription activity logs** - These logs provide insight into the operations on your resources at the [control plane](/azure/azure-resource-manager/management/control-plane-and-data-plane). Updates on service-health events are also included. Use the activity log to determine the what, who, and when for any write operations (PUT, POST, DELETE). There's a single activity log for each Azure subscription.
102+
103+
- **Azure resource logs** - These logs provide insight into operations that were taken on an Azure resource at the [data plane](/azure/azure-resource-manager/management/control-plane-and-data-plane). For example, getting a secret from a Key Vault is a data plane operation. Or, making a request to a database is also a data plane operation. The content of resource logs varies by the Azure service and resource type.
104+
105+
- **Azure Active Directory logs** – The global administrator or security administrator for your Azure Active Directory (Azure AD) tenant can enable Azure AD logs so that you can route the audit, sign-in, and provisioning logs to Dynatrace. The details are listed in [Azure AD activity logs in Azure Monitor](../../active-directory/reports-monitoring/concept-activity-logs-azure-monitor.md).
77106

78107
1. To send subscription level logs to Dynatrace, select **Send subscription activity logs**. If this option is left unchecked, none of the subscription level logs are sent to Dynatrace.
79108

80-
1. To send Azure resource logs to Dynatrace, select **Send Azure resource logs for all defined resources**. The types of Azure resource logs are listed in [Azure Monitor Resource Log categories](../../azure-monitor/essentials/resource-logs-categories.md).
109+
1. To send Azure resource logs to Dynatrace, select **Send Azure resource logs for all defined resources**. The types of Azure resource logs are listed in [Azure Monitor Resource Log categories](/azure/azure-monitor/essentials/resource-logs-categories).
81110

82111
When the checkbox for Azure resource logs is selected, by default, logs are forwarded for all resources. To filter the set of Azure resources sending logs to Dynatrace, use inclusion and exclusion rules and set the Azure resource tags:
83112

@@ -87,9 +116,6 @@ Use the Azure portal to find Azure Native Dynatrace Service application.
87116

88117
The logs sent to Dynatrace are charged by Azure. For more information, see the [pricing of platform logs](https://azure.microsoft.com/pricing/details/monitor/) sent to Azure Marketplace partners.
89118

90-
> [!NOTE]
91-
> Metrics for virtual machines and App Services can be collected by installing the Dynatrace OneAgent after the Dynatrace resource has been created.
92-
93119
1. Once you have completed configuring metrics and logs, select **Next: Single sign-on**.
94120

95121
### Configure single sign-on

articles/partner-solutions/dynatrace/dynatrace-how-to-configure-prereqs.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
title: Configure pre-deployment to use Azure Native Dynatrace Service
33
description: This article describes how to complete the prerequisites for Dynatrace on the Azure portal.
44
ms.topic: conceptual
5-
author: flang-msft
6-
ms.author: franlanglois
7-
ms.date: 10/12/2022
5+
6+
ms.date: 02/04/2023
87

98
---
109

0 commit comments

Comments
 (0)