Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Monitor][Ingestion] Add check for logs input type
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>
- Loading branch information
Showing
6 changed files
with
30 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters