Skip to content

Commit

Permalink
bumping version and changing Resource creation to match docs
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanDietzMorris committed Nov 4, 2024
1 parent 6f87ab1 commit eaa6457
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions PLATER/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ httpx==0.27.2
pytest-httpx==0.32.0
pydantic==1.10.2
orjson==3.10.7
opentelemetry-sdk==1.25.0
opentelemetry-exporter-otlp-proto-grpc==1.25.0
opentelemetry-instrumentation-fastapi==0.46b0
opentelemetry-sdk==1.27.0
opentelemetry-exporter-otlp-proto-grpc==1.27.0
opentelemetry-instrumentation-fastapi==0.48b0
pyinstrument==4.7.3
neo4j==5.22.0
2 changes: 1 addition & 1 deletion PLATER/services/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from opentelemetry.exporter.otlp.proto.grpc.trace_exporter import OTLPSpanExporter

plater_service_name = PLATER_TITLE
resource = Resource(attributes={
resource = Resource.create(attributes={
SERVICE_NAME: config.get("OTEL_SERVICE_NAME", plater_service_name),
})
provider = TracerProvider(resource=resource)
Expand Down

0 comments on commit eaa6457

Please sign in to comment.