function addOTelAttribute({ agent, name, value }, cb) {
  const segment = agent.tracer.getSegment()
  segment.addAttribute(name, value)
  cb()
}
Adds attribute to active segment.

@param {object} params to function
@param {object} params.agent agent instance
@param {string} params.name name of attribute
@param {string} params.value value of attribute
@param {function} cb function to call after attribute has been set on segment