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

[LiveMetricsExporter] Add Filtering Support part 7 - Sync Model change for Duration #43080

Merged
merged 3 commits into from
Apr 5, 2024

Conversation

xiang17
Copy link
Member

@xiang17 xiang17 commented Mar 29, 2024

PR following up on #41523.

Models for all telemetry's Duration field changed from TimeSpan to string. Changing the code to parse the field to TimeSpan to facilitate comparisons actions later.

To be specific, these two DocumentIngress implementations have Duration field but is of type string:


@rajkumar-rangaraj
Copy link
Contributor

Is there an actual issue, or are you anticipating one? If there is an actual issue, can you explain that in detail in the PR description?

xiang17 added 2 commits April 1, 2024 23:25
…he fieldExpression is of type `string`. In other words, the conversion should only happen if Document.Duration field type is `string`. If there are other field type of `TimeSpan`, don't do this conversion.
@xiang17
Copy link
Member Author

xiang17 commented Apr 2, 2024

Is there an actual issue, or are you anticipating one? If there is an actual issue, can you explain that in detail in the PR description?

I've updated the PR description and added some unit tests.

@xiang17 xiang17 merged commit 9bd7759 into Azure:main Apr 5, 2024
17 checks passed
@xiang17 xiang17 deleted the xiang17/Filtering7 branch April 5, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants