简体   繁体   English

如何通过 azure devops 发布管道设置 Azure 数据工厂警报和指标?

[英]How to set up Azure Data Factory alerts & metrics via azure devops release pipelines?

I need to set up some alerts for my adf instance.我需要为我的 adf 实例设置一些警报。 I can do it only via release pieplines as there is sufficient servicie principle assigned.我只能通过发布管道来做到这一点,因为分配了足够的服务原则。

Normally I would just click through alert tab but in this case I have to approach this problem differently.通常我只会点击警报选项卡,但在这种情况下我必须以不同的方式处理这个问题。

Is it possible to modify alerts via release pipelines?是否可以通过发布管道修改警报?

Unfortunately, as of now you can't.不幸的是,到目前为止你还不能。

Azure Data Factory utilizes Azure Resource Manager (ARM) templates to store the configuration of your various ADF entities. Azure 数据工厂利用 Azure 资源管理器 (ARM) 模板来存储各种 ADF 实体的配置。 Entities on Alert and Metrics don't get exported in the ARM template and therefore can't be integrated in the Azure DevOps. AlertMetrics上的实体不会在 ARM 模板中导出,因此无法集成到 Azure DevOps 中。

For practical verification, you can export Data Factory's ARM template and observe that there aren't Alert and Metrics parameters.为了实际验证,您可以导出数据工厂的 ARM 模板,观察没有 Alert 和 Metrics 参数。

Refer: How To Export/Import An Azure Data Factory ARM Template参考: 如何导出/导入 Azure 数据工厂 ARM 模板

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM