Skip to content

Commit

Permalink
chore: fix compilation errors (#2614)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan authored Nov 11, 2021
1 parent 9cf402e commit 0bc25fa
Show file tree
Hide file tree
Showing 11 changed files with 67 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@
"references": [
{
"path": "../opentelemetry-api-metrics"
},
{
"path": "../opentelemetry-exporter-metrics-otlp-http"
},
{
"path": "../opentelemetry-exporter-trace-otlp-grpc"
},
{
"path": "../opentelemetry-exporter-trace-otlp-http"
},
{
"path": "../opentelemetry-sdk-metrics-base"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,16 @@
},
"include": [
"src/**/*.ts"
],
"references": [
{
"path": "../opentelemetry-api-metrics/tsconfig.esm.json"
},
{
"path": "../opentelemetry-exporter-trace-otlp-http/tsconfig.esm.json"
},
{
"path": "../opentelemetry-sdk-metrics-base/tsconfig.esm.json"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,16 @@
"include": [
"src/**/*.ts",
"test/**/*.ts"
],
"references": [
{
"path": "../opentelemetry-api-metrics"
},
{
"path": "../opentelemetry-exporter-trace-otlp-http"
},
{
"path": "../opentelemetry-sdk-metrics-base"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,19 @@
],
"references": [
{
"path": "../opentelemetry-sdk-metrics-base"
"path": "../opentelemetry-api-metrics"
},
{
"path": "../opentelemetry-exporter-metrics-otlp-http"
},
{
"path": "../opentelemetry-exporter-trace-otlp-http"
},
{
"path": "../opentelemetry-exporter-trace-otlp-proto"
},
{
"path": "../opentelemetry-sdk-metrics-base"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,8 @@
"test/**/*.ts"
],
"references": [
{
"path": "../opentelemetry-api-metrics"
},
{
"path": "../opentelemetry-exporter-trace-otlp-http"
},
{
"path": "../opentelemetry-sdk-metrics-base"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,5 @@
},
"include": [
"src/**/*.ts"
],
"references": [
{
"path": "../opentelemetry-api-metrics/tsconfig.esm.json"
},
{
"path": "../opentelemetry-sdk-metrics-base/tsconfig.esm.json"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,5 @@
"include": [
"src/**/*.ts",
"test/**/*.ts"
],
"references": [
{
"path": "../opentelemetry-api-metrics"
},
{
"path": "../opentelemetry-sdk-metrics-base"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,8 @@
"test/**/*.ts"
],
"references": [
{
"path": "../opentelemetry-api-metrics"
},
{
"path": "../opentelemetry-exporter-trace-otlp-http"
},
{
"path": "../opentelemetry-sdk-metrics-base"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export class MeterProvider implements api.MeterProvider {
new Meter({
name,
version,
// @ts-expect-error ts(2345) TODO: upgrade @opentelemetry/core InstrumentationLibrary definition
schemaUrl: options?.schemaUrl
}, this._config)
);
Expand Down
15 changes: 12 additions & 3 deletions experimental/tsconfig.esm.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,26 @@
"path": "packages/opentelemetry-api-metrics/tsconfig.esm.json"
},
{
"path": "packages/opentelemetry-exporter-trace-otlp-grpc"
"path": "packages/opentelemetry-exporter-metrics-otlp-grpc"
},
{
"path": "packages/opentelemetry-exporter-trace-otlp-http/tsconfig.esm.json"
"path": "packages/opentelemetry-exporter-metrics-otlp-http/tsconfig.esm.json"
},
{
"path": "packages/opentelemetry-exporter-trace-otlp-proto"
"path": "packages/opentelemetry-exporter-metrics-otlp-proto"
},
{
"path": "packages/opentelemetry-exporter-prometheus"
},
{
"path": "packages/opentelemetry-exporter-trace-otlp-grpc"
},
{
"path": "packages/opentelemetry-exporter-trace-otlp-http/tsconfig.esm.json"
},
{
"path": "packages/opentelemetry-exporter-trace-otlp-proto"
},
{
"path": "packages/opentelemetry-instrumentation-fetch/tsconfig.esm.json"
},
Expand Down
22 changes: 11 additions & 11 deletions experimental/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,40 @@
"path": "packages/opentelemetry-api-metrics"
},
{
"path": "packages/opentelemetry-exporter-trace-otlp-grpc"
"path": "packages/opentelemetry-exporter-metrics-otlp-grpc"
},
{
"path": "packages/opentelemetry-exporter-trace-otlp-http"
"path": "packages/opentelemetry-exporter-metrics-otlp-http"
},
{
"path": "packages/opentelemetry-exporter-trace-otlp-proto"
"path": "packages/opentelemetry-exporter-metrics-otlp-proto"
},
{
"path": "packages/opentelemetry-exporter-prometheus"
},
{
"path": "packages/opentelemetry-instrumentation-fetch"
"path": "packages/opentelemetry-exporter-trace-otlp-grpc"
},
{
"path": "packages/opentelemetry-instrumentation-grpc"
"path": "packages/opentelemetry-exporter-trace-otlp-http"
},
{
"path": "packages/opentelemetry-instrumentation-http"
"path": "packages/opentelemetry-exporter-trace-otlp-proto"
},
{
"path": "packages/opentelemetry-instrumentation-xml-http-request"
"path": "packages/opentelemetry-instrumentation-fetch"
},
{
"path": "packages/opentelemetry-instrumentation"
"path": "packages/opentelemetry-instrumentation-grpc"
},
{
"path": "packages/opentelemetry-exporter-metrics-otlp-http"
"path": "packages/opentelemetry-instrumentation-http"
},
{
"path": "packages/opentelemetry-exporter-metrics-otlp-grpc"
"path": "packages/opentelemetry-instrumentation-xml-http-request"
},
{
"path": "packages/opentelemetry-exporter-metrics-otlp-proto"
"path": "packages/opentelemetry-instrumentation"
},
{
"path": "packages/opentelemetry-sdk-metrics-base"
Expand Down

0 comments on commit 0bc25fa

Please sign in to comment.