Skip to content

Commit 344dcc3

Browse files
docs(google-genai): add changelog entry for config recording docs
Signed-off-by: RiyaChaturvedi37 <chaturvediriya37@gmail.com>
1 parent 4cbeb1c commit 344dcc3

1 file changed

Lines changed: 55 additions & 53 deletions

File tree

  • instrumentation-genai/opentelemetry-instrumentation-google-genai
Lines changed: 55 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,55 @@
1-
# Changelog
2-
3-
All notable changes to this project will be documented in this file.
4-
5-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7-
8-
## Unreleased
9-
10-
## Version 0.7b0 (2026-02-20)
11-
- Fix bug in how tokens are counted when using the streaming `generateContent` method. ([#4152](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4152)).
12-
- Add `gen_ai.tool.definitions` attribute to `gen_ai.client.inference.operation.details` log event ([#4142](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4142)).
13-
- Add `gen_ai.tool_definitions` to completion hook ([#4181](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4181))
14-
15-
16-
## Version 0.6b0 (2026-01-27)
17-
18-
- Enable the addition of custom attributes to the `generate_content {model.name}` span via the Context API. ([#3961](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3961)).
19-
- Enable the addition of custom attributes to `gen_ai.client.inference.operation.details` log events ([#4103](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4103)).
20-
21-
## Version 0.5b0 (2025-12-11)
22-
23-
- Ensure log event is written and completion hook is called even when model call results in exception. Put new
24-
log event (` gen_ai.client.inference.operation.details`) behind the flag `OTEL_SEMCONV_STABILITY_OPT_IN=gen_ai_latest_experimental`.
25-
Ensure same sem conv attributes are on the log and span. Fix an issue where the instrumentation would crash when a pydantic.BaseModel class was passed as the response schema ([#3905](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3905)).
26-
- Add the `GEN_AI_OUTPUT_TYPE` sem conv request attributes to events/spans generated in the stable instrumentation. This was added pre sem conv 1.36 so it should be in the stable instrumentation. Fix a bug in how system instructions were recorded in the `gen_ai.system.message` log event. It will now always be recorded as `{"content" : "text of system instructions"}`. See ([#4011](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4011)).
27-
28-
## Version 0.4b0 (2025-10-16)
29-
30-
- Implement the new semantic convention changes made in https://github.com/open-telemetry/semantic-conventions/pull/2179.
31-
A single event (`gen_ai.client.inference.operation.details`) is used to capture Chat History. This is opt-in,
32-
an environment variable OTEL_SEMCONV_STABILITY_OPT_IN needs to be set to `gen_ai_latest_experimental` to see them ([#3386](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3386))
33-
- Support CompletionHook for upload to cloud storage.
34-
35-
## Version 0.3b0 (2025-07-08)
36-
37-
- Add automatic instrumentation to tool call functions ([#3446](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3446))
38-
39-
## Version 0.2b0 (2025-04-28)
40-
41-
- Add more request configuration options to the span attributes ([#3374](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3374))
42-
- Restructure tests to keep in line with repository conventions ([#3344](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3344))
43-
44-
- Fix [bug](https://github.com/open-telemetry/opentelemetry-python-contrib/issues/3416) where
45-
span attribute `gen_ai.response.finish_reasons` is empty ([#3417](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3417))
46-
47-
## Version 0.1b0 (2025-03-05)
48-
49-
- Add support for async and streaming.
50-
([#3298](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3298))
51-
52-
Create an initial version of Open Telemetry instrumentation for github.com/googleapis/python-genai.
53-
([#3256](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3256))
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## Unreleased
9+
10+
- Document config recording environment variables
11+
([#3438](https://github.com/open-telemetry/opentelemetry-python-contrib/issues/3438))
12+
## Version 0.7b0 (2026-02-20)
13+
- Fix bug in how tokens are counted when using the streaming `generateContent` method. ([#4152](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4152)).
14+
- Add `gen_ai.tool.definitions` attribute to `gen_ai.client.inference.operation.details` log event ([#4142](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4142)).
15+
- Add `gen_ai.tool_definitions` to completion hook ([#4181](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4181))
16+
17+
18+
## Version 0.6b0 (2026-01-27)
19+
20+
- Enable the addition of custom attributes to the `generate_content {model.name}` span via the Context API. ([#3961](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3961)).
21+
- Enable the addition of custom attributes to `gen_ai.client.inference.operation.details` log events ([#4103](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4103)).
22+
23+
## Version 0.5b0 (2025-12-11)
24+
25+
- Ensure log event is written and completion hook is called even when model call results in exception. Put new
26+
log event (` gen_ai.client.inference.operation.details`) behind the flag `OTEL_SEMCONV_STABILITY_OPT_IN=gen_ai_latest_experimental`.
27+
Ensure same sem conv attributes are on the log and span. Fix an issue where the instrumentation would crash when a pydantic.BaseModel class was passed as the response schema ([#3905](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3905)).
28+
- Add the `GEN_AI_OUTPUT_TYPE` sem conv request attributes to events/spans generated in the stable instrumentation. This was added pre sem conv 1.36 so it should be in the stable instrumentation. Fix a bug in how system instructions were recorded in the `gen_ai.system.message` log event. It will now always be recorded as `{"content" : "text of system instructions"}`. See ([#4011](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/4011)).
29+
30+
## Version 0.4b0 (2025-10-16)
31+
32+
- Implement the new semantic convention changes made in https://github.com/open-telemetry/semantic-conventions/pull/2179.
33+
A single event (`gen_ai.client.inference.operation.details`) is used to capture Chat History. This is opt-in,
34+
an environment variable OTEL_SEMCONV_STABILITY_OPT_IN needs to be set to `gen_ai_latest_experimental` to see them ([#3386](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3386))
35+
- Support CompletionHook for upload to cloud storage.
36+
37+
## Version 0.3b0 (2025-07-08)
38+
39+
- Add automatic instrumentation to tool call functions ([#3446](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3446))
40+
41+
## Version 0.2b0 (2025-04-28)
42+
43+
- Add more request configuration options to the span attributes ([#3374](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3374))
44+
- Restructure tests to keep in line with repository conventions ([#3344](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3344))
45+
46+
- Fix [bug](https://github.com/open-telemetry/opentelemetry-python-contrib/issues/3416) where
47+
span attribute `gen_ai.response.finish_reasons` is empty ([#3417](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3417))
48+
49+
## Version 0.1b0 (2025-03-05)
50+
51+
- Add support for async and streaming.
52+
([#3298](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3298))
53+
54+
Create an initial version of Open Telemetry instrumentation for github.com/googleapis/python-genai.
55+
([#3256](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3256))

0 commit comments

Comments
 (0)