Skip to content

Commit

Permalink
Merge branch 'main' into tm-test-services
Browse files Browse the repository at this point in the history
  • Loading branch information
trentm committed Jul 31, 2024
2 parents 503f867 + 80304bc commit 3b50f21
Show file tree
Hide file tree
Showing 367 changed files with 35,611 additions and 24,974 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ labels: instrumentation-request
---

<!--
**NB:** Before opening an instrumentation request against this repo, consider whether the instrumentation should/could be implemented in the [other OpenTelemetry client libraries](https://github.com/open-telemetry/). If so, please [open an issue on opentelemetry-specification](https://github.com/open-telemetry/opentelemetry-specification/issues/new) first.
You are welcome to try to build your own instrumentation. If you do, please let us know if you have any questions/feedback.
**NB:** Before opening an instrumentation request against this repo, please read [the contributing guidelines for new instrumentation](../../CONTRIBUTING.md#new-instrumentation).
-->

### Is your instrumentation request related to a problem? Please describe
Expand All @@ -20,11 +18,22 @@ A clear and concise description of what the problem is. Ex. I'm always frustrate


### Do you expect this instrumentation to be commonly used?

Weekly Downloads:

### What version of instrumentation are you interested in using?

Versions:

### Code Owners

<!--
New Instrumentation requests need at least 2 code-owners that will maintain the instrumentation long-term.
-->

- Owner 1
- Owner 2

### Additional context
<!--
Add any other context or screenshots about the instrumentation request here. Is there a reference you could point for the well-defined lifecycle methods?
Expand Down
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/ownership_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Component Ownership Request
about: Request yourself being added as a component owner for a component in this repository
labels: type:ownership-request
---

<!--
**NB:** Before opening a component ownership request against this repo, please read [CONTRIBUTING.md](../../CONTRIBUTING.md#component-ownership) and its subsections first.
-->

### Which component are you requesting ownership of?

<!--
Put a link to the component here.
-->

### Related Work and Qualifications

<!--
List here why you're qualified to take ownership of the component, see [CONTRIBUTING.md](../../CONTRIBUTING.md#becoming-a-component-owner) for details.
Examples:
- I am working on <related open-source-project> and have deep knowledge of the instrumented package.
- I am using the instrumented package on a regular basis and have deep knowledge of the instrumented package.
- I am working on <similar package or system> and have deep knowledge of the concepts of the instrumented package.
- I am an engineer at an observability vendor we would like to sponsor this component.
-->

### Checklist

- [ ] I have read [CONTRIBUTING.md](../../CONTRIBUTING.md) and understand the responsibilities of a component owner.
- [ ] I agree to follow and uphold the [mission, vision and values](https://github.com/open-telemetry/community/blob/main/mission-vision-values.md) of the OpenTelemetry project
- [ ] I understand that the component I'm requesting ownership of may be subject to the [OpenTelemetry Semantic Conventions](https://github.com/open-telemetry/semantic-conventions) and agree to follow the rules set out therein.

### Additional context

<!--
Add any other context that does not fit any of the above sections
-->
21 changes: 21 additions & 0 deletions .github/component-label-map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ pkg:resource-detector-instana:
- any-glob-to-any-file:
- detectors/node/opentelemetry-resource-detector-instana/**
- packages/opentelemetry-test-utils/**
pkg:auto-configuration-propagators:
- changed-files:
- any-glob-to-any-file:
- metapackages/auto-configuration-propagators/**
pkg:auto-instrumentations-node:
- changed-files:
- any-glob-to-any-file:
Expand Down Expand Up @@ -270,3 +274,20 @@ pkg:sql-common:
- changed-files:
- any-glob-to-any-file:
- packages/opentelemetry-sql-common/**
pkg-status:unmaintained:
- changed-files:
- any-glob-to-any-file:
- detectors/node/opentelemetry-resource-detector-github/**
- plugins/node/instrumentation-fs/**
- plugins/node/instrumentation-tedious/**
- plugins/node/opentelemetry-instrumentation-connect/**
- plugins/node/opentelemetry-instrumentation-dns/**
- plugins/node/opentelemetry-instrumentation-generic-pool/**
- plugins/node/opentelemetry-instrumentation-hapi/**
- plugins/node/opentelemetry-instrumentation-knex/**
- plugins/node/opentelemetry-instrumentation-koa/**
- plugins/node/opentelemetry-instrumentation-memcached/**
- plugins/node/opentelemetry-instrumentation-nestjs-core/**
- plugins/node/opentelemetry-instrumentation-restify/**
- plugins/node/opentelemetry-instrumentation-router/**
- propagators/opentelemetry-propagator-ot-trace/**
60 changes: 30 additions & 30 deletions .github/component_owners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ components:
- aabmass
- punya
detectors/node/opentelemetry-resource-detector-github: []
# Unmaintained?
# Unmaintained
detectors/node/opentelemetry-resource-detector-instana:
- basti1302
- kirrg001
incubator/opentelemetry-sampler-aws-xray:
- carolabadeer
metapackages/auto-configuration-propagators:
- pichlermarc
metapackages/auto-instrumentations-node:
- dyladan
- pichlermarc
Expand All @@ -34,8 +38,6 @@ components:
- legendecas
packages/opentelemetry-id-generator-aws-xray:
- carolabadeer
packages/opentelemetry-sampler-aws-xray:
- carolabadeer
packages/opentelemetry-propagation-utils:
- dyladan
- pichlermarc
Expand All @@ -56,17 +58,18 @@ components:
- Ugzuzg
plugins/node/instrumentation-dataloader:
- henrinormak
plugins/node/instrumentation-fs:
- rauno56
plugins/node/instrumentation-fs: []
# Unmaintained
plugins/node/instrumentation-kafkajs:
- seemk
plugins/node/instrumentation-lru-memoizer:
- blumamir
plugins/node/instrumentation-mongoose:
- blumamir
plugins/node/instrumentation-socket.io:
- mottibec
- rauno56
plugins/node/instrumentation-tedious:
- rauno56
plugins/node/instrumentation-tedious: []
# Unmaintained
plugins/node/opentelemetry-instrumentation-aws-lambda:
- carolabadeer
plugins/node/opentelemetry-instrumentation-aws-sdk:
Expand All @@ -78,55 +81,54 @@ components:
plugins/node/opentelemetry-instrumentation-cassandra:
- seemk
plugins/node/opentelemetry-instrumentation-connect: []
# Unmaintained?
# Unmaintained
plugins/node/opentelemetry-instrumentation-dns: []
# Unmaintained?
# Unmaintained
plugins/node/opentelemetry-instrumentation-express:
- JamieDanielson
- pkanal
plugins/node/opentelemetry-instrumentation-fastify:
- pichlermarc
plugins/node/opentelemetry-instrumentation-generic-pool:
- rauno56
plugins/node/opentelemetry-instrumentation-generic-pool: []
# Unmaintained
plugins/node/opentelemetry-instrumentation-graphql:
- obecny
plugins/node/opentelemetry-instrumentation-hapi: []
# Unmaintained?
# Unmaintained
plugins/node/opentelemetry-instrumentation-ioredis:
- blumamir
- naseemkullah
plugins/node/opentelemetry-instrumentation-knex:
- rauno56
plugins/node/opentelemetry-instrumentation-knex: []
# Unmaintained
plugins/node/opentelemetry-instrumentation-koa: []
# Unmaintained?
plugins/node/opentelemetry-instrumentation-memcached:
- rauno56
# Unmaintained
plugins/node/opentelemetry-instrumentation-memcached: []
# Unmaintained
plugins/node/opentelemetry-instrumentation-mongodb:
- osherv
plugins/node/opentelemetry-instrumentation-mysql:
- haddasbronfman
plugins/node/opentelemetry-instrumentation-mysql2:
- haddasbronfman
plugins/node/opentelemetry-instrumentation-nestjs-core:
- rauno56
plugins/node/opentelemetry-instrumentation-nestjs-core: []
# Unmaintained
plugins/node/opentelemetry-instrumentation-net:
- seemk
plugins/node/opentelemetry-instrumentation-runtime-node:
plugins/node/instrumentation-runtime-node:
- d4nyll
plugins/node/opentelemetry-instrumentation-pg:
- maryliag
- rauno56
plugins/node/opentelemetry-instrumentation-pino:
- seemk
plugins/node/opentelemetry-instrumentation-redis-4:
- blumamir
plugins/node/opentelemetry-instrumentation-redis:
- blumamir
plugins/node/opentelemetry-instrumentation-restify:
- rauno56
plugins/node/opentelemetry-instrumentation-router:
- rauno56
plugins/node/opentelemetry-instrumentation-undici:
plugins/node/opentelemetry-instrumentation-restify: []
# Unmaintained
plugins/node/opentelemetry-instrumentation-router: []
# Unmaintained
plugins/node/instrumentation-undici:
- david-luna
- trentm
plugins/node/opentelemetry-instrumentation-winston:
Expand All @@ -141,13 +143,11 @@ components:
- obecny
plugins/web/opentelemetry-plugin-react-load:
- martinkuba
propagators/opentelemetry-propagator-grpc-census-binary: []
# Unmaintained?
propagators/opentelemetry-propagator-instana:
- basti1302
- kirrg001
propagators/opentelemetry-propagator-ot-trace: []
# Unmaintained?
# Unmaintained

ignored-authors:
- renovate-bot
5 changes: 0 additions & 5 deletions .github/markdown-lint.yml

This file was deleted.

26 changes: 25 additions & 1 deletion .github/workflows/close-stale.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 6 * * 1'
- cron: '30 6 * * *'

jobs:
stale:
Expand All @@ -20,3 +20,27 @@ jobs:
exempt-issue-labels: never-stale
exempt-pr-labels: never-stale
any-of-labels: information-requested
- uses: actions/stale@v9
with:
days-before-issue-stale: 0
days-before-issue-close: 14
stale-issue-message: 'This package does not have an assigned [component owner](https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/CONTRIBUTING.md#component-ownership) and is considered [unmaintained](https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/CONTRIBUTING.md#unmaintained). As such this package is in feature-freeze and this issue will be closed with 14 days unless a new owner or a sponsor (a member of @open-telemetry/javascript-approvers) for the feature is found. It is the responsibility of the author to find a sponsor for this feature.
Are you familiar with this package? Consider [becoming a component owner](https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/CONTRIBUTING.md#becoming-a-component-owner).'
close-issue-message: 'This issue was closed because no owner or sponsor has been found after 14 days'
stale-issue-label: pkg-status:unmaintained:autoclose-scheduled
only-labels: pkg-status:unmaintained,feature-request
exempt-issue-labels: bug,has:sponsor,type:semconv-update
remove-stale-when-updated: false
- uses: actions/stale@v9
with:
days-before-pr-stale: 0
days-before-pr-close: 14
stale-pr-message: 'This package does not have an assigned [component owner](https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/CONTRIBUTING.md#component-ownership) and is considered [unmaintained](https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/CONTRIBUTING.md#unmaintained). As such this package is in feature-freeze and this PR will be closed with 14 days unless a new owner or a sponsor (a member of @open-telemetry/javascript-approvers) for the feature is found. It is the responsibility of the author to find a sponsor for this feature.
Are you familiar with this package? Consider [becoming a component owner](https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/CONTRIBUTING.md#becoming-a-component-owner).'
close-pr-message: 'This issue was closed because no owner or sponsor has been found after 14 days'
stale-pr-label: pkg-status:unmaintained:autoclose-scheduled
only-labels: pkg-status:unmaintained
exempt-pr-labels: bug,has:sponsor,type:semconv-update,dependencies,autorelease:pending
remove-stale-when-updated: false
13 changes: 4 additions & 9 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,9 @@ jobs:
with:
node-version: 18
cache: 'npm'

- name: Lint markdown files
uses: avto-dev/markdown-lint@v1
with:
config: '.github/markdown-lint.yml'
ignore: "./**/CHANGELOG.md"
args: "./**/*.md"

- run: npm ci
- name: Lint
run: npm run lint
run: |
npm run lint
npm run lint:markdown
npm run lint:readme
3 changes: 3 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ name: Run Release Please
jobs:
release-please:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
# The logic below handles the npm publication:
- name: Checkout Repository
Expand Down Expand Up @@ -75,4 +77,5 @@ jobs:
if: ${{ steps.release.outputs.releases_created }}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_CONFIG_PROVENANCE: true
run: npx lerna publish from-package --no-push --no-private --no-git-tag-version --no-verify-access --yes
2 changes: 1 addition & 1 deletion .github/workflows/test-all-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ["14", "16", "18", "20"]
node: ["14", "16", "18", "20", "22"]
runs-on: ubuntu-latest
services:
mongo:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ["14", "16", "18", "20"]
node: ["14", "16", "18", "20", "22"]
include:
- node: 18
code-coverage: true
Expand Down
17 changes: 17 additions & 0 deletions .markdownlint-cli2.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// https://github.com/DavidAnson/markdownlint-cli2#markdownlint-cli2jsonc
{
"config": {
// https://github.com/DavidAnson/markdownlint/blob/main/README.md#rules--aliases
"MD013": false,
"MD024": false,
"MD033": false,
"MD041": false,
// MD004/ul-style. We prefer dash, but generated CHANGELOG.md files use
// asterisk. The default "consistent" is a good compromise.
"MD004": { "style": "consistent" },
"MD012": false // no-multiple-blanks; disabled because common in CHANGELOG.md files
},
"gitignore": true,
"noBanner": true,
"noProgress": true
}
7 changes: 0 additions & 7 deletions .markdownlint.json

This file was deleted.

Loading

0 comments on commit 3b50f21

Please sign in to comment.