Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
123f556
Fix a few bugs in `opentelemetry-instrumentation-google-genai` instru…
DylanRussell Nov 12, 2025
4f89e75
fix: suppress ruff PLC0415 for conditional gevent import (#3842)
lukeina2z Nov 13, 2025
8356368
pymongo: for CommandFailedEvent use the errmsg as the status descript…
toshok Nov 13, 2025
8297dde
Replace asyncio.iscoroutinefunction with inspect.iscoroutinefunction …
phillipuniverse Nov 13, 2025
3b97e36
Add environment variable for genai upload hook queue size (#3943)
aabmass Nov 14, 2025
fcbe18d
opentelemetry-instrumentation-pymongo: fix invalid mongodb collection…
herin049 Nov 18, 2025
1d97282
opentelemetry-instrumentation-redis: add default span name for pipeli…
herin049 Nov 18, 2025
96a9d0f
GenAI Utils | Add more SemConv Attributes (#3862)
keith-decker Nov 19, 2025
03c39cf
opentelemetry-instrumentation-aiohttp-client: update instrumentor to …
herin049 Nov 20, 2025
4421670
opentelemetry-instrumentation-redis: implement suppression of instrum…
Elyahou Nov 20, 2025
ccea42c
opentelemetry-instrumentation-aiohttp-client: fix metric attribute le…
herin049 Nov 20, 2025
38bc548
Rename InMemoryLogExporter to InMemoryLogRecordExporter (#3589)
hectorhdzg Nov 21, 2025
e95c19d
Fix FlaskInstrumentor exemplars generation for http.server.(request.)…
tammy-baylis-swi Nov 21, 2025
337a986
openai-v2: Fix service tier attribute names (#3952)
vasantteja Nov 24, 2025
015163c
opentelemetry-instrumentation-django: improve docs for response_hook …
piotrjez Nov 24, 2025
185502b
Add lmolkova to approvers (#3960)
aabmass Nov 24, 2025
a2ca6af
Add Support for Detecting Synthetic Source (#3674)
JacksonWeber Nov 24, 2025
2d8ee8e
openai-v2: handle NotGiven values in request parameters (#3926)
xrmx Nov 25, 2025
3335e96
Update opentelemetry-instrumentation-openai-v2 version to v2.3b0 (#3970)
otelbot[bot] Nov 25, 2025
c284e22
instrumentation-google-genai: simplify event attributes assertions in…
xrmx Nov 25, 2025
5279805
opentelemetry-instrumentation: add support to skip all the available …
xrmx Nov 25, 2025
77170ea
add missing copyright header for opentelemetry-instrumentation-redis …
pmeier Nov 28, 2025
51b7f0c
chore: rename changelog and contributing files to avoid conflicts
Cirilla-zmh Dec 2, 2025
5a01929
Merge remote-tracking branch 'otel/main' into chore/sync-otel-20251202
Cirilla-zmh Dec 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def get_contrib_job_datas(tox_envs: list) -> list:

contrib_job_datas.append(
{
"ui_name": (f"{groups['name']}" f"{contrib_requirements}"),
"ui_name": (f"{groups['name']}{contrib_requirements}"),
"tox_env": tox_env,
}
)
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.6.9
rev: v0.14.1
hooks:
# Run the linter.
- id: ruff
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG-loongsuite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Changelog for LoongSuite

All notable changes to loongsuite components will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

> [!NOTE]
> The following components are released independently and maintain individual CHANGELOG files.
> Use [this search for a list of all CHANGELOG-loongsuite.md files in this repo](https://github.com/search?q=repo%3Aalibaba%2Floongsuite-python-agent+path%3A**%2FCHANGELOG-loongsuite.md&type=code).

## Unreleased

# Added

- `loongsuite-instrumentation-mem0`: add support for mem0
([#67](https://github.com/alibaba/loongsuite-python-agent/pull/67))
2,197 changes: 0 additions & 2,197 deletions CHANGELOG-upstream.md

This file was deleted.

2,219 changes: 2,213 additions & 6 deletions CHANGELOG.md

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions README-upstream.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ For more information about the maintainer role, see the [community repository](h
- [Dylan Russell](https://github.com/dylanrussell), Google
- [Emídio Neto](https://github.com/emdneto), PicPay
- [Jeremy Voss](https://github.com/jeremydvoss), Microsoft
- [Liudmila Molkova](https://github.com/lmolkova), Grafana Labs
- [Owais Lone](https://github.com/owais), Splunk
- [Pablo Collins](https://github.com/pmcollins), Splunk
- [Sanket Mehta](https://github.com/sanketmehta28), Cisco
Expand Down
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ ruamel.yaml==0.17.21
flaky==3.7.0
pre-commit==3.7.0; python_version >= '3.9'
pre-commit==3.5.0; python_version < '3.9'
ruff==0.6.9
ruff==0.14.1
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ def test_parse_metric(metric, prom_rw):
"bool_value": True,
}

assert (
len(metric.data.data_points) == 1
), "We can only support a single datapoint in tests"
assert len(metric.data.data_points) == 1, (
"We can only support a single datapoint in tests"
)
series = prom_rw._parse_metric(metric, tuple(attributes.items()))
timestamp = metric.data.data_points[0].time_unix_nano // 1_000_000
for single_series in series:
Expand Down
2 changes: 1 addition & 1 deletion gen-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
astor==0.8.1
jinja2==3.1.6
markupsafe==2.0.1
ruff==0.6.9
ruff==0.14.1
requests
tomli
tomli_w
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

- Minor change to check LRU cache in Completion Hook before acquiring semaphore/thread ([#3907](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/3907)).
- Ensure log event is written and completion hook is called even when model call results in exception. Put new
log event (` gen_ai.client.inference.operation.details`) behind the flag `OTEL_SEMCONV_STABILITY_OPT_IN=gen_ai_latest_experimental`.
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)).

## Version 0.4b0 (2025-10-16)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def _flatten_compound_value_using_json(
)


def _flatten_compound_value(
def _flatten_compound_value( # pylint: disable=too-many-return-statements
key: str,
value: Any,
exclude_keys: Set[str],
Expand Down Expand Up @@ -189,13 +189,16 @@ def _flatten_compound_value(
flatten_functions=flatten_functions,
)
if hasattr(value, "model_dump"):
return _flatten_dict(
value.model_dump(),
key_prefix=key,
exclude_keys=exclude_keys,
rename_keys=rename_keys,
flatten_functions=flatten_functions,
)
try:
return _flatten_dict(
value.model_dump(),
key_prefix=key,
exclude_keys=exclude_keys,
rename_keys=rename_keys,
flatten_functions=flatten_functions,
)
except TypeError:
return {key: str(value)}
return _flatten_compound_value_using_json(
key,
value,
Expand Down
Loading
Loading