Namespace: ojtracer

Oracle® JavaScript Extension Toolkit (JET)
11.1.0

F37999-01

Since:
  • 11.1.0
Module:
  • ojtracer

QuickNav

Description

Contains telemetry utility functions


Usage

Typescript Import Format
//This namespace exports multiple static methods or members. To import 
import * as ojtracer from "ojs/ojtracer";

//Now you can access the methods as ojtracer.methodName and so on

For additional information visit:


Contains telemetry utility functions

Methods

getDescriptiveText(element) : {string}

Return some descriptive text to help identify this element for the Tracer
Parameters:
Name Type Description
element HTMLElement element for which to return descriptive text
Returns:
descriptive text
Type
string

getTracerProvider : {Object}

Return the user-set opentelemetry-compatible TracerProvider object, or an internal no-op version if nothing has been set
Returns:
opentelemetry-compatible TracerProvider
Type
Object

setTracerProvider(provider)

Allow user to set an opentelemetry-compatible TracerProvider object
Parameters:
Name Type Description
provider Object