Skip to content

Commit

Permalink
Minor update - rename /traces/ to /trace/ to fix 307 permanently
Browse files Browse the repository at this point in the history
  • Loading branch information
aybruhm committed Apr 12, 2024
1 parent 5746d02 commit 82eee82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ async def create_traces(self, *, trace: str, spans: typing.List[CreateSpan]) ->
"""
_response = await self._client_wrapper.httpx_client.request(
"POST",
urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "observability/traces"),
urllib.parse.urljoin(f"{self._client_wrapper.get_base_url()}/", "observability/trace/"),
json=jsonable_encoder({"trace": trace, "spans": spans}),
headers=self._client_wrapper.get_headers(),
timeout=60,
Expand Down

0 comments on commit 82eee82

Please sign in to comment.