function validateCommonAttrs({ commonAttrs, config }) {
  assert.equal(
    commonAttrs['entity.name'],
    config.applications()[0],
    'should have entity name that matches app'
  )
  assert.equal(commonAttrs['entity.guid'], 'test-guid', 'should have set entity guid')
  assert.equal(commonAttrs['entity.type'], 'SERVICE', 'should have entity type of SERVICE')
  assert.equal(commonAttrs.hostname, config.getHostnameSafe(), 'should have proper hostname')
}
Validates the common attributes of a given log payload

@param {object} params to fn
@param {object} params.commonAttrs common attributes on a log batch
@param {object} params.config agent config