Skip to content

fix: "formatterExample" in telemetry is regarded as measure - #664

Merged
Yan Zhang (Eskibear) merged 2 commits into
mainfrom
cshi-telemetry-example
May 31, 2021
Merged

fix: "formatterExample" in telemetry is regarded as measure#664
Yan Zhang (Eskibear) merged 2 commits into
mainfrom
cshi-telemetry-example

Conversation

@CsCherrYY

Copy link
Copy Markdown
Contributor

Currently the value of formatterExample is number, so it was regarded as measure. Here to fix it, and send info only when example changes.

}
}

export function getExampleTitle(example: ExampleKind): string {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do we have string-based enum in TS?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, we can use it. I'll have a try.

@Eskibear
Yan Zhang (Eskibear) merged commit e61dd48 into main May 31, 2021
@Eskibear
Yan Zhang (Eskibear) deleted the cshi-telemetry-example branch May 31, 2021 07:18
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.

2 participants