Skip to content

Overriding configurations for alert thresholds with annotations does not work #175

@sylon23

Description

@sylon23

Context

Based on the documentation here overriding alert configurations with the field "threshold-critical" does not work.

Process

  • Created a custom monitor (apdex-alert) in configuration file
  • Added annotations to override monitor name, query, and message in a Kubernetes deployment and there are no logged errors for these.
  • Added annotation to override alert threshold in the same deployment- "astro.fairwinds.com/override.apdex-alert.threshold-critical: 0.80"

Expected Result

  • Monitor is created
  • Newly created monitor reflects the new values

Current Result

  • Monitor is not created.
  • The following can be seen in the logs

time="2021-06-02T15:55:58Z" level=warning msg="override provided does mot match any monitor fields. provided field: threshold-critical"

Please help fix or suggest any necessary modifications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pinnedPrevents stalebot from removing

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions