import { withPathPrefix } from '@redocly/theme/core/openapi';
export function getDefaultCollectorUrl() {
    return process.env.NODE_ENV === 'development'
        ? 'http://localhost:4318'
        : window.location.origin + withPathPrefix('/_otel');
}
//# sourceMappingURL=telemetry.js.map