Skip to content

Commit b41797b

Browse files
seemkblumamir
andauthored
feat: kafkajs instrumentation (open-telemetry#2089)
* feat: kafkajs instrumentation * doc: update readme * update package-lock * update release-please * update release please config * prefer this._diag * remove moduleVersionAttributeName config option * use internal kafka message type * use generic messageinfo type * skip version update from compile step * remove kafkajs type from exports * add aspecto to copyright * upgrade to latest otel * add docs about semconv * NOTICE updates * specify supported version and remove unnecessary diag logs * allow for exact and case insensitive compare for propagation fields * update component owners * remove messaging.destination_kind attribute --------- Co-authored-by: Amir Blum <[email protected]>
1 parent 0bec64e commit b41797b

18 files changed

+2537
-1
lines changed

.github/component_owners.yml

+2
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ components:
5858
- henrinormak
5959
plugins/node/instrumentation-fs:
6060
- rauno56
61+
plugins/node/instrumentation-kafkajs:
62+
- seemk
6163
plugins/node/instrumentation-lru-memoizer:
6264
- blumamir
6365
plugins/node/instrumentation-mongoose:

.release-please-manifest.json

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"plugins/node/instrumentation-cucumber": "0.6.0",
2121
"plugins/node/instrumentation-dataloader": "0.9.0",
2222
"plugins/node/instrumentation-fs": "0.12.0",
23+
"plugins/node/instrumentation-kafkajs": "0.0.1",
2324
"plugins/node/instrumentation-lru-memoizer": "0.37.0",
2425
"plugins/node/instrumentation-mongoose": "0.38.1",
2526
"plugins/node/instrumentation-runtime-node": "0.4.0",

eslint.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = {
2020
"no-shadow": "off",
2121
"node/no-deprecated-api": ["warn"],
2222
"header/header": ["error", "block", [{
23-
pattern: / \* Copyright The OpenTelemetry Authors[\r\n]+ \*[\r\n]+ \* Licensed under the Apache License, Version 2\.0 \(the \"License\"\);[\r\n]+ \* you may not use this file except in compliance with the License\.[\r\n]+ \* You may obtain a copy of the License at[\r\n]+ \*[\r\n]+ \* https:\/\/www\.apache\.org\/licenses\/LICENSE-2\.0[\r\n]+ \*[\r\n]+ \* Unless required by applicable law or agreed to in writing, software[\r\n]+ \* distributed under the License is distributed on an \"AS IS\" BASIS,[\r\n]+ \* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.[\r\n]+ \* See the License for the specific language governing permissions and[\r\n]+ \* limitations under the License\./gm,
23+
pattern: / \* Copyright The OpenTelemetry Authors(, .+)*[\r\n]+ \*[\r\n]+ \* Licensed under the Apache License, Version 2\.0 \(the \"License\"\);[\r\n]+ \* you may not use this file except in compliance with the License\.[\r\n]+ \* You may obtain a copy of the License at[\r\n]+ \*[\r\n]+ \* https:\/\/www\.apache\.org\/licenses\/LICENSE-2\.0[\r\n]+ \*[\r\n]+ \* Unless required by applicable law or agreed to in writing, software[\r\n]+ \* distributed under the License is distributed on an \"AS IS\" BASIS,[\r\n]+ \* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.[\r\n]+ \* See the License for the specific language governing permissions and[\r\n]+ \* limitations under the License\./gm,
2424
template:
2525
`\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n `
2626
}]]

0 commit comments

Comments
 (0)