-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
BUG fix: Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before #6485
Merged
Merged
BUG fix: Fixing type of MetricValue.Count to be double instead of the incorrect int64 it had before #6485
Changes from 29 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
00a5689
[Monitor] Make all attributes of EventData class readonly (#2254)
gucalder b0ca590
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder 8c3746f
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder 799c13f
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder 067e5a9
[Monitor] Fixing issue with metricnamespace specification as client l…
gucalder 5c64ca3
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder a227d3f
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder 189d112
[Monitor] Fixing incorrect specification of top parameter for Metrics…
gucalder e0ff7d6
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder 5adef1e
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder 4c653be
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder 3b52ba4
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder 4afd2b6
Add two missing "by subscription" operations.
gucalder 840fcf1
Remove "examples" nodes as requested since they are not used anymore.…
gucalder 8e22a06
Add the serviceBusRuleId back into the DiagnosticSetting resource spec.
gucalder cc4855d
Fix some issues with the examples
gucalder 3c3f34d
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder 03bdcd7
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder 9068f5e
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder 10e9834
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder 1ca7f22
[Monitor] Fix issue #3585: revert previous commit since it is a break…
gucalder 0ab44af
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder 67216df
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder e55d50c
Add unit "BitsPerSecond" to the metrics specs.
gucalder e14f5f8
Fixing workspace Id documentation
gucalder d177b96
Add the Log Analytics destination type flag to the Diagnostic Setting…
gucalder 6a8e159
Fix a typo in a description
gucalder 4668346
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder 0602217
Fixing type of MetricValue.Count to be double instead of the incorrec…
gucalder 2af54a5
Fixing issue #2467 In List Activity Logs $filter is not optional and …
gucalder 5251be8
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
gucalder File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like "count" should be a whole number. Can you get a count of 1.5?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeap, we discuss whether to change it in the backend (and leave this spec as it was) or change it in the spec. The reason for it to be a double (NOTE: we do not generate the metric, we just pass it on) is uncertain, but it might have something to do with the fact that this could actually be the average of several counts.
We thought that it after that, we decided to change the spec to reflect the current response of the backend to minimize customer impact.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, you might consider changing the name in the future then, since a count shouldn't be able to be a double AFAIK