Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Ingest API v2 #179

Merged
merged 2 commits into from
Aug 13, 2024
Merged

Update to Ingest API v2 #179

merged 2 commits into from
Aug 13, 2024

Conversation

winsmith
Copy link
Contributor

@winsmith winsmith commented Aug 13, 2024

TelemetryDeck's flagship SDK is still sending signals to the oldest version of the ingest API, which is an oversight that I'd like to correct quickly with the next release.

This PR removes the code that converts a dictionary into colon-separated-strings because the v2 API actually accepts a dictionary for the payload parameter. It also sends data to the /v2/ API endpoint that has been the canonical ingest API for literally a year.

@winsmith winsmith marked this pull request as ready for review August 13, 2024 10:03
@winsmith winsmith requested a review from Jeehut August 13, 2024 10:03
Copy link
Contributor

@Jeehut Jeehut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good to me. I have no expertise on the differences between those APIs, but you certainly do and if you made a test call and it worked, this PR doesn't seem to do anything that could breaking anything else. 👍

@winsmith
Copy link
Contributor Author

Thanks a lot :)

@winsmith winsmith merged commit 22f36ce into main Aug 13, 2024
6 checks passed
@winsmith winsmith deleted the feature/api-v2 branch August 13, 2024 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants