查看 Application Integration 支持的连接器

使用 Cloud Monitoring

Application Integration 会与 Cloud Monitoring 同步集成。也就是说,对于所有已发布的集成,系统会在集成执行期间自动提取集成指标、使用情况数据和提醒。

如需全面了解从 Application Integration 发送到 Cloud Monitoring 的所有遥测数据,请前往 Cloud Monitoring 中的“管理集成”页面管理集成页面列出了从 Application Integration 提取的所有指标。您还可以在管理集成页面中详细了解可用的信息中心示例和提醒政策。

您可以使用以下 Cloud Monitoring 工具直观呈现 Application Integration 指标和数据:

准备工作

在使用 Cloud Monitoring 之前,请确保您已完成以下操作:

使用示例信息中心访问指标

Application Integration 提供了示例信息中心定义,其中显示的图表包含与集成执行、步骤执行以及执行期间的数据处理相关的指标。您可以在 Cloud Monitoring 中导入并安装这些示例信息中心,以创建自定义信息中心。

如需安装示例信息中心定义,请执行以下操作:

  1. 在 Google Cloud 控制台中,前往 Monitoring 页面:

    前往“监控”页面

  2. 在导航窗格中,选择信息中心,然后前往示例库标签页。
  3. 类别中,选择 Application Integration 以查看示例信息中心列表。
  4. 点击导入
  5. 安装示例信息中心后,您可以在信息中心列表标签页中查看和修改已安装的信息中心。

如需详细了解如何安装示例信息中心,请参阅安装示例信息中心

示例信息中心

以下示例信息中心适用于 Application Integration 资源:

示例信息中心 指标 说明
集成执行数 integrations.googleapis.com/integration/execution_count 包含图表定义的示例信息中心,用于显示集成状态和执行次数。
步骤(任务/触发器)执行 integrations.googleapis.com/step/execution_count 包含图表定义的信息中心示例,用于显示集成步骤执行状态和计数。
集成和任务执行时长
  • integrations.googleapis.com/integration/execution_latencies
  • integrations.googleapis.com/step/execution_latencies
包含图表定义的信息中心示例,用于显示集成和任务执行延迟时间。
处理的数据量 integrations.googleapis.com/processed_bytes_count 包含图表定义的示例信息中心,用于显示集成执行期间处理的数据。

使用自定义信息中心访问指标

如需在 Google Cloud 项目中为 Application Integration 资源创建自定义监控信息中心,请执行以下操作:

  1. 在 Google Cloud 控制台中,前往 Cloud Monitoring > 信息中心概览页面:

    前往“信息中心概览”页面

  2. 点击创建信息中心
  3. 可选修改信息中心的名称。
  4. 点击或将图表拖放到画布上。
  5. 在图表配置属性中,执行以下操作:
    1. 展开资源和指标菜单,然后选择集成版本作为有效资源
    2. 选择要直观呈现的所需指标
    3. 点击应用
  6. 根据需要将其他图表添加到信息中心。

如需详细了解自定义信息中心,请参阅创建和管理自定义信息中心

使用 Metrics Explorer 访问指标

Cloud Monitoring 的 Metrics Explorer 可帮助您构建临时指标图表,以直观呈现 Google Cloud 项目的可用资源指标。创建指标图表后,您还可以根据需要将其保存到自定义监控信息中心。

如需使用 Application Integration”资源指标创建图表,请执行以下操作:

  1. 在 Google Cloud 控制台中,依次前往 Cloud Monitoring > Metrics Explorer 页面:

    前往 Metrics Explorer 页面

  2. 选择指标窗格中,展开指标菜单,然后选择集成版本作为活跃资源
  3. 选择要直观呈现的所需指标
  4. 点击应用

您还可以使用 Metrics Explorer 选择过滤条件、按指标标签分组、执行汇总,以及选择图表查看选项。如需了解详情,请参阅使用 Metrics Explorer 创建图表

注意事项

  • 系统仅会为已发布的集成生成监控指标。
  • 系统不会针对在集成执行期间被跳过的任务计算步骤执行次数指标。
  • Monitoring 信息中心中显示的所有性能指标数据仅供参考。汇总的效果指标数据可能并不完全准确。
  • 不得使用 Cloud Monitoring 指标值来计算结算费用。