Skip to content

Conversation

@jimmyca15
Copy link
Member

@jimmyca15 jimmyca15 commented Nov 7, 2023

This PR adds an example application that demonstrates the following concepts

  • Feature evaluation event publishing
  • The built-in telemetry publisher included in the Microsoft.FeatureManagement.Telemetry.ApplicationInsights package.
  • Feature variant definition/consumption.

It is based off of #284 and is expected to supersede it.

See the included readme for details on how to use the example.

image

@jimmyca15 jimmyca15 changed the base branch from main to preview November 7, 2023 19:48
@jimmyca15 jimmyca15 requested a review from zhenlan November 7, 2023 19:49
Example Output:

```
Application Insights Telemetry: {"name":"AppEvents","time":"2023-11-07T19:14:54.3549353Z","tags":{"ai.application.ver":"1.0.0.0"},"data":{"baseType":"EventData","baseData":{"ver":2,"name":"Vote","properties":{"AspNetCoreEnvironment":"Development","DeveloperMode":"true"},"measurements":{"ImageRating":3}}}}
Copy link
Member

Choose a reason for hiding this comment

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

Where can I find these outputs? I did not find the Output tab for "Application Insights Telemetry"

Copy link
Member

Choose a reason for hiding this comment

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

I can only find them in the Debug model.

Copy link
Member Author

Choose a reason for hiding this comment

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

In the output tab of visual studio.

Comment on lines +75 to +77
1. Try going to Logs > New Query and run the query "customEvents". This should show the custom events emitted.
1. Try going to Metrics. Under Metric find Custom > checkoutAmount. Change the time range to a small period of time that encompasses your events for a clearer graph.
1. From the Metrics window, out-of-the-box metrics like Page Views and Server Requests can be viewed. No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
1. Try going to Logs > New Query and run the query "customEvents". This should show the custom events emitted.
1. Try going to Metrics. Under Metric find Custom > checkoutAmount. Change the time range to a small period of time that encompasses your events for a clearer graph.
1. From the Metrics window, out-of-the-box metrics like Page Views and Server Requests can be viewed.
- Try going to Logs > New Query and run the query "customEvents". This should show the custom events emitted.
- Try going to Metrics. Under Metric find Custom > checkoutAmount. Change the time range to a small period of time that encompasses your events for a clearer graph.
- From the Metrics window, out-of-the-box metrics like Page Views and Server Requests can be viewed.

Copy link
Member Author

Choose a reason for hiding this comment

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

Should be numbers since it's a sequential list of steps.

@jimmyca15
Copy link
Member Author

@zhiyuanliang-ms any further concerns on this PR?

@jimmyca15 jimmyca15 merged commit 3ef5f34 into microsoft:preview Nov 15, 2023
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