@aws/aws-distro-opentelemetry-node-autoinstrumentation
Version:
This package provides Amazon Web Services distribution of the OpenTelemetry Node Instrumentation, which allows for auto-instrumentation of NodeJS applications.
19 lines • 972 B
TypeScript
import { Resource } from '@opentelemetry/resources';
import { SpanExporter } from '@opentelemetry/sdk-trace-base';
import { AwsMetricAttributesSpanExporter } from './aws-metric-attributes-span-exporter';
import { MetricAttributeGenerator } from './metric-attribute-generator';
export declare class AwsMetricAttributesSpanExporterBuilder {
private static DEFAULT_GENERATOR;
private delegate;
private resource;
private generator;
static create(delegate: SpanExporter, resource: Resource): AwsMetricAttributesSpanExporterBuilder;
private constructor();
/**
* Sets the generator used to generate attributes used spancs exported by the exporter. If unset,
* defaults to {@link DEFAULT_GENERATOR}. Must not be null.
*/
setGenerator(generator: MetricAttributeGenerator): AwsMetricAttributesSpanExporterBuilder;
build(): AwsMetricAttributesSpanExporter;
}
//# sourceMappingURL=aws-metric-attributes-span-exporter-builder.d.ts.map