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

[Monitor][Ingestion] Add check for logs input type #32591

Merged
merged 1 commit into from Oct 20, 2023

Conversation

pvaneck
Copy link
Member

@pvaneck pvaneck commented Oct 20, 2023

In some cases, a user may pass a dictionary to the upload method where a list is expected. Since, a dictionary is still iterable, the keys of the dictionary will be looped through, gzipped, and sent to the service. The user will still get a 204 response, but the data won't show in the workspace because the data was mangled in the gzipping process.

This adds a check to the upload method that will let users know if their input isn't the correct type.

Closes: #32562

In some cases, a user may pass a dictionary to the upload method where a
list is expected. Since, a dictionary is still iterable, the keys of the
dictionary will be looped through, gzipped, and sent to the service. The
user will still get a 204 response, but the data won't show in the
workspace because the data was mangled in the gzipping process.

This adds a check to the upload method that will let users know if their
input isn't the correct type.

Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@pvaneck pvaneck merged commit 9cf1018 into Azure:main Oct 20, 2023
18 checks passed
@pvaneck pvaneck deleted the ingestion-tsg-update branch October 20, 2023 21: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.

Additional troubleshooting suggestion for the Azure Monitor Ingestion client library
3 participants