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

[Azure.Monitor.Ingestion] Update DPG Upload Parameter #32762

Closed
wants to merge 5 commits into from

Conversation

nisha-bhatia
Copy link
Member

Contributing to the Azure SDK

Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.

For specific information about pull request etiquette and best practices, see this section.

@nisha-bhatia nisha-bhatia self-assigned this Nov 29, 2022
@nisha-bhatia nisha-bhatia added Client This issue points to a problem in the data-plane of the library. Monitor - Ingestion labels Nov 29, 2022
@nisha-bhatia
Copy link
Member Author

#32716

@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

Azure.Monitor.Ingestion

@@ -192,5 +192,34 @@ public async Task ValidInputFromObjectAsJsonNoBatchingAsync()
Assert.AreEqual(204, response.Status);
Assert.IsFalse(response.IsError);
}

[Test]
public async Task ValidInputGzippedNoBatchingAsync()
Copy link
Member

Choose a reason for hiding this comment

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

Can we also add a test where the protocol method is called without a Gzipped payload, and the content-encoding is left blank?

/// <param name="ruleId"> The immutable Id of the Data Collection Rule resource. </param>
/// <param name="streamName"> The streamDeclaration name as defined in the Data Collection Rule. </param>
/// <param name="content"> The content to send as the body of the request. Details of the request body schema are in the Remarks section below. </param>
/// <param name="contentEncoding"> The ContentEncoding of the content. If content is gzipped, put &quot;gzip&quot;. Default value is null. </param>
Copy link
Member

Choose a reason for hiding this comment

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

Can we explicitly mention that the library will not apply any compression to the passed in data for this method?

We should mention in the convenience method docs that the data will be gzipped.

@pallavit
Copy link
Contributor

@nisha-bhatia this PR has been open for a while, are we planning to merge this?

@nisha-bhatia
Copy link
Member Author

This PR can be closed.

@scottaddie scottaddie added Monitor Monitor, Monitor Ingestion, Monitor Query and removed Monitor - Ingestion labels Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Monitor Monitor, Monitor Ingestion, Monitor Query
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants