Skip to content

Commit 1ca1ddc

Browse files
committed
Bump to opentelemetry-opamp-client 0.2b0
1 parent fd8f853 commit 1ca1ddc

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

dev-requirements.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@
44
#
55
# pip-compile --extra=dev --output-file=dev-requirements.txt --strip-extras pyproject.toml
66
#
7-
build==1.4.0
7+
build==1.4.2
88
# via pip-tools
99
certifi==2026.2.25
1010
# via requests
11-
charset-normalizer==3.4.5
11+
charset-normalizer==3.4.6
1212
# via requests
1313
click==8.1.8
1414
# via pip-tools
1515
exceptiongroup==1.3.1
1616
# via pytest
17-
googleapis-common-protos==1.73.0
17+
googleapis-common-protos==1.73.1
1818
# via
1919
# opentelemetry-exporter-otlp-proto-grpc
2020
# opentelemetry-exporter-otlp-proto-http
21-
grpcio==1.78.0
21+
grpcio==1.80.0
2222
# via
2323
# opentelemetry-exporter-otlp-proto-grpc
2424
# oteltest
@@ -60,7 +60,7 @@ opentelemetry-instrumentation==0.61b0
6060
# opentelemetry-instrumentation-system-metrics
6161
opentelemetry-instrumentation-system-metrics==0.61b0
6262
# via elastic-opentelemetry (pyproject.toml)
63-
opentelemetry-opamp-client==0.1b0
63+
opentelemetry-opamp-client==0.2b0
6464
# via elastic-opentelemetry (pyproject.toml)
6565
opentelemetry-proto==1.40.0
6666
# via
@@ -103,15 +103,15 @@ pip-tools==7.5.3
103103
# via elastic-opentelemetry (pyproject.toml)
104104
pluggy==1.6.0
105105
# via pytest
106-
protobuf==6.33.5
106+
protobuf==6.33.6
107107
# via
108108
# googleapis-common-protos
109109
# opentelemetry-opamp-client
110110
# opentelemetry-proto
111111
# oteltest
112112
psutil==7.2.2
113113
# via opentelemetry-instrumentation-system-metrics
114-
pygments==2.19.2
114+
pygments==2.20.0
115115
# via pytest
116116
pyproject-hooks==1.2.0
117117
# via
@@ -123,7 +123,7 @@ requests==2.32.5
123123
# via
124124
# opentelemetry-exporter-otlp-proto-http
125125
# opentelemetry-resourcedetector-gcp
126-
tomli==2.4.0
126+
tomli==2.4.1
127127
# via
128128
# build
129129
# pip-tools

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dependencies = [
3737
"opentelemetry-sdk == 1.40.0",
3838
"opentelemetry-sdk-extension-aws ~= 2.1.0",
3939
"opentelemetry-semantic-conventions == 0.61b0",
40-
"opentelemetry-opamp-client == 0.1b0",
40+
"opentelemetry-opamp-client == 0.2b0",
4141
"packaging",
4242
"uuid-utils",
4343
]

src/elasticotel/distro/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from opentelemetry import trace
2727
from opentelemetry._opamp import messages
2828
from opentelemetry._opamp.agent import OpAMPAgent
29-
from opentelemetry._opamp.callbacks import Callbacks, MessageData
29+
from opentelemetry._opamp.callbacks import OpAMPCallbacks, MessageData
3030
from opentelemetry._opamp.client import OpAMPClient
3131
from opentelemetry._opamp.exceptions import (
3232
OpAMPRemoteConfigDecodeException,
@@ -254,7 +254,7 @@ def _get_config():
254254
return _config
255255

256256

257-
class EDOTOpAMPCallbacks(Callbacks):
257+
class EDOTOpAMPCallbacks(OpAMPCallbacks):
258258
def on_message(self, agent: OpAMPAgent, client: OpAMPClient, message: MessageData):
259259
# we check config_hash because we need to track last received config and remote_config seems to be always truthy
260260
if not message.remote_config or not message.remote_config.config_hash:

tests/opamp/test_e2e.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import pytest
2323

2424
from opentelemetry._opamp.agent import OpAMPAgent
25-
from opentelemetry._opamp.callbacks import Callbacks
25+
from opentelemetry._opamp.callbacks import OpAMPCallbacks
2626
from opentelemetry._opamp.client import OpAMPClient
2727
from opentelemetry._opamp.proto import opamp_pb2 as opamp_pb2
2828
from elasticotel.distro.config import EDOTOpAMPCallbacks
@@ -33,7 +33,7 @@
3333
def test_connection_remote_config_status_heartbeat_disconnection(caplog):
3434
caplog.set_level(logging.DEBUG, logger="opentelemetry._opamp.agent")
3535

36-
class TestCallbacks(Callbacks):
36+
class TestCallbacks(OpAMPCallbacks):
3737
def on_message(self, agent, client, message):
3838
logger = logging.getLogger("opentelemetry._opamp.agent.opamp_handler")
3939

0 commit comments

Comments
 (0)