Skip to content

Commit e14db62

Browse files
authored
chore: bump otel api to 1.27.0 and instrumentation to 0.48 (#24)
1 parent 8a85093 commit e14db62

File tree

15 files changed

+485
-551
lines changed

15 files changed

+485
-551
lines changed

DEVELOPING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ In the smoke-tests directory there exists a `docker-compose.yml` to run in Docke
3030
Because each example uses the same port, either comment out the other apps in the docker-compose file, or specify the app to run:
3131

3232
```bash
33-
cd smoke-tests && docker-compose up --build app-sdk-grpc
33+
cd smoke-tests && docker compose up --build app-sdk-grpc
3434
```
3535

3636
## Testing

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,14 @@ smoke:
9393
@echo ""
9494
@echo "+++ Temporary Placeholder."
9595
@echo ""
96-
cd smoke-tests && docker-compose up --build app-sdk-grpc
96+
cd smoke-tests && docker compose up --build app-sdk-grpc
9797

9898
#: placeholder for smoke tests, tear down the app
9999
unsmoke:
100100
@echo ""
101101
@echo "+++ Spinning down the smokers."
102102
@echo ""
103-
cd smoke-tests && docker-compose down --volumes
103+
cd smoke-tests && docker compose down --volumes
104104

105105
EXAMPLE_SERVICE_NAME ?= otel-python-example
106106
run_example: export OTEL_SERVICE_NAME := $(EXAMPLE_SERVICE_NAME)

examples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ We have the HONEYCOMB_API_ENDPOINT set to an OpenTelemetry Collector. This can b
3232
Because each example uses the same port, either comment out the other apps in the docker-compose file, or specify the app and protocol to run:
3333

3434
```bash
35-
cd smoke-tests && docker-compose up --build app-sdk-grpc
35+
cd smoke-tests && docker compose up --build app-sdk-grpc
3636
```

examples/hello-world-django/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ readme = "README.md"
99
python = "^3.11"
1010
django = "^5.0.1"
1111
hyperdx-opentelemetry = {path = "../../", develop = true}
12-
opentelemetry-api = "1.22.0"
13-
opentelemetry-instrumentation = "0.43b0"
12+
opentelemetry-api = "1.27.0"
13+
opentelemetry-instrumentation = "0.48b0"
1414

1515
[build-system]
1616
requires = ["poetry-core"]

examples/hello-world-flask/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# to be run with docker-compose in smoke-tests directory
1+
# to be run with docker compose in smoke-tests directory
22
FROM python:3.10-slim
33

44
WORKDIR /app

examples/hello-world-flask/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ python = "^3.10"
1010
flask = "2.2.5"
1111
Werkzeug = "2.2.2"
1212
hyperdx-opentelemetry = {path = "../../", develop = true}
13-
opentelemetry-api = "1.22.0"
14-
opentelemetry-instrumentation-flask = "0.43b0"
13+
opentelemetry-api = "1.27.0"
14+
opentelemetry-instrumentation-flask = "0.48b0"
1515

1616
[build-system]
1717
requires = ["poetry-core"]

examples/hello-world/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# to be run with docker-compose in smoke-tests directory
1+
# to be run with docker compose in smoke-tests directory
22
FROM python:3.10-slim
33

44
WORKDIR /app
@@ -25,4 +25,4 @@ RUN cd ./examples/hello-world && poetry install
2525

2626
# From this point forward, we're operating on the example app.
2727
WORKDIR /app/examples/hello-world
28-
CMD ["python", "app.py"]
28+
CMD ["python", "app.py"]

examples/hello-world/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ readme = "README.md"
88
[tool.poetry.dependencies]
99
python = "^3.10"
1010
hyperdx-opentelemetry = {path = "../../", develop = true}
11-
opentelemetry-api = "1.22.0"
11+
opentelemetry-api = "1.27.0"
1212

1313
[build-system]
1414
requires = ["poetry-core"]

poetry.lock

Lines changed: 444 additions & 510 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[tool.poetry]
22
name = "hyperdx-opentelemetry"
3-
version = "0.1.0"
3+
version = "0.2.0"
44
description = "HyperDX OpenTelemetry Distro for Python"
55
authors = ["HyperDX <[email protected]>"]
66
readme = "README.md"
77
packages = [{include = "hyperdx", from = "src" }]
88

99
[tool.poetry.dependencies]
10-
python = "^3.7, >= 3.7.2"
11-
opentelemetry-api = "1.22.0"
12-
opentelemetry-sdk = "1.22.0"
13-
opentelemetry-exporter-otlp = "1.22.0"
14-
opentelemetry-instrumentation = "0.43b0"
10+
python = ">= 3.8"
11+
opentelemetry-api = "1.27.0"
12+
opentelemetry-sdk = "1.27.0"
13+
opentelemetry-exporter-otlp = "1.27.0"
14+
opentelemetry-instrumentation = "0.48b0"
1515

1616
[tool.poetry.group.dev.dependencies]
1717
coverage = ">=6.5,<8.0"

0 commit comments

Comments
 (0)