Skip to content

Commit 2759bd2

Browse files
Merge branch 'main' into pymysql-sqlcomment
2 parents dec459b + 77613da commit 2759bd2

File tree

158 files changed

+2239
-1935
lines changed

Some content is hidden

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

158 files changed

+2239
-1935
lines changed

.github/component_owners.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,8 @@ components:
6666

6767
processor/opentelemetry-processor-baggage:
6868
- codeboten
69+
70+
instrumentation-genai/:
71+
- karthikscale3
72+
- lmolkova
73+
- lzchen

.github/workflows/generate_workflows_lib/src/generate_workflows_lib/misc.yml.j2

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,17 @@ jobs:
2323
{%- if job_data == "generate-workflows" %}
2424
if: |
2525
!contains(github.event.pull_request.labels.*.name, 'Skip generate-workflows')
26-
&& github.actor != 'opentelemetrybot' && github.event_name == 'pull_request'
26+
&& github.event.pull_request.user.login != 'opentelemetrybot' && github.event_name == 'pull_request'
2727
{%- endif %}
2828
{%- if job_data == "public-symbols-check" %}
2929
if: |
3030
!contains(github.event.pull_request.labels.*.name, 'Approve Public API check')
3131
&& github.actor != 'opentelemetrybot' && github.event_name == 'pull_request'
3232
{%- endif %}
33+
{%- if job_data == "docs" %}
34+
if: |
35+
github.event.pull_request.user.login != 'opentelemetrybot' && github.event_name == 'pull_request'
36+
{%- endif %}
3337
steps:
3438
- name: Checkout repo @ SHA - ${% raw %}{{ github.sha }}{% endraw %}
3539
uses: actions/checkout@v4

.github/workflows/misc_0.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ jobs:
5555
docs:
5656
name: docs
5757
runs-on: ubuntu-latest
58+
if: |
59+
github.event.pull_request.user.login != 'opentelemetrybot' && github.event_name == 'pull_request'
5860
steps:
5961
- name: Checkout repo @ SHA - ${{ github.sha }}
6062
uses: actions/checkout@v4
@@ -96,7 +98,7 @@ jobs:
9698
runs-on: ubuntu-latest
9799
if: |
98100
!contains(github.event.pull_request.labels.*.name, 'Skip generate-workflows')
99-
&& github.actor != 'opentelemetrybot' && github.event_name == 'pull_request'
101+
&& github.event.pull_request.user.login != 'opentelemetrybot' && github.event_name == 'pull_request'
100102
steps:
101103
- name: Checkout repo @ SHA - ${{ github.sha }}
102104
uses: actions/checkout@v4

.github/workflows/package-prepare-patch-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
- opentelemetry-propagator-aws-xray
99
- opentelemetry-resource-detector-azure
1010
- opentelemetry-sdk-extension-aws
11+
- opentelemetry-instrumentation-openai-v2
1112
description: 'Package to be released'
1213
required: true
1314
jobs:

.github/workflows/package-prepare-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
- opentelemetry-propagator-aws-xray
99
- opentelemetry-resource-detector-azure
1010
- opentelemetry-sdk-extension-aws
11+
- opentelemetry-instrumentation-openai-v2
1112
description: 'Package to be released'
1213
required: true
1314

.github/workflows/package-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
- opentelemetry-propagator-aws-xray
99
- opentelemetry-resource-detector-azure
1010
- opentelemetry-sdk-extension-aws
11+
- opentelemetry-instrumentation-openai-v2
1112
description: 'Package to be released'
1213
required: true
1314
jobs:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
1212
## Unreleased
1313

14+
## Version 1.28.0/0.49b0 (2024-11-05)
15+
1416
### Added
1517

1618
- `opentelemetry-instrumentation-openai-v2` Instrumentation for OpenAI >= 0.27.0
@@ -40,6 +42,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4042
([#2940](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2940))
4143
- `opentelemetry-instrumentation-dbapi` sqlcommenter key values created from PostgreSQL, MySQL systems
4244
([#2897](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2897))
45+
- `opentelemetry-instrumentation-system-metrics`: don't report open file descriptors on Windows
46+
([#2946](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2946))
4347

4448
### Breaking changes
4549

CONTRIBUTING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Please also read the [OpenTelemetry Contributor Guide](https://github.com/open-t
3434
* [Testing against a different Core repo branch/commit](#testing-against-a-different-core-repo-branchcommit)
3535
* [Style Guide](#style-guide)
3636
* [Guideline for instrumentations](#guideline-for-instrumentations)
37+
* [Guidance for GenAI instrumentations](#guideline-for-genai-instrumentations)
3738
* [Expectations from contributors](#expectations-from-contributors)
3839

3940
## Find a Buddy and get Started Quickly
@@ -272,6 +273,18 @@ Below is a checklist of things to be mindful of when implementing a new instrume
272273
- ex. <https://github.com/open-telemetry/opentelemetry-python-contrib/blob/60fb936b7e5371b3e5587074906c49fb873cbd76/instrumentation/opentelemetry-instrumentation-grpc/tests/test_aio_server_interceptor.py#L84>
273274
- All instrumentations have the same version. If you are going to develop a new instrumentation it would probably have `X.Y.dev` version and depends on `opentelemetry-instrumentation` and `opentelemetry-semantic-conventions` for the same version. That means that if you want to install your instrumentation you need to install its dependencies from this repo and the core repo also from git.
274275

276+
## Guidance for GenAI instrumentations
277+
278+
Instrumentations that relate to [Generative AI](https://opentelemetry.io/docs/specs/semconv/gen-ai/) systems will be placed in the [genai](./instrumentation/genai) folder. This section covers contributions related to those instrumentations. Please note that the [guidelines for instrumentations](#guideline-for-instrumentations) and [expectations from contributors](#expectations-from-contributors) still apply.
279+
280+
### Get Involved
281+
282+
* Reviewing PRs: If you would like to be tagged as reviewer in new PRs related to these instrumentations, please submit a PR to add your GitHub handle to [component_owners.yml](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/2944/.github/component_owners.yml) under the corresponding instrumentation folder(s).
283+
284+
* Approving PRs: If you would like to be able to approve PRs related to these instrumentations, you must join [opentelemetry-python-contrib-approvers](https://github.com/orgs/open-telemetry/teams/opentelemetry-python-contrib-approvers) team. Please ask one of the [Python contrib maintainers](https://github.com/orgs/open-telemetry/teams/opentelemetry-python-contrib-maintainers) to be accepted into the team.
285+
286+
* Tracking and Creating Issues: For tracking issues related to Generative AI, please filter or add the label [gen-ai](https://github.com/open-telemetry/opentelemetry-python-contrib/issues?q=is%3Aopen+is%3Aissue+label%3Agen-ai) when creating or searching issues. If you do not see an issue related to an instrumentation you would like to contribute to, please create a new tracking issue so the community is aware of its progress.
287+
275288
## Expectations from contributors
276289

277290
OpenTelemetry is an open source community, and as such, greatly encourages contributions from anyone interested in the project. With that being said, there is a certain level of expectation from contributors even after a pull request is merged, specifically pertaining to instrumentations. The OpenTelemetry Python community expects contributors to maintain a level of support and interest in the instrumentations they contribute. This is to ensure that the instrumentation does not become stale and still functions the way the original contributor intended. Some instrumentations also pertain to libraries that the current members of the community are not so familiar with, so it is necessary to rely on the expertise of the original contributing parties.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,14 @@ Emeritus Approvers:
133133
Maintainers ([@open-telemetry/python-maintainers](https://github.com/orgs/open-telemetry/teams/python-maintainers)):
134134

135135
- [Aaron Abbott](https://github.com/aabmass), Google
136-
- [Diego Hurtado](https://github.com/ocelotl), Lightstep
137136
- [Leighton Chen](https://github.com/lzchen), Microsoft
138137
- [Riccardo Magliocchetti](https://github.com/xrmx), Elastic
139138
- [Shalev Roda](https://github.com/shalevr), Cisco
140139

141140
Emeritus Maintainers:
142141

143142
- [Alex Boten](https://github.com/codeboten), Lightstep
143+
- [Diego Hurtado](https://github.com/ocelotl), Lightstep
144144
- [Owais Lone](https://github.com/owais), Splunk
145145
- [Yusuke Tsutsumi](https://github.com/toumorokoshi), Google
146146

RELEASING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
> - opentelemetry-propagator-aws-xray
2020
> - opentelemetry-resource-detector-azure
2121
> - opentelemetry-sdk-extension-aws
22-
>
22+
> - opentelemetry-instrumentation-openai-v2
2323
> These libraries are also excluded from the general release.
2424
2525
Package release preparation is handled by the [`[Package] Prepare release`](./.github/workflows/package-prepare-release.yml) workflow that allows
@@ -70,6 +70,7 @@ The workflow can only be run against long-term release branch such as `package-r
7070
> - opentelemetry-propagator-aws-xray
7171
> - opentelemetry-resource-detector-azure
7272
> - opentelemetry-sdk-extension-aws
73+
> - opentelemetry-instrumentation-openai-v2
7374
>
7475
> These libraries are also excluded from the general patch release.
7576

0 commit comments

Comments
 (0)