Skip to content

Conversation

@rossgrambo
Copy link
Member

Adds an evaluation event, publisher interface, and an implementation of the publisher for app insights.

This is the first of multiple PRs to support Telemetry. The goal of this PR is to empower developers to emit telemetry.

Excluded the example app from this PR to make reviews easier.
Also excluded is a way for developers to include or exclude fields. Currently the schema is declared inline.

@rossgrambo
Copy link
Member Author

Created another PR that handles updating the build targets to Net6 and Net7 #271

@rossgrambo
Copy link
Member Author

Merged main into preview and persisted that here. Meaning we now test against/target net48 & net6.0 & net7.0

@Gryhyphen
Copy link

Ooooooooooooo AM EXCITE!!!!


telemetryEnabled = configurationSection.GetValue<bool>("TelemetryEnabled");

IConfigurationSection telemetryMetadataSection = configurationSection.GetSection("TelemetryMetadata");
Copy link
Member

@zhiyuanliang-ms zhiyuanliang-ms Oct 16, 2023

Choose a reason for hiding this comment

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

Should "TelemetryMetadata" be moved into ConfigurationFields.cs as a const string?

}
}

telemetryEnabled = configurationSection.GetValue<bool>("TelemetryEnabled");
Copy link
Member

Choose a reason for hiding this comment

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

Should "TelemetryEnabled" be moved into ConfigurationFields.cs as a const string?

await sessionManager.SetAsync(feature, isFeatureEnabled).ConfigureAwait(false);
}

if (featureDefinition.TelemetryEnabled)
Copy link
Member

Choose a reason for hiding this comment

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

if (featureDefinition != null && featureDefinition.TelemetryEnabled)

@rossgrambo rossgrambo deleted the rossgrambo/telemetry branch January 16, 2024 20:02
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.

9 participants