Skip to content

Update+ improvements Usagesummary.ps1#591

Merged
bganapa merged 2 commits into
Azure:masterfrom
CarlosGon:patch-1
Dec 10, 2021
Merged

Update+ improvements Usagesummary.ps1#591
bganapa merged 2 commits into
Azure:masterfrom
CarlosGon:patch-1

Conversation

@CarlosGon

Copy link
Copy Markdown
Contributor

Added 3 missing metrics.
Changed the logic for retrieving usage:
. Created an array with the list of all subscriptions
. Changed the get-azsSubscriberUsage to include the subscriberID.
This way we will have better performance, avoiding gateway timeout errors while executing the sql query.

Added 3 missing metrics.
Changed the logic for retrieving usage:
. Created an array with the list of all subscriptions
. Changed the get-azsSubscriberUsage to include the subscriberID. 
This way we will have better performance, avoiding gateway timeout errors while executing the sql query.
@CarlosGon CarlosGon closed this Mar 3, 2021
@CarlosGon

Copy link
Copy Markdown
Contributor Author

any feedback on this?

@CarlosGon CarlosGon reopened this Mar 5, 2021
@CarlosGon

Copy link
Copy Markdown
Contributor Author

#sign-off

@CarlosGon

Copy link
Copy Markdown
Contributor Author

any update on this PR?

@cblackuk cblackuk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good changes, but need a few tiny fixes - IMHO :-)

Comment thread Usage/Usagesummary.ps1 Outdated
Comment thread Usage/Usagesummary.ps1
Comment thread Usage/Usagesummary.ps1
@bganapa
bganapa requested a review from pappleby64 June 9, 2021 16:41

@pappleby64 pappleby64 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Look like good changes - agree with other comments

@bganapa

bganapa commented Dec 7, 2021

Copy link
Copy Markdown
Member

@CarlosGon could you pls address the comments? Can you pls make the PR to the az branch as well?

format VScode
@CarlosGon

Copy link
Copy Markdown
Contributor Author

@bganapa
Comments resolved. Code formatted with VScode

CarlosGon added a commit to CarlosGon/AzureStack-Tools that referenced this pull request Dec 10, 2021
@bganapa
bganapa merged commit 9a2b45f into Azure:master Dec 10, 2021
bganapa pushed a commit that referenced this pull request Dec 10, 2021
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.

4 participants