File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export {
16
16
trace ,
17
17
context ,
18
18
type Context ,
19
- } from "https://deno.land/x/observability@v0.6.1 /opentelemetry/api.js" ;
19
+ } from "https://deno.land/x/observability@v0.10.0 /opentelemetry/api.js" ;
20
20
export {
21
21
httpTracer ,
22
- } from "https://deno.land/x/observability@v0.6.1 /instrumentation/http-server.ts" ;
22
+ } from "https://deno.land/x/observability@v0.10.0 /instrumentation/http-server.ts" ;
Original file line number Diff line number Diff line change 1
1
// TODO: this could be added to /x/observability as a preconfigured SDK
2
2
3
- import { DenoTelemetrySdk } from "https://deno.land/x/observability@v0.6.1 /sdk.ts" ;
4
- import { CloudPropagator } from "https://deno.land/x/observability@v0.6.1 /otel-platform/propagators/google-cloud.ts" ;
3
+ import { DenoTelemetrySdk } from "https://deno.land/x/observability@v0.10.0 /sdk.ts" ;
4
+ import { CloudPropagator } from "https://deno.land/x/observability@v0.10.0 /otel-platform/propagators/google-cloud.ts" ;
5
5
6
6
new DenoTelemetrySdk ( {
7
7
resourceAttrs : {
8
8
'service.name' : 'module-visualizer' ,
9
9
'service.version' : Deno . env . get ( 'K_REVISION' ) ?. slice ( ( Deno . env . get ( 'K_SERVICE' ) ?. length ?? - 1 ) + 1 ) ,
10
10
'deployment.environment' : Deno . env . get ( 'K_SERVICE' ) ? 'production' : 'local' ,
11
11
} ,
12
- propagator : new CloudPropagator ( ) ,
12
+ textMapPropagator : new CloudPropagator ( ) ,
13
13
} ) ;
You can’t perform that action at this time.
0 commit comments