监控 Azure Key Vault

Instana 通过提供对您环境的端到端可视性,可全面监控您的 Azure Key Vault。

安装 Instana 主机代理后, Azure Key Vault 传感器将自动安装并启用。 您可以在 Instana 用户界面中查看与 Azure Key Vault 相关的基础设施指标。

有关其他受支持的 Azure 服务的更多信息,请参阅 Azure

配置 Azure Key Vault 传感器

要监控您的 Azure Key Vault ,请按照以下步骤操作:

  1. 使用以下配置在代理程序配置文件 (<agentinstall_dir>/etc/instana/configuration.yaml) 中启用 Azure 服务:

    com.instana.plugin.azure:
      enabled: true
      subscription: "[Your-Subscription-Id]"
      tenant: "[Your-Tenant-Id]"
      principals:
        - id: "[Your-Service-Principal-Account-Id]"
          secret: "[Your-Service-Principal-Secret]"
     

    有关安装 Azure 代理程序的更多信息,请参阅 安装

  2. 请确保在代理配置文件中启用了 Azure Key Vault 传感器(<agentinstall_dir>/etc/instana/configuration.yaml):

    com.instana.plugin.azure.keyvault:
    enabled: true
     

为服务过滤定义标签和资源组

您可以定义以逗号分隔的多个标记和资源组。 这些标记必须定义为以冒号 (:) 分隔的键/值对。 要简化配置,请定义要在发现中包含或排除的标记和资源组。 如果在包含和排除列表中都定义了标记或资源组,那么排除列表优先。 如果要包含所有服务而不进行过滤,请避免定义任何配置。

  • 要将带有标记的服务包含到发现中,请使用以下配置:

    com.instana.plugin.azure.keyvault:
      include_tags: # Comma separated list of tags in key:value format (e.g. env:prod,env:staging)
     
  • 要从发现中排除具有标记的服务,请使用以下配置:

    com.instana.plugin.azure.keyvault:
      exclude_tags: # Comma separated list of tags in key:value format (e.g. env:dev,env:test)
     
  • 要将具有资源组的服务包含到发现中,请使用以下配置:

    com.instana.plugin.azure.keyvault:
      include_resource_groups: # Comma separated list of resource groups (e.g. rg_prod,rg_staging)
     
  • 要从发现中排除具有资源组的服务,请使用以下配置:

    com.instana.plugin.azure.keyvault:
      exclude_resource_groups: # Comma separated list of resource groups (e.g. rg_dev,rg_test)
     
注意: 可在全局级别为所有 Azure 服务配置发现过滤。 当您为 Azure Key Vault 定义过滤器时,全局过滤器将被覆盖。 有关 Azure 服务的全局发现过滤的更多信息,请参阅《 Azure 配置》。

禁用 Azure Key Vault 传感器

若要禁用对 Azure Key Vault 服务的监控,请使用以下配置:

com.instana.plugin.azure.keyvault:
  enabled: false
 

查看度量值

要查看度量,请完成以下步骤:

  1. 在 Instana 用户界面的导航菜单中,选择 “基础设施”
  2. 单击特定受监视主机。

您可以看到包含所有收集的度量值和受监视进程的主机仪表板。

度量值每分钟拉取一次,这是 Azure 为监视这些服务提供的解决方案。

配置数据

密钥库详细信息 描述
名称 密钥保险库的名称
资源组 保险库文件的资源组
位置 保险库文件的位置
预订标识 保险库的订阅 ID
Type 资源类型
正在供应状态 保险库文件的供应状态
特定保险库文件的记帐层

绩效指标

指标 名称 单元 汇总 描述
Vault
Vault 的整体可用性 可用性 百分比 平均 保险库文件请求的可用性
Vault 的整体饱和度 SaturationShoebox 百分比 平均 已使用的保险库文件容量
服务 API
服务 API 命中总数 ServiceApiHit 计数 计数 该服务 API 的总访问量
总体服务 API 等待时间 ServiceApiLatency 毫秒 平均 服务 API 请求的总体延迟
服务 API 结果总数 ServiceApiResult 计数 计数 服务 API 的总结果数