# Metric definitions in ip_diffim

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

DipoleFitTime:
    <<: *RunningTime
    description: Wall-clock time elapsed in DipoleFitTask.

fracDiaSourcesToSciSources:
    description: fraction of DIASources/science sources
    unit: '%'
    reference: *ApMetrics
    tags: &CcdMetric !!set
        ? ap_verify
        ? diffim
        ? CCD

numSciSources:
    description: Number of DIASources (positive and negative)
    unit: ct
    reference: *ApMetrics
    tags: !!set
        <<: *CcdMetric
        ? monitoring
