getTracer abstract method

Tracer getTracer(
  1. String name, {
  2. String version,
  3. String schemaUrl,
  4. List<Attribute> attributes,
})

Returns a Tracer, creating one if one with the given name and version is not already created.

name should be the name of the tracer or instrumentation library. version should be the version of the tracer or instrumentation library.

Implementation

api.Tracer getTracer(String name,
    {String version, String schemaUrl, List<api.Attribute> attributes});