function addLlmMeta({ agent, segment, transaction }) {
  agent.metrics.getOrCreateMetric(TRACKING_METRIC).incrementCallCount()
  transaction.trace.attributes.addAttribute(DESTINATIONS.TRANS_EVENT, 'llm', true)
  // end segment to get a consistent segment duration
  // for both the LLM events and the segment
  segment.end()
}
Increments the tracking metric and sets the llm attribute on transactions

@param {object} params input params
@param {Agent} params.agent NR agent instance
@param {TraceSegment} params.segment active segment
@param {Transaction} params.transaction active transaction