UNPKG

@dynatrace/opentelemetry-gcf

Version:

Dynatrace OpenTelemetry package for Google Cloud Functions

30 lines (27 loc) 2.32 kB
"use strict"; /* Copyright 2022 Dynatrace LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.flushSpans = exports.startActiveHttpSpan = exports.endHttpSpanAndFlush = exports.endHttpSpan = exports.startHttpSpan = exports.DtTextMapPropagator = exports.DtSpanProcessor = exports.DtSampler = exports.DtSpanExporter = void 0; var opentelemetry_core_1 = require("@dynatrace/opentelemetry-core"); Object.defineProperty(exports, "DtSpanExporter", { enumerable: true, get: function () { return opentelemetry_core_1.DtSpanExporter; } }); Object.defineProperty(exports, "DtSampler", { enumerable: true, get: function () { return opentelemetry_core_1.DtSampler; } }); Object.defineProperty(exports, "DtSpanProcessor", { enumerable: true, get: function () { return opentelemetry_core_1.DtSpanProcessor; } }); Object.defineProperty(exports, "DtTextMapPropagator", { enumerable: true, get: function () { return opentelemetry_core_1.DtTextMapPropagator; } }); var GcfInstrumentation_1 = require("./GcfInstrumentation"); Object.defineProperty(exports, "startHttpSpan", { enumerable: true, get: function () { return GcfInstrumentation_1.startHttpSpan; } }); Object.defineProperty(exports, "endHttpSpan", { enumerable: true, get: function () { return GcfInstrumentation_1.endHttpSpan; } }); Object.defineProperty(exports, "endHttpSpanAndFlush", { enumerable: true, get: function () { return GcfInstrumentation_1.endHttpSpanAndFlush; } }); Object.defineProperty(exports, "startActiveHttpSpan", { enumerable: true, get: function () { return GcfInstrumentation_1.startActiveHttpSpan; } }); Object.defineProperty(exports, "flushSpans", { enumerable: true, get: function () { return GcfInstrumentation_1.flushSpans; } }); //# sourceMappingURL=index.js.map