Skip to content

Commit

Permalink
fix_setup (#2444)
Browse files Browse the repository at this point in the history
  • Loading branch information
Killklli authored Feb 4, 2025
1 parent 3cf6f02 commit cd43cb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion racetime_bot/randobot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# Define a resource to identify your service
resource = Resource(
attributes={
"service.name": "discord_bot",
"service.name": "racetime_bot",
"service.version": "1.0",
"deployment.environment": os.environ.get("BRANCH", "LOCAL"),
"container.id": next((l.rsplit("/", 1)[-1] for l in open("/proc/self/cgroup") if "docker" in l), "") if os.path.exists("/proc/self/cgroup") else "",
Expand Down
2 changes: 2 additions & 0 deletions racetime_bot/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
"isodate>=0.6.1,<0.7",
"racetime_bot>=1.5.0,<3.0",
"requests>=2.25.1,<3.0",
"opentelemetry-exporter-otlp-proto-http",
"opentelemetry-instrumentation-requests",
],
packages=find_packages(),
entry_points={
Expand Down

0 comments on commit cd43cb9

Please sign in to comment.