[wordpress插件] Azure App Insights pluginAzure App Insights插件

wordpress 插件 文章 2020-02-20 04:50 567 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Azure App Insights plugin gives you the ability to view your Application Insights data in your WordPress dashboard.

Azure App Insights插件使您能够在WordPress仪表板中查看Application Insights数据。

安装步骤

Step 1: Install

第1步:安装

    1. Extract the plugin.zip to the plugins directory of the WordPress installation.

      将plugin.zip提取到WordPress安装的plugins目录中。

      e.g.

      例如

      if WordPress is installed in “C:\inetpub\wwwroot\wordpress” directory, extract the plugin.zip file into directory “C:\inetpub\wwwroot\wordpress\wp-content\plugins”.

      如果将WordPress安装在“ C:\ inetpub \ wwwroot \ wordpress”目录中,请将plugin.zip文件解压缩到“ C:\ inetpub \ wwwroot \ wordpress \ wp-content \ plugins”目录中。

    2. To activate the plugin, log in into the WordPress as administrator and navigate to list of plugins.

      要激活插件,请以管理员身份登录WordPress并导航到插件列表。

      Then check the associated checkbox for the plugin and click on “Activate” link.

      然后选中插件的相关复选框,然后单击“激活”链接。

    Step 2: Register an Azure Active Directory application

    步骤2:注册一个Azure Active Directory应用程序

    For these steps, you must have an Azure subscription with access to the Azure Active Directory tenant.

    对于这些步骤,您必须具有Azure订阅,并且可以访问Azure Active Directory租户。

      1. Sign in to the Azure portal, and navigate to the ACTIVE DIRECTORY section.

        登录到Azure门户,然后导航到“活动目录”部分。

        Choose the directory (tenant) that you would like to use.

        选择您要使用的目录(租户)。

        This should be the active directory which is linked to your Azure subscription.

        这应该是链接到您的Azure订阅的活动目录。

      2. Under the APPLICATIONS tab, click ADD to register a new application.

        在“应用程序”选项卡下,单击“添加”以注册新的应用程序。

        Choose ‘Add an application my organization is developing’, and a recognizable name.

        选择“添加我的组织正在开发的应用程序”,以及一个可识别的名称。

        Select the application type as “Native client application”.

        选择应用程序类型为“本地客户端应用程序”。

      3. Enter a value for Redirect URI with the format http:///wp-admin/options-general.php

        以以下格式输入重定向URI的值:http:///wp-admin/options-general.php

        e.g.

        例如

        http://localhost/wordpress/wp-admin/options-general.php

        http://localhost/wordpress/wp-admin/options-general.php

      4. On the configuration page , scroll to the bottom and under permission to other applications set the following permissions

        在配置页面上,滚动到底部,然后在其他应用程序的权限下设置以下权限

        Windows Azure Active Directory Delegated Permissions:1

        Windows Azure Active Directory委派权限:1

        Microsoft Azure Data Catalog Delegated Permissions:1

        Microsoft Azure数据目录委派的权限:1

        Windows Azure Service Management API Delegated Permissions:1

        Windows Azure服务管理API委托权限:1

      5. Get the Client ID from the Dashboard.

        从仪表板上获取客户端ID。

      Step 3: Create an Application Insights on Azure Portal.

      步骤3:在Azure门户上创建应用程序见解。

        1. Sign in to the Azure portal, and navigate to the APPLICATION INSIGHTS section.

          登录到Azure门户,然后导航到“应用程序可见性”部分。

        2. Create new one.

          新建一个。

        3. Get the Instrumentation Key from the Dashboard.

          从仪表板上获取工具键。

        Step 4: Configure the plugin

        第4步:配置插件

          1. The plugin can be configured in Settings > Application Insights Dashboard.

            可以在“设置”>“ Application Insights仪表板”中配置插件。

          2. Enter the Tenant ID and Client ID and click “Authorize Plugin” button.

            输入租户ID和客户端ID,然后单击“授权插件”按钮。

            You can find these values under the CONFIGURE tab of your Azure Active Directory application in the Microsoft Azure portal.

            您可以在Microsoft Azure门户的Azure Active Directory应用程序的“配置”选项卡下找到这些值。

          3. Login in using your Microsoft Azure credentials.

            使用您的Microsoft Azure凭据登录。

          4. Enter you Instrumentation Key you received from http://portal.azure.com

            输入您从http://portal.azure.com收到的工具密钥

          Configure Tips

          配置提示

          To get tenant ID

          获取租户ID

            1. Use the Add-AzureAccount cmdlet to add your Windows Azure account to Windows PowerShell:[ You will see a login form and enter you microsft corp account login info ]

            2. 使用Add-AzureAccount cmdlet将Windows Azure帐户添加到Windows PowerShell:[您将看到一个登录表单,并输入您的microsft corp帐户登录信息]

              PS C:> Add-AzureAccount

            3. PS C:> Add-AzureAccount

            4. Then use Get-AzureAccount to get the tenant ID:

            5. 然后使用Get-AzureAccount获取租户ID:

              PS C:>(Get-AzureAccount).ActiveDirectories.ActiveDirectoryTenantID

            6. PS C:>(Get-AzureAccount).ActiveDirectories.ActiveDirectoryTenantID

下载地址
https://downloads.wordpress.org/plugin/application-insights-dashboard-remake.zip
-EOF-

AI助手支持GPT4.0