<?xml version="1.0" encoding="UTF-8"?>
<?cmls formatversion="1.0"?>

<cmls_config name="syncService" guid="CC92677A-6E14-4CA0-88F7-462CA3A00714" version="4">

  <!-- *** Sampling Definition *** -->

  <sampling rate="1000" refresh="midnight"/>

  <!-- *** Reporting Definition *** -->

  <reporting near_real_time="300" relevant_time="600" default="3600"/>

  <!-- To validate using the CMLS schema, temporarily copy the cmls_standard_dims.xml file -->
  <!-- here. Remember to remove this code after successfully validated your config file.   -->

  <!-- INSERT cmls_standard_dims.xml AFTER THIS LINE -->
  <!-- INSERT cmls_standard_dims.xml BEFORE THIS LINE -->

  <!-- *** Custom Dimension Definitions *** -->

  <define_dim name="c_sync_result">
    <value num="0" str="success"/>
    <value num="1" str="fail"/>
    <value num="2" str="cancel"/>
    <value num="3" str="authFail"/>
    <value num="4" str="serverFail"/>
    <value num="5" str="httpFail"/>
    <value num="6" str="parseXmlFail"/>
    <unknown num="99" str="unknown"/>
  </define_dim>

  <define_dim name="c_data_type">
  </define_dim>

  <!-- *** Custom Histogram Scale Definitions *** -->

  <!-- *** Metric definitions *** -->

  <counter name="syncCompleted" eventID="rulh" eventSrc="count" interval="hour">
    <dim name="c_sync_result"/>
    <dim name="c_data_type"/>
    <dim name="s_prod_version"/>
  </counter>

</cmls_config>