Skip to content

Commit

Permalink
Merge branch 'main' into issue-2394-respect-sampled
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarchaud authored Aug 7, 2021
2 parents d8df4db + f180870 commit 0b1748f
Show file tree
Hide file tree
Showing 16 changed files with 50 additions and 50 deletions.
4 changes: 2 additions & 2 deletions packages/opentelemetry-exporter-collector-grpc/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"path": "../opentelemetry-exporter-collector"
},
{
"path": "../opentelemetry-sdk-metrics-base"
"path": "../opentelemetry-resources"
},
{
"path": "../opentelemetry-resources"
"path": "../opentelemetry-sdk-metrics-base"
},
{
"path": "../opentelemetry-sdk-trace-base"
Expand Down
4 changes: 2 additions & 2 deletions packages/opentelemetry-exporter-collector-proto/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"path": "../opentelemetry-exporter-collector"
},
{
"path": "../opentelemetry-sdk-metrics-base"
"path": "../opentelemetry-resources"
},
{
"path": "../opentelemetry-resources"
"path": "../opentelemetry-sdk-metrics-base"
},
{
"path": "../opentelemetry-sdk-trace-base"
Expand Down
4 changes: 2 additions & 2 deletions packages/opentelemetry-exporter-collector/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"path": "../opentelemetry-core"
},
{
"path": "../opentelemetry-sdk-metrics-base"
"path": "../opentelemetry-resources"
},
{
"path": "../opentelemetry-resources"
"path": "../opentelemetry-sdk-metrics-base"
},
{
"path": "../opentelemetry-sdk-trace-base"
Expand Down
4 changes: 2 additions & 2 deletions packages/opentelemetry-exporter-jaeger/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"path": "../opentelemetry-resources"
},
{
"path": "../opentelemetry-semantic-conventions"
"path": "../opentelemetry-sdk-trace-base"
},
{
"path": "../opentelemetry-sdk-trace-base"
"path": "../opentelemetry-semantic-conventions"
}
]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-exporter-zipkin/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"path": "../opentelemetry-resources"
},
{
"path": "../opentelemetry-semantic-conventions"
"path": "../opentelemetry-sdk-trace-base"
},
{
"path": "../opentelemetry-sdk-trace-base"
"path": "../opentelemetry-semantic-conventions"
}
]
}
6 changes: 3 additions & 3 deletions packages/opentelemetry-instrumentation-fetch/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
{
"path": "../opentelemetry-propagator-b3"
},
{
"path": "../opentelemetry-semantic-conventions"
},
{
"path": "../opentelemetry-sdk-trace-base"
},
{
"path": "../opentelemetry-sdk-trace-web"
},
{
"path": "../opentelemetry-semantic-conventions"
}
]
}
6 changes: 3 additions & 3 deletions packages/opentelemetry-instrumentation-grpc/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
"path": "../opentelemetry-instrumentation"
},
{
"path": "../opentelemetry-sdk-trace-node"
"path": "../opentelemetry-sdk-trace-base"
},
{
"path": "../opentelemetry-semantic-conventions"
"path": "../opentelemetry-sdk-trace-node"
},
{
"path": "../opentelemetry-sdk-trace-base"
"path": "../opentelemetry-semantic-conventions"
}
]
}
6 changes: 3 additions & 3 deletions packages/opentelemetry-instrumentation-http/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
"path": "../opentelemetry-instrumentation"
},
{
"path": "../opentelemetry-sdk-trace-node"
"path": "../opentelemetry-sdk-trace-base"
},
{
"path": "../opentelemetry-semantic-conventions"
"path": "../opentelemetry-sdk-trace-node"
},
{
"path": "../opentelemetry-sdk-trace-base"
"path": "../opentelemetry-semantic-conventions"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@
{
"path": "../opentelemetry-propagator-b3"
},
{
"path": "../opentelemetry-semantic-conventions"
},
{
"path": "../opentelemetry-sdk-trace-base"
},
{
"path": "../opentelemetry-sdk-trace-web"
},
{
"path": "../opentelemetry-semantic-conventions"
}
]
}
6 changes: 3 additions & 3 deletions packages/opentelemetry-resources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ const resource = new Resource({
[SemanticResourceAttributes.SERVICE_NAME]: 'api-service',
});

const another_resource = new Resource({
'service.version': 2.0.0,
const anotherResource = new Resource({
'service.version': '2.0.0',
'service.group': 'instrumentation-group'
});
const merged_resource = resource.merge(another_resource);
const mergedResource = resource.merge(anotherResource);
```

## Useful links
Expand Down
12 changes: 6 additions & 6 deletions packages/opentelemetry-sdk-node/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@
{
"path": "../opentelemetry-instrumentation"
},
{
"path": "../opentelemetry-sdk-metrics-base"
},
{
"path": "../opentelemetry-sdk-trace-node"
},
{
"path": "../opentelemetry-resource-detector-aws"
},
Expand All @@ -36,8 +30,14 @@
{
"path": "../opentelemetry-resources"
},
{
"path": "../opentelemetry-sdk-metrics-base"
},
{
"path": "../opentelemetry-sdk-trace-base"
},
{
"path": "../opentelemetry-sdk-trace-node"
}
]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-sdk-trace-node/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"path": "../opentelemetry-resources"
},
{
"path": "../opentelemetry-semantic-conventions"
"path": "../opentelemetry-sdk-trace-base"
},
{
"path": "../opentelemetry-sdk-trace-base"
"path": "../opentelemetry-semantic-conventions"
}
]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-sdk-trace-web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
"path": "../opentelemetry-resources"
},
{
"path": "../opentelemetry-semantic-conventions"
"path": "../opentelemetry-sdk-trace-base"
},
{
"path": "../opentelemetry-sdk-trace-base"
"path": "../opentelemetry-semantic-conventions"
}
]
}
4 changes: 2 additions & 2 deletions packages/opentelemetry-semantic-conventions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ npm install --save @opentelemetry/semantic-conventions
## Usage

```ts
import { GeneralAttribute } from '@opentelemetry/semantic-conventions';
import { SemanticAttributes } from '@opentelemetry/semantic-conventions';

const span = tracer.startSpan().startSpan(spanName, spanOptions)
.setAttributes({
[GeneralAttribute.NET_PEER_HOSTNAME]: 'localhost',
[SemanticAttributes.NET_PEER_NAME]: 'localhost',
});
```

Expand Down
4 changes: 2 additions & 2 deletions packages/opentelemetry-shim-opentracing/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
"path": "../opentelemetry-propagator-jaeger"
},
{
"path": "../opentelemetry-semantic-conventions"
"path": "../opentelemetry-sdk-trace-base"
},
{
"path": "../opentelemetry-sdk-trace-base"
"path": "../opentelemetry-semantic-conventions"
}
]
}
22 changes: 11 additions & 11 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,6 @@
{
"path": "packages/opentelemetry-instrumentation"
},
{
"path": "packages/opentelemetry-sdk-metrics-base"
},
{
"path": "packages/opentelemetry-sdk-trace-node"
},
{
"path": "packages/opentelemetry-propagator-b3"
},
Expand All @@ -122,25 +116,31 @@
"path": "packages/opentelemetry-resources"
},
{
"path": "packages/opentelemetry-sdk-node"
"path": "packages/opentelemetry-sdk-metrics-base"
},
{
"path": "packages/opentelemetry-semantic-conventions"
"path": "packages/opentelemetry-sdk-node"
},
{
"path": "packages/opentelemetry-shim-opentracing"
"path": "packages/opentelemetry-sdk-trace-base"
},
{
"path": "packages/opentelemetry-sdk-trace-base"
"path": "packages/opentelemetry-sdk-trace-node"
},
{
"path": "packages/opentelemetry-sdk-trace-web"
},
{
"path": "packages/opentelemetry-semantic-conventions"
},
{
"path": "packages/opentelemetry-shim-opentracing"
},
{
"path": "packages/template"
},
{
"path": "integration-tests/propagation-validation-server"
}
]
}
}

0 comments on commit 0b1748f

Please sign in to comment.