Skip to content

Commit ac20cf2

Browse files
authored
Correcting profiling URL (#38)
1 parent 90cd629 commit ac20cf2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

middleware/lib/_profiler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def collect_profiling(service_name, access_token="") -> None:
2828
account = data["data"]["account"]
2929

3030
# Setting Middleware Profiling Server URL
31-
default_profiling_server_url = f'https://{account}.middleware.io'
31+
default_profiling_server_url = f'https://{account}.middleware.io/profiling'
3232
profiling_server_url = os.getenv('MW_PROFILING_SERVER_URL', default_profiling_server_url)
3333

3434
pyroscope.configure(

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
setuptools.setup(
2121
name="middleware-apm",
22-
version="0.5.0rc1",
22+
version="0.5.0rc2",
2323
install_requires=requirements,
2424
author="middleware-dev",
2525
maintainer="middleware-dev",

0 commit comments

Comments
 (0)