Skip to content

Commit 43de6c2

Browse files
authored
fix(telemetry): update compatible field in telemetry payload (backport #3470) (#3502)
This is an automatic backport of pull request #3470 done by [Mergify](https://mergify.com). --- <details> <summary>Mergify commands and options</summary> <br /> More conditions and actions can be found in the [documentation](https://docs.mergify.com/). You can also trigger Mergify actions by commenting on this pull request: - `@Mergifyio refresh` will re-evaluate the rules - `@Mergifyio rebase` will rebase this PR on its base branch - `@Mergifyio update` will merge the base branch into this PR - `@Mergifyio backport <destination>` will backport this PR on `<destination>` branch Additionally, on Mergify [dashboard](https://dashboard.mergify.com/) you can: - look at your merge queues - generate the Mergify configuration with the config editor. Finally, you can contact us on https://mergify.com </details>
1 parent 925e2dd commit 43de6c2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ddtrace/internal/telemetry/writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def add_integration(self, integration_name, auto_enabled):
153153
"version": "",
154154
"enabled": True,
155155
"auto_enabled": auto_enabled,
156-
"compatible": "",
156+
"compatible": True,
157157
"error": "",
158158
}
159159
self._integrations_queue.append(integration)

tests/tracer/telemetry/test_writer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,15 @@ def test_add_integration(mock_time, mock_send_request, telemetry_writer):
133133
"version": "",
134134
"enabled": True,
135135
"auto_enabled": True,
136-
"compatible": "",
136+
"compatible": True,
137137
"error": "",
138138
},
139139
{
140140
"name": "integration-f",
141141
"version": "",
142142
"enabled": True,
143143
"auto_enabled": False,
144-
"compatible": "",
144+
"compatible": True,
145145
"error": "",
146146
},
147147
]

0 commit comments

Comments
 (0)