# Metric definitions in ap_pipe

ApPipeTime: &RunningTime
    description: Wall-clock time elapsed in ApPipeTask.
    unit: s
    reference:
        url: https://confluence.lsstcorp.org/pages/viewpage.action?spaceKey=~ebellm&title=Alert+Production+Metrics
    tags:
        - ap_verify
        - workflow
        - task
        - monitoring

ApPipeMemory: &Memory
    description: Maximum resident set size in or before any ApPipeTask process.
    unit: byte
    reference:
        url: https://confluence.lsstcorp.org/pages/viewpage.action?spaceKey=~ebellm&title=Alert+Production+Metrics
    tags:
        - ap_verify
        - workflow
        - task
        - monitoring

ApFakesCompletenessMag20t22: &Completeness
    description: Completeness of recovered fakes in the magnitudes range 20-22. This is related to transCompletenessMin, OSS-REQ-0353.
    unit: '%'
    tags:
        - ap_verify
        - task
        - monitoring

ApFakesCompletenessMag22t24:
    <<: *Completeness
    description: Completeness of recovered fakes in the magnitudes range 22-24. This is related to transCompletenessMin, OSS-REQ-0353.

ApFakesCompletenessMag24t26:
    <<: *Completeness
    description: Completeness of recovered fakes in the magnitudes range 24-26. This is related to transCompletenessMin, OSS-REQ-0353.
