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

Option on metrics histograms to show count #1265

Merged
merged 2 commits into from
Dec 8, 2023
Merged

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented Dec 7, 2023

Fixes #965

Adds a switch to histogram charts to display the count of the instrument, e.g. the number of HTTP requests.

Demo:
metrics-show-count

Comment on lines 130 to 131
<value>Show Spec Only</value>
<note>Spec means from the resource specification</note>
Copy link
Member Author

Choose a reason for hiding this comment

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

I edited ControlsStrings in the VS resource editor and it removed all the values with note.

@adamint Do you know what happened and how I can fix it?

Copy link
Member

@drewnoakes drewnoakes Dec 7, 2023

Choose a reason for hiding this comment

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

Looks like a bug in the Managed Resource Editor. Paging @melytc and @haileymck to investigate. cc @kvenkatrajan

Copy link
Member Author

Choose a reason for hiding this comment

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

What should I do to fix this? I could revert all resx changes, hardcode the text, and create an issue to update in the future.

I have preview and int-preview on my dev machine. Does the bug impact both?

Copy link
Member Author

Choose a reason for hiding this comment

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

Also happens in int preview

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

@drewnoakes drewnoakes left a comment

Choose a reason for hiding this comment

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

Looks good, other than the regression in the resx. Approving on the basis that it would be reverted before merge.

@JamesNK JamesNK merged commit 8b45931 into main Dec 8, 2023
8 checks passed
@JamesNK JamesNK deleted the jamesnk/metrics-count branch December 8, 2023 02:36
@github-actions github-actions bot locked and limited conversation to collaborators Apr 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Metrics: Option to display histogram values as counts
2 participants