Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
fix: send empty object for params in telemetry instead of full function call (#2824)
Musthaq Ahamad committed
Mar 4, 2026 at 10:10 UTC
e3f1f6c2a984a0d0bc76ecfe828a77212f95bd01
28 files changed
+34
-32
.changeset/slow-bars-lose.md
new
+5
@@ -0,0 +1,5 @@
1
+---
2
+'@composio/core': patch
3
+---
4
+
5
+Remove telemetry payload
python/composio/core/models/base.py
+2
-2
@@ -21,7 +21,7 @@ allow_tracking = contextvars.ContextVar[bool]("allow_tracking", default=True)
21
_environment = os.getenv("ENVIRONMENT", "development")
22
23
24
-def trace_method(method: t.Callable, name: str, **attributes: t.Any) -> t.Callable:
24
+def trace_method(method: t.Callable, name: str) -> t.Callable:
25
"""Wrap a method to log the call."""
26
27
# Check if the method is a class method
@@ -39,7 +39,7 @@ def trace_method(method: t.Callable, name: str, **attributes: t.Any) -> t.Callab
39
type="metric",
40
functionName=name,
41
timestamp=time.time(),
42
- props=attributes,
42
+ props={},
43
source={
44
"environment": _environment, # type: ignore
45
"language": "python",
python/providers/anthropic/pyproject.toml
+1
-1
@@ -1,6 +1,6 @@
1
[project]
2
name = "composio-anthropic"
3
-version = "0.11.1"
3
+version = "0.11.2"
4
description = "Use Composio to get an array of tools with your Anthropic LLMs."
5
readme = "README.md"
6
requires-python = ">=3.10,<4"
python/providers/anthropic/setup.py
+1
-1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9
setup(
10
name="composio_anthropic",
11
- version="0.11.1",
11
+ version="0.11.2",
12
author="Composio",
13
author_email="tech@composio.dev",
14
description="Use Composio to get an array of tools with your Anthropic LLMs.",
python/providers/autogen/pyproject.toml
+1
-1
@@ -1,6 +1,6 @@
1
[project]
2
name = "composio-autogen"
3
-version = "0.11.1"
3
+version = "0.11.2"
4
description = "Use Composio to get an array of tools with your autogen agent."
5
readme = "README.md"
6
requires-python = ">=3.9,<4"
python/providers/autogen/setup.py
+1
-1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9
setup(
10
name="composio_autogen",
11
- version="0.11.1",
11
+ version="0.11.2",
12
author="Composio",
13
author_email="tech@composio.dev",
14
description="Use Composio to get an array of tools with your Autogen agent.",
python/providers/claude_agent_sdk/pyproject.toml
+1
-1
@@ -1,6 +1,6 @@
1
[project]
2
name = "composio-claude-agent-sdk"
3
-version = "0.11.1"
3
+version = "0.11.2"
4
description = "Use Composio to get an array of tools with Claude Code Agents SDK."
5
readme = "README.md"
6
requires-python = ">=3.10,<4"
python/providers/claude_agent_sdk/setup.py
+1
-1
@@ -8,7 +8,7 @@ from setuptools import find_packages, setup
8
9
setup(
10
name="composio_claude_agent_sdk",
11
- version="0.11.1",
11
+ version="0.11.2",
12
author="Composio",
13
author_email="tech@composio.dev",
14
description="Use Composio to get array of tools for Claude Agent SDK",
python/providers/crewai/pyproject.toml
+1
-1
@@ -1,6 +1,6 @@
1
[project]
2
name = "composio-crewai"
3
-version = "0.11.1"
3
+version = "0.11.2"
4
description = "Use Composio to get an array of tools with your CrewAI agent."
5
readme = "README.md"
6
requires-python = ">=3.9,<4"
python/providers/crewai/setup.py
+1
-1
@@ -6,7 +6,7 @@ from setuptools import setup
6
7
setup(
8
name="composio_crewai",
9
- version="0.11.1",
9
+ version="0.11.2",
10
author="Composio",
11
author_email="tech@composio.dev",
12
description="Use Composio to get an array of tools with your CrewAI agent.",
python/providers/gemini/pyproject.toml
+1
-1
@@ -1,6 +1,6 @@
1
[project]
2
name = "composio-gemini"
3
-version = "0.11.1"
3
+version = "0.11.2"
4
description = "Use Composio to get an array of tools with your Gemini agent."
5
readme = "README.md"
6
requires-python = ">=3.9,<4"
python/providers/gemini/setup.py
+1
-1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9
setup(
10
name="composio_gemini",
11
- version="0.11.1",
11
+ version="0.11.2",
12
author="Composio",
13
author_email="tech@composio.dev",
14
description="Use Composio to get an array of tools with your Gemini agent.",
python/providers/google/pyproject.toml
+1
-1
@@ -1,6 +1,6 @@
1
[project]
2
name = "composio-google"
3
-version = "0.11.1"
3
+version = "0.11.2"
4
description = "Use Composio to get an array of tools with your Google AI Python Gemini model."
5
readme = "README.md"
6
requires-python = ">=3.9,<4"
python/providers/google/setup.py
+1
-1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9
setup(
10
name="composio_google",
11
- version="0.11.1",
11
+ version="0.11.2",
12
author="Composio",
13
author_email="tech@composio.dev",
14
description="Use Composio to get an array of tools with your Google AI Python Gemini model.",
python/providers/google_adk/pyproject.toml
+1
-1
@@ -1,6 +1,6 @@
1
[project]
2
name = "composio-google-adk"
3
-version = "0.11.1"
3
+version = "0.11.2"
4
description = "Use Composio to get an array of tools with your Google AI Python Gemini model."
5
readme = "README.md"
6
requires-python = ">=3.9,<4"
python/providers/google_adk/setup.py
+1
-1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9
setup(
10
name="composio_google_adk",
11
- version="0.11.1",
11
+ version="0.11.2",
12
author="Composio",
13
author_email="tech@composio.dev",
14
description="Use Composio to get an array of tools with your Google AI Python Gemini model.",
python/providers/langchain/pyproject.toml
+1
-1
@@ -1,6 +1,6 @@
1
[project]
2
name = "composio-langchain"
3
-version = "0.11.1"
3
+version = "0.11.2"
4
description = "Use Composio to get an array of tools with your Langchain agent."
5
readme = "README.md"
6
requires-python = ">=3.9,<4"
python/providers/langchain/setup.py
+1
-1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9
setup(
10
name="composio_langchain",
11
- version="0.11.1",
11
+ version="0.11.2",
12
author="composio",
13
author_email="tech@composio.dev",
14
description="Use Composio to get an array of tools with your Langchain agent.",
python/providers/langgraph/pyproject.toml
+1
-1
@@ -1,6 +1,6 @@
1
[project]
2
name = "composio-langgraph"
3
-version = "0.11.1"
3
+version = "0.11.2"
4
description = "Use Composio to get array of tools with LangGraph Agent Workflows."
5
readme = "README.md"
6
requires-python = ">=3.9,<4"
python/providers/langgraph/setup.py
+1
-1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9
setup(
10
name="composio_langgraph",
11
- version="0.11.1",
11
+ version="0.11.2",
12
author="composio",
13
author_email="tech@composio.dev",
14
description="Use Composio to get array of tools with LangGraph Agent Workflows",
python/providers/llamaindex/pyproject.toml
+1
-1
@@ -1,6 +1,6 @@
1
[project]
2
name = "composio-llamaindex"
3
-version = "0.11.1"
3
+version = "0.11.2"
4
description = "Use Composio to get array of tools with LlamaIndex Agent Workflows."
5
readme = "README.md"
6
requires-python = ">=3.9,<4"
python/providers/llamaindex/setup.py
+1
-1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9
setup(
10
name="composio_llamaindex",
11
- version="0.11.1",
11
+ version="0.11.2",
12
author="composio",
13
author_email="tech@composio.dev",
14
description="Use Composio to get array of tools with LlamaIndex Agent Workflows",
python/providers/openai/pyproject.toml
+1
-1
@@ -1,6 +1,6 @@
1
[project]
2
name = "composio-openai"
3
-version = "0.11.1"
3
+version = "0.11.2"
4
description = "Use Composio to get an array of tools with your OpenAI Function Call."
5
readme = "README.md"
6
requires-python = ">=3.9,<4"
python/providers/openai/setup.py
+1
-1
@@ -8,7 +8,7 @@ from setuptools import setup
8
9
setup(
10
name="composio_openai",
11
- version="0.11.1",
11
+ version="0.11.2",
12
author="Composio",
13
author_email="tech@composio.dev",
14
description="Use Composio to get an array of tools with your OpenAI Function Call.",
python/providers/openai_agents/pyproject.toml
+1
-1
@@ -1,6 +1,6 @@
1
[project]
2
name = "composio-openai-agents"
3
-version = "0.11.1"
3
+version = "0.11.2"
4
description = "Use Composio to get array of strongly typed tools for OpenAI Agents"
5
readme = "README.md"
6
requires-python = ">=3.9,<4"
python/providers/openai_agents/setup.py
+1
-1
@@ -8,7 +8,7 @@ from setuptools import find_packages, setup
8
9
setup(
10
name="composio_openai_agents",
11
- version="0.11.1",
11
+ version="0.11.2",
12
author="Composio",
13
author_email="tech@composio.dev",
14
description="Use Composio to get array of strongly typed tools for OpenAI Agents",
python/pyproject.toml
+1
-1
@@ -1,6 +1,6 @@
1
[project]
2
name = "composio"
3
-version = "0.11.1"
3
+version = "0.11.2"
4
description = "SDK for integrating Composio with your applications."
5
readme = "README.md"
6
requires-python = ">=3.10,<4"
ts/packages/core/src/telemetry/Telemetry.ts
+2
-5
@@ -125,7 +125,7 @@ export class TelemetryTransport {
125
props: {
126
fileName: instrumentedClassName,
127
method: name,
128
- params: args,
128
+ params: {},
129
},
130
metadata: {
131
provider: this.telemetryMetadata?.provider ?? 'openai',
@@ -149,7 +149,6 @@ export class TelemetryTransport {
149
error,
150
instrumentedClassName,
151
name,
152
- args,
152
startTime,
153
durationMs
154
);
@@ -185,7 +184,6 @@ export class TelemetryTransport {
184
* @param {unknown} error - The error to send.
185
* @param {string} instrumentedClassName - The class name of the instrumented class.
186
* @param {string} name - The name of the method that threw the error.
188
- * @param {unknown[]} args - The arguments passed to the method.
187
* @param {number} startTime - The start time of the method invocation in milliseconds.
188
* @param {number} durationMs - The duration of the method invocation in milliseconds.
189
*/
@@ -193,7 +191,6 @@ export class TelemetryTransport {
191
error: unknown,
192
instrumentedClassName: string,
193
name: string,
196
- args: unknown[],
194
startTime: number,
195
durationMs: number
196
) {
@@ -204,7 +201,7 @@ export class TelemetryTransport {
201
props: {
202
fileName: instrumentedClassName,
203
method: name,
207
- params: args,
204
+ params: {},
205
},
206
metadata: {
207
provider: this.telemetryMetadata?.provider ?? 'openai',