Skip to content

Conversation

@psfinaki
Copy link
Contributor

This is the first shot on the F#-specific telemetry in the VS.

One of the things we are interested in is the usage of our preview/experimental features: #14872
So here we achieve that by sending respective events. Here is how things look like in the VS monitor:
image

This is inspired by Razor's TelemetryReporter.

As of now, there is no proper thought behind the structure of events or any event design for that matter - we are just getting our hands dirty here.

@psfinaki psfinaki requested review from 0101 and ryzngard March 13, 2023 20:15
@psfinaki
Copy link
Contributor Author

@0101 please check if I push the telemetry for your features in the right places and think if we want to enrich events with some extra info.

@ryzngard please see if this makes any sense :)

Copy link
Contributor

@ryzngard ryzngard left a comment

Choose a reason for hiding this comment

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

I'm not great at reading f#, but this looks like what I would expect

@psfinaki psfinaki marked this pull request as ready for review March 14, 2023 09:49
@psfinaki psfinaki requested a review from a team as a code owner March 14, 2023 09:49
@psfinaki psfinaki enabled auto-merge (squash) March 14, 2023 11:21
@psfinaki psfinaki merged commit efe9476 into dotnet:main Mar 14, 2023
@psfinaki psfinaki deleted the telemetry branch March 14, 2023 12:14
vzarytovskii pushed a commit that referenced this pull request Mar 14, 2023
* Cache parsing results in incremental build (#14852)

* First take on the F# telemetry (#14889)

* Array.Parallel - search functions (tryFindIndex,tryFind,tryPick) (#14827)

* Searching functions for Array.Parallel added

* with [<Experimental("Experimental library feature, requires '--langversion:preview'")>] annotation to give us space to change/remove this API in the future if needed

* Add `GraphNode.FromResult` (#14894)

* Add GraphNode.FromResult

* fantomas

* Fix missing reference (#14892)

* Fix missing reference

* undo whitespace change

---------

Co-authored-by: Jakub Majocha <1760221+majocha@users.noreply.github.com>
Co-authored-by: Petr <psfinaki@users.noreply.github.com>
Co-authored-by: Tomas Grosup <tomasgrosup@microsoft.com>
Co-authored-by: Petr Pokorny <petrpokorny@microsoft.com>
Co-authored-by: Kevin Ransom (msft) <codecutter@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants