Skip to content

Commit e1756eb

Browse files
authored
fixed ImportError in opentelemetry and typo in README (#139)
* fixed ImportError in opentelemetry * Fixed typo in README.md.
1 parent 44662d7 commit e1756eb

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

fastapi_template/template/{{cookiecutter.project_name}}/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ $ tree "{{cookiecutter.project_name}}"
5151
├── conftest.py # Fixtures for all tests.
5252
{%- if cookiecutter.db_info.name != "none" %}
5353
├── db # module contains db configurations
54-
│   ├── dao # Data Access Objects. Contains different classes to inteact with database.
54+
│   ├── dao # Data Access Objects. Contains different classes to interact with database.
5555
│   └── models # Package contains different models for ORMs.
5656
{%- endif %}
5757
├── __main__.py # Startup script. Starts uvicorn.

fastapi_template/template/{{cookiecutter.project_name}}/pyproject.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -92,25 +92,25 @@ prometheus-fastapi-instrumentator = "5.9.1"
9292
sentry-sdk = "^1.9.9"
9393
{%- endif %}
9494
{%- if cookiecutter.otlp_enabled == "True" %}
95-
opentelemetry-api = "^1.13.0"
96-
opentelemetry-sdk = "^1.13.0"
97-
opentelemetry-exporter-otlp = "^1.13.0"
98-
opentelemetry-instrumentation = "^0.34b0"
99-
opentelemetry-instrumentation-fastapi = "^0.34b0"
95+
opentelemetry-api = "^1.15.0"
96+
opentelemetry-sdk = "^1.15.0"
97+
opentelemetry-exporter-otlp = "^1.15.0"
98+
opentelemetry-instrumentation = "^0.36b0"
99+
opentelemetry-instrumentation-fastapi = "^0.36b0"
100100
{%- if cookiecutter.enable_loguru != "True" %}
101-
opentelemetry-instrumentation-logging = "^0.34b0"
101+
opentelemetry-instrumentation-logging = "^0.36b0"
102102
{%- endif %}
103103
{%- if cookiecutter.enable_redis == "True" %}
104-
opentelemetry-instrumentation-redis = "^0.34b0"
104+
opentelemetry-instrumentation-redis = "^0.36b0"
105105
{%- endif %}
106106
{%- if cookiecutter.db_info.name == "postgresql" and cookiecutter.orm in ["ormar", "tortoise"] %}
107-
opentelemetry-instrumentation-asyncpg = "^0.34b0"
107+
opentelemetry-instrumentation-asyncpg = "^0.36b0"
108108
{%- endif %}
109109
{%- if cookiecutter.orm == "sqlalchemy" %}
110-
opentelemetry-instrumentation-sqlalchemy = "^0.34b0"
110+
opentelemetry-instrumentation-sqlalchemy = "^0.36b0"
111111
{%- endif %}
112112
{%- if cookiecutter.enable_rmq == "True" %}
113-
opentelemetry-instrumentation-aio-pika = "^0.34b0"
113+
opentelemetry-instrumentation-aio-pika = "^0.36b0"
114114
{%- endif %}
115115
{%- endif %}
116116
{%- if cookiecutter.enable_loguru == "True" %}

0 commit comments

Comments
 (0)