---
namespace.integrations.gluster:
  objects:
    VolumeAlertCounters:
      enabled: True
      attrs:
        warning_count:
          help: "Count of warning alerts for the volume"
          type: int
        integration_id:
          help: "Id of the cluster"
          type: String
        volume_id:
          help: "Id of the volume"
          type: String
      relationship:
        utilization:
          - volume_utilization
        status:
          - volume_status
          - brick_status
          - quorum
          - ec_min_bricks_up
          - afr_quorum_state
          - afr_subvol_state
      value: /clusters/{0}/Volumes/{1}
      list: /clusters/{0}/Volumes/{1}
      help: "Volume Alert Counter"
      version: 1

---
namespace.integrations.gluster:
  objects:
    VolumeAlertCounters:
      enabled: True
      attrs:
        warning_count:
          help: "Count of warning alerts for the volume"
          type: int
        integration_id:
          help: "Id of the cluster"
          type: String
        volume_id:
          help: "Id of the volume"
          type: String
      relationship:
        utilization:
          - volume_utilization
        status:
          - volume_status
          - volume_state
          - brick_status
          - quorum
          - ec_min_bricks_up
          - afr_quorum_state
          - afr_subvol_state
      value: /clusters/{0}/Volumes/{1}
      list: /clusters/{0}/Volumes/{1}
      help: "Volume Alert Counter"
      version: 1

Increment volume alert count also for volume state
Increment volume alert count also for volume state

Tendrl-bugid: Tendrl/node-agent#712

Signed-off-by: GowthamShanmugam <8c664c2cfb272eb6524e212187e1d749ad3db0b4@redhat.com>
