Skip to content

Commit 4dff26d

Browse files
Merge branch 'main' into otlp-http-metrics-export-max-batch
2 parents 5b4efdd + 14401e1 commit 4dff26d

File tree

68 files changed

+2160
-332
lines changed

Some content is hidden

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

68 files changed

+2160
-332
lines changed

CHANGELOG.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
- Add configurable `max_export_batch_size` to OTLP HTTP metrics exporter
11+
([#4576](https://github.com/open-telemetry/opentelemetry-python/pull/4576))
12+
13+
## Version 1.35.0/0.56b0 (2025-07-11)
14+
1015
- Update OTLP proto to v1.7 [#4645](https://github.com/open-telemetry/opentelemetry-python/pull/4645).
1116
- Add `event_name` as a top level field in the `LogRecord`. Events are now simply logs with the
1217
`event_name` field set, the logs SDK should be used to emit events ([#4652](https://github.com/open-telemetry/opentelemetry-python/pull/4652)).
@@ -25,7 +30,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2530
- Update logger level to NOTSET in logs example
2631
([#4637](https://github.com/open-telemetry/opentelemetry-python/pull/4637))
2732
- Logging API accepts optional `context`; deprecates `trace_id`, `span_id`, `trace_flags`.
28-
([#4597](https://github.com/open-telemetry/opentelemetry-python/pull/4597))
33+
([#4597](https://github.com/open-telemetry/opentelemetry-python/pull/4597)) and
34+
([#4668](https://github.com/open-telemetry/opentelemetry-python/pull/4668))
2935
- sdk: use context instead of trace_id,span_id for initializing LogRecord
3036
([#4653](https://github.com/open-telemetry/opentelemetry-python/pull/4653))
3137
- Rename LogRecordProcessor.emit to on_emit
@@ -34,8 +40,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3440
([#4649](https://github.com/open-telemetry/opentelemetry-python/pull/4649))
3541
- proto: relax protobuf version requirement to support v6
3642
([#4620](https://github.com/open-telemetry/opentelemetry-python/pull/4620))
37-
- Add configurable `max_export_batch_size` to OTLP HTTP metrics exporter
38-
([#4576](https://github.com/open-telemetry/opentelemetry-python/pull/4576))
43+
- Bump semantic-conventions to 1.36.0
44+
([#4669](https://github.com/open-telemetry/opentelemetry-python/pull/4669))
45+
- Set expected User-Agent in HTTP headers for grpc OTLP exporter
46+
([#4658](https://github.com/open-telemetry/opentelemetry-python/pull/4658))
3947

4048
## Version 1.34.0/0.55b0 (2025-06-04)
4149

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -118,26 +118,26 @@ For more information about the approver role, see the [community repository](htt
118118

119119
### Emeritus Maintainers
120120

121-
- [Alex Boten](https://github.com/codeboten), Lightstep
122-
- [Chris Kleinknecht](https://github.com/c24t), Google
123-
- [Owais Lone](https://github.com/owais), Splunk
124-
- [Reiley Yang](https://github.com/reyang), Microsoft
125-
- [Srikanth Chekuri](https://github.com/srikanthccv), signoz.io
126-
- [Yusuke Tsutsumi](https://github.com/toumorokoshi), Google
121+
- [Alex Boten](https://github.com/codeboten)
122+
- [Chris Kleinknecht](https://github.com/c24t)
123+
- [Owais Lone](https://github.com/owais)
124+
- [Reiley Yang](https://github.com/reyang)
125+
- [Srikanth Chekuri](https://github.com/srikanthccv)
126+
- [Yusuke Tsutsumi](https://github.com/toumorokoshi)
127127

128128
For more information about the emeritus role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#emeritus-maintainerapprovertriager).
129129

130130
### Emeritus Approvers
131131

132-
- [Ashutosh Goel](https://github.com/ashu658), Cisco
133-
- [Carlos Alberto Cortez](https://github.com/carlosalberto), Lightstep
134-
- [Christian Neumüller](https://github.com/Oberon00), Dynatrace
135-
- [Héctor Hernández](https://github.com/hectorhdzg), Microsoft
136-
- [Mauricio Vásquez](https://github.com/mauriciovasquezbernal), Kinvolk
137-
- [Nathaniel Ruiz Nowell](https://github.com/NathanielRN), AWS
138-
- [Nikolay Sokolik](https://github.com/oxeye-nikolay), Oxeye
139-
- [Sanket Mehta](https://github.com/sanketmehta28), Cisco
140-
- [Tahir H. Butt](https://github.com/majorgreys), DataDog
132+
- [Ashutosh Goel](https://github.com/ashu658)
133+
- [Carlos Alberto Cortez](https://github.com/carlosalberto)
134+
- [Christian Neumüller](https://github.com/Oberon00)
135+
- [Héctor Hernández](https://github.com/hectorhdzg)
136+
- [Mauricio Vásquez](https://github.com/mauriciovasquezbernal)
137+
- [Nathaniel Ruiz Nowell](https://github.com/NathanielRN)
138+
- [Nikolay Sokolik](https://github.com/oxeye-nikolay)
139+
- [Sanket Mehta](https://github.com/sanketmehta28)
140+
- [Tahir H. Butt](https://github.com/majorgreys)
141141

142142
For more information about the emeritus role, see the [community repository](https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md#emeritus-maintainerapprovertriager).
143143

eachdist.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sortfirst=
1111
exporter/*
1212

1313
[stable]
14-
version=1.35.0.dev
14+
version=1.36.0.dev
1515

1616
packages=
1717
opentelemetry-sdk
@@ -27,7 +27,7 @@ packages=
2727
opentelemetry-api
2828

2929
[prerelease]
30-
version=0.56b0.dev
30+
version=0.57b0.dev
3131

3232
packages=
3333
opentelemetry-opentracing-shim

exporter/opentelemetry-exporter-opencensus/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dependencies = [
3030
"grpcio >= 1.63.2, < 2.0.0; python_version < '3.13'",
3131
"grpcio >= 1.66.2, < 2.0.0; python_version >= '3.13'",
3232
"opencensus-proto >= 0.1.0, < 1.0.0",
33-
"opentelemetry-api >= 1.35.0.dev",
33+
"opentelemetry-api >= 1.36.0.dev",
3434
"opentelemetry-sdk >= 1.15",
3535
"protobuf ~= 3.13",
3636
"setuptools >= 16.0",

exporter/opentelemetry-exporter-opencensus/src/opentelemetry/exporter/opencensus/version/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
__version__ = "0.56b0.dev"
15+
__version__ = "0.57b0.dev"

exporter/opentelemetry-exporter-otlp-proto-common/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ classifiers = [
2626
"Programming Language :: Python :: 3.13",
2727
]
2828
dependencies = [
29-
"opentelemetry-proto == 1.35.0.dev",
29+
"opentelemetry-proto == 1.36.0.dev",
3030
]
3131

3232
[project.urls]

exporter/opentelemetry-exporter-otlp-proto-common/src/opentelemetry/exporter/otlp/proto/common/version/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
__version__ = "1.35.0.dev"
15+
__version__ = "1.36.0.dev"

exporter/opentelemetry-exporter-otlp-proto-grpc/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ dependencies = [
3030
"grpcio >= 1.63.2, < 2.0.0; python_version < '3.13'",
3131
"grpcio >= 1.66.2, < 2.0.0; python_version >= '3.13'",
3232
"opentelemetry-api ~= 1.15",
33-
"opentelemetry-proto == 1.35.0.dev",
34-
"opentelemetry-sdk ~= 1.35.0.dev",
35-
"opentelemetry-exporter-otlp-proto-common == 1.35.0.dev",
33+
"opentelemetry-proto == 1.36.0.dev",
34+
"opentelemetry-sdk ~= 1.36.0.dev",
35+
"opentelemetry-exporter-otlp-proto-common == 1.36.0.dev",
3636
"typing-extensions >= 4.6.0",
3737
]
3838

exporter/opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,7 @@
7373
from .version import __version__
7474

7575
_USER_AGENT_HEADER_VALUE = "OTel-OTLP-Exporter-Python/" + __version__
76-
_OTLP_GRPC_HEADERS = [("user-agent", _USER_AGENT_HEADER_VALUE)]
76+
_OTLP_GRPC_CHANNEL_OPTIONS = [
77+
# this will appear in the http User-Agent header
78+
("grpc.primary_user_agent", _USER_AGENT_HEADER_VALUE)
79+
]

exporter/opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc/_log_exporter/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def __init__(
6060
] = None,
6161
timeout: Optional[float] = None,
6262
compression: Optional[Compression] = None,
63+
channel_options: Optional[TypingSequence[Tuple[str, str]]] = None,
6364
):
6465
if insecure is None:
6566
insecure = environ.get(OTEL_EXPORTER_OTLP_LOGS_INSECURE)
@@ -99,6 +100,7 @@ def __init__(
99100
"headers": headers,
100101
"timeout": timeout or environ_timeout,
101102
"compression": compression,
103+
"channel_options": channel_options,
102104
}
103105
)
104106

0 commit comments

Comments
 (0)