Go to console

Index

Methods

getAttribute

  • getAttribute(attr: string): string | undefined
  • Retrieves the value that the custom attribute is set to.

    Parameters

    • attr: string

      Name of the custom attribute.

    Returns string | undefined

getAttributes

  • getAttributes(): object
  • Returns a map of all custom attributes of a trace instance.

    Returns object

    • [key: string]: string

getMetric

  • getMetric(metricName: string): number
  • Returns the valu