Skip to content

期望未来版本中通知模板中增加“持续时间”变量 #236

@Jiahe17

Description

@Jiahe17

💡 Feature Request

🕘 开始时间: ${first_trigger_time_format}
🕘 恢复时间: ${recover_time_format}
👤 值班人员: ${duty_user}
📝 报警事件: ${annotations}

上述通知模板中,无法得出持续时间,FirstTriggerTime与当前时间差可以计算出持续时间,或者与RecoverTime 计算持续时间。但是当前没有找到在模板中的计算方法,期望project可以有方法支持实现“持续时间”。

功能名称(Feature Name)

通知模板中增加“持续时间”变量及调用方法


功能描述(Description)

通知模板中增加“持续时间”变量,或者通知模板中给出案例如何计算出持续时间。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions