Skip to content

Commit c7ec791

Browse files
authored
Merge pull request #45 from middleware-labs/profiling-hotfix
update profiling for multiple projects
2 parents b05652b + 5c84006 commit c7ec791

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

middleware/lib/_profiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def collect_profiling() -> None:
2727

2828
# Checking if a tenantID could be fetched from API Key
2929
if data["success"]:
30-
account = data["data"]["account"]
30+
account = data["data"]["project_uid"]
3131

3232
# Setting Middleware Profiling Server URL
3333
default_profiling_server_url = f'https://{account}.middleware.io/profiling'

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "middleware-apm"
7-
version = "1.2.0"
7+
version = "1.2.1"
88
description = "Middleware's APM tool enables Python developers to effortlessly monitor their applications, gathering distributed tracing, metrics, logs, and profiling data for valuable insights and performance optimization."
99
readme = "README.md"
1010
requires-python = ">=3.8"

0 commit comments

Comments
 (0)