function transformAttributes()

in packages/opentelemetry-cloud-trace-exporter/src/transform.ts [163:172]


function transformAttributes(
  attributes: ot.SpanAttributes,
  stringifyArrayAttributes?: boolean
): Attributes {
  const changedAttributes = transformAttributeNames(attributes);
  return spanAttributesToGCTAttributes(
    changedAttributes,
    stringifyArrayAttributes
  );
}