Skip to content

Commit febf30e

Browse files
authored
chore(opentelemetry-sampler-aws-xray): Move X-Ray Sampler out of Incubating (#2993)
Closes: #2736
1 parent 4472a00 commit febf30e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+155
-21
lines changed

.github/component_owners.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ components:
1818
# Unmaintained
1919
packages/resource-detector-instana:
2020
- kirrg001
21-
incubator/opentelemetry-sampler-aws-xray:
21+
packages/sampler-aws-xray:
2222
- jj22ee
2323
- yiyuan-he
2424
packages/auto-configuration-propagators:

.release-please-manifest.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"packages/id-generator-aws-xray": "2.0.1",
1616
"packages/propagation-utils": "0.31.5",
1717
"packages/redis-common": "0.38.0",
18+
"packages/sampler-aws-xray": "0.1.0",
1819
"packages/sql-common": "0.41.0",
1920
"packages/contrib-test-utils": "0.51.0",
2021
"packages/winston-transport": "0.16.0",

incubator/opentelemetry-sampler-aws-xray/.eslintrc.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

package-lock.json

Lines changed: 105 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright The OpenTelemetry Authors
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
module.exports = {
17+
env: {
18+
mocha: true,
19+
commonjs: true,
20+
node: true,
21+
},
22+
...require('../../eslint.config.js'),
23+
};
File renamed without changes.

incubator/opentelemetry-sampler-aws-xray/README.md renamed to packages/sampler-aws-xray/README.md

Lines changed: 6 additions & 3 deletions

incubator/opentelemetry-sampler-aws-xray/package.json renamed to packages/sampler-aws-xray/package.json

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"name": "@opentelemetry/sampler-aws-xray",
3-
"version": "0.34.0",
4-
"private": true,
5-
"description": "OpenTelemetry remote sampler for AWS X-Ray",
3+
"version": "0.1.0",
4+
"description": "OpenTelemetry Remote Sampler for AWS X-Ray",
65
"keywords": [
76
"aws",
87
"sampler",
@@ -11,6 +10,7 @@
1110
"AWS",
1211
"X-Ray"
1312
],
13+
"homepage": "https://github.com/open-telemetry/opentelemetry-js-contrib/tree/main/packages/sampler-aws-xray#readme",
1414
"license": "Apache-2.0",
1515
"author": "OpenTelemetry Authors",
1616
"bugs": {
@@ -19,17 +19,26 @@
1919
"main": "build/src/index.js",
2020
"types": "build/src/index.d.ts",
2121
"files": [
22+
"build/esm/**/*.js",
23+
"build/esm/**/*.js.map",
24+
"build/esm/**/*.d.ts",
2225
"build/src/**/*.js",
2326
"build/src/**/*.js.map",
2427
"build/src/**/*.d.ts",
25-
"doc",
2628
"LICENSE",
2729
"README.md"
2830
],
29-
"repository": "open-telemetry/opentelemetry-js-contrib",
31+
"publishConfig": {
32+
"access": "public"
33+
},
34+
"repository": {
35+
"type": "git",
36+
"url": "https://github.com/open-telemetry/opentelemetry-js-contrib.git",
37+
"directory": "packages/sampler-aws-xray"
38+
},
3039
"scripts": {
3140
"clean": "tsc --build --clean tsconfig.json tsconfig.esm.json",
32-
"compile": "tsc -p .",
41+
"compile": "tsc --build tsconfig.json tsconfig.esm.json",
3342
"compile:with-dependencies": "nx run-many -t compile -p @opentelemetry/sampler-aws-xray",
3443
"lint": "eslint . --ext=ts,js,mjs",
3544
"lint:fix": "eslint . --ext=ts,js,mjs --fix",
@@ -40,7 +49,7 @@
4049
"watch": "tsc --build --watch tsconfig.json tsconfig.esm.json"
4150
},
4251
"peerDependencies": {
43-
"@opentelemetry/api": "^1.9.0"
52+
"@opentelemetry/api": "^1.1.0"
4453
},
4554
"dependencies": {
4655
"@opentelemetry/core": "^2.0.0",
@@ -49,7 +58,7 @@
4958
"@opentelemetry/semantic-conventions": "^1.27.0"
5059
},
5160
"devDependencies": {
52-
"@opentelemetry/api": "^1.9.0",
61+
"@opentelemetry/api": "^1.1.0",
5362
"@opentelemetry/sdk-trace-node": "^2.0.0",
5463
"@types/mocha": "10.0.10",
5564
"@types/node": "18.18.14",

incubator/opentelemetry-sampler-aws-xray/src/aws-xray-sampling-client.ts renamed to packages/sampler-aws-xray/src/aws-xray-sampling-client.ts

File renamed without changes.

0 commit comments

Comments
 (0)