openlit
Version:
OpenTelemetry-native Auto instrumentation library for monitoring LLM Applications, facilitating the integration of observability into your GenAI-driven projects
20 lines • 1 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class OpenlitConfig {
static updateConfig({ environment = 'default', applicationName = 'default', tracer, otlpEndpoint, otlpHeaders, disableBatch = false, captureMessageContent = true, pricingJson, disableMetrics = false, disableEvents = false, maxContentLength = null, customSpanAttributes = null, }) {
this.environment = environment;
this.applicationName = applicationName;
this.tracer = tracer;
this.otlpEndpoint = otlpEndpoint;
this.otlpHeaders = otlpHeaders;
this.disableBatch = disableBatch;
this.captureMessageContent = captureMessageContent;
this.pricingJson = pricingJson;
this.disableMetrics = disableMetrics;
this.disableEvents = disableEvents;
this.maxContentLength = maxContentLength;
this.customSpanAttributes = customSpanAttributes;
}
}
exports.default = OpenlitConfig;
//# sourceMappingURL=config.js.map