@rbbtsn0w/adg 0.9.1-dev.pr118.0795f98 → 0.9.1-dev.pr118.d5a8417

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -87,15 +87,15 @@ export function defaultTelemetryConfig(env, version = serviceVersion()) {
87
87
  const explicitTraceEndpoint = env.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT;
88
88
  const explicitBaseEndpoint = env.OTEL_EXPORTER_OTLP_ENDPOINT;
89
89
  const defaultEndpoint = releaseChannel(version) === "development" ? DEVELOPMENT_TRACE_ENDPOINT : DEFAULT_TRACE_ENDPOINT;
90
+ const traceEndpoint = explicitTraceEndpoint ??
91
+ (explicitBaseEndpoint ? normalizeTraceEndpoint(explicitBaseEndpoint) : defaultEndpoint);
90
92
  return {
91
93
  enabled: env.OTEL_SDK_DISABLED?.toLowerCase() !== "true" &&
92
94
  !env.DISABLE_TELEMETRY &&
93
95
  !env.DO_NOT_TRACK &&
94
96
  !env.NODE_TEST_CONTEXT,
95
- traceEndpoint: explicitTraceEndpoint ??
96
- (explicitBaseEndpoint ? normalizeTraceEndpoint(explicitBaseEndpoint) : defaultEndpoint),
97
- headers: gatewayHeaders(explicitTraceEndpoint ??
98
- (explicitBaseEndpoint ? normalizeTraceEndpoint(explicitBaseEndpoint) : defaultEndpoint)),
97
+ traceEndpoint,
98
+ headers: gatewayHeaders(traceEndpoint),
99
99
  batch: {
100
100
  maxQueueSize: 256,
101
101
  maxExportBatchSize: 64,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbbtsn0w/adg",
3
- "version": "0.9.1-dev.pr118.0795f98",
3
+ "version": "0.9.1-dev.pr118.d5a8417",
4
4
  "description": "Agent Directory Group (ADG) toolkit — two domains: plugins and skills.",
5
5
  "type": "module",
6
6
  "license": "MIT",